2 ms·
The layout engine is in this package: https://godoc.org/e8vm.io/e8vm/dagvis https://godoc.org/e8vm.io/e8vm/dagvis it is possible to layout any DAG (directed g
by h8liu 10y ago
The layout engine is in this package:
https://godoc.org/e8vm.io/e8vm/dagvis https://godoc.org/e8vm.io/e8vm/dagvis
it is possible to layout any DAG (directed graph with no circles).
The dependency graph of golang programs are generated by this package:
https://godoc.org/e8vm.io/tools/godep https://godoc.org/e8vm.io/tools/godep
I have not very well packaged the drawing part (sorry), but the essentials are here:
https://github.com/e8vm/shanhu/blob/master/web/js/dag.js https://github.com/e8vm/shanhu/blob/master/web/js/dag.js
it is using d3.
- jarmitage 10y agoSuper stuff, look forward to diving in deeper! Are you planning to extend this aspect of the project? What are your other plans for the project?