3 ms·
Is it possible to integrate this with a library like networkx? D2 has great layouts and seems very simple to create ad-hoc graphs, but it would also be nice to
by hammeiam 4y ago
Is it possible to integrate this with a library like networkx? D2 has great layouts and seems very simple to create ad-hoc graphs, but it would also be nice to support graph data structures that you can slice up how you want, like this https://github.com/hammeiam/saddle-data-graph/blob/master/Saddle%20Data%20Graph.ipynb https://github.com/hammeiam/saddle-data-graph/blob/master/Sa...
- alixanderwang 4y agoD2 has an AST API, so you should be able to transpile from other graph libraries easily. see the second half of https://github.com/terrastruct/d2#d2-as-a-library https://github.com/terrastruct/d2#d2-as-a-library