dependencies - Javascript library to draw dependency diagram -
i able generate dependency diagram showing software component dependent on using javascript libraries.
requirements:
- automatic layout top, down
- arrows between nodes
- labels on arrows
- nodes custom images (vector or raster)
- labels under nodes, may have mixed format
nice-to-have:
- tooltips more info on nodes
- box-in-box diagram nodes (for nodes composed of other nodes)
- generates rather quickly
i have been looking several possibilities:
- dagrejs seems lack possibilities custom image nodes. edit: using html in nodes custom images worked fine.
- jsplumbtoolkit seems lack possibility auto layout
- graphdracula seems lack possibility top-down dependency layout , maybe custom images
- vizjs has sparse documentation
i think using d3.js best bet. it's bit intimidating (because it's flexible, gives several ways accomplish same task, , it's hard know drawbacks of ahead of time).
the tree layout might pretty close start (a demo of how use here).
Comments
Post a Comment