nengo / nengo-gui

Nengo interactive visualizer
Other
97 stars 38 forks source link

Use Graphviz for client-side auto layout #928

Open astoeckel opened 6 years ago

astoeckel commented 6 years ago

This issue is to document my crazy idea to use graphviz for improved auto-layout in nengo GUI. This would have some advantages:

So my proposal would be the following:

Graphviz is licensed under a permissive licesne (Eclipse Public License), so this shouldn't be an issue.

See [1] for a WASM/asmJS version of graphviz and [2] for a demo. Some functionality can surely be thrown away to reduce the binary size (at the moment 700kB asmJS, WASM is probably 2-3 times smaller) [1] https://github.com/mdaines/viz.js [2] http://viz-js.com/

jgosmann commented 6 years ago

Somewhat related (in so far as it was also an attempt to use GraphViz, but not inside the GUI): nengo/nengo#524