-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Format JSON For Cytoscape.js #66
Comments
PS: cytoscape.js has a pretty good force-directed algorithm for laying out nodes. It won't be the same as the hierarchical layout you currently provide from Graphviz but I think it'll be a good additional to depgraph. |
Hi, Now to your questions:
I haven't made up my mind which option is the best but currently I tend to option one or three. Option one is the most user-friendly in case a supported format is used. Option three is the most flexible and would address the myriads of Javascript graph libraries with their specific formats or even other formats. |
Curious about this - I'm looking for any JSON output format that contains a tree/nested structure, dependencies of dependencies. Any movement on this front? I should add that my interest revolves around a desire to generate new queries to other sources during the processing through the tree, rather than visualizing one-time. |
@kitplummer There hasn't been any progress on this issue since I am a bit short of spare time at the moment. |
I had the same question as @kitplummer - I'm looking for JSON output that gives a nested structure similar to npm's |
Hi there,
The new support for a JSON format has a lot of potential but I haven't found any rendering libraries that support the format out of the box (are you aware of any?). A popular JavaScript network rendering library is Cytoscape.js which has a very very similar JSON structure:
For reference, the depgraph JSON is structured like so:
I'd like to put in a PR to support generating cytoscape.js ready JSON, some questions before I get started:
The text was updated successfully, but these errors were encountered: