rrfeng
V2EX  ›  问与答

有没有依赖关系图生成工具?

  •  
  •   rrfeng · Jun 8, 2017 · 4749 views
    This topic created in 3275 days ago, the information mentioned may be changed or developed.
    比如我用某种方式描述:
    A -> B
    B -> C
    A -> C
    D -> B

    然后生成一个网状的关系图?最好是页面可以高亮某个组件的?(就像一些网站搞的 QQ 好友 /群关系图一样……
    9 replies    2017-06-09 04:49:52 +08:00
    shoumu
        1
    shoumu  
       Jun 8, 2017
    echarts 关系图?
    tekeporter
        2
    tekeporter  
       Jun 8, 2017
    graphviz
    imn1
        4
    imn1  
       Jun 8, 2017
    呃,随手就发了这么个 URL,不知道会不会把这贴打入 chamber
    rrfeng
        5
    rrfeng  
    OP
       Jun 8, 2017
    graphviz 很不错 @fenixan2010,虽然没有动态展示。
    WindsonYan
        6
    WindsonYan  
       Jun 8, 2017
    d3,搜索 force directed 布局,然后高亮什么的看你 js 怎么玩咯~
    如果想用现成的程序,Gephi,启动有点慢,有点丑(毕竟是 netbeans 的界面改的),功能蛮强
    rrfeng
        7
    rrfeng  
    OP
       Jun 8, 2017
    @fenixan2010 @imn1

    请教一下,graphviz 有向图连接线什么情况下可以变成曲线?没找到这个属性,但是看有些示例,连接线会弯一下绕过节点。我这里都是直的……太难看了
    xiaosaiyin
        8
    xiaosaiyin  
       Jun 8, 2017
    Mathematica/ Wolfram cloud 的 LayeredGraphPlot

    LayeredGraphPlot[{A -> B ,B -> C ,A -> C ,D -> B },VertexLabeling -> True]
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2593 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 83ms · UTC 15:53 · PVG 23:53 · LAX 08:53 · JFK 11:53
    ♥ Do have faith in what you're doing.