Open rom1504 opened 7 years ago
I think you need ngraph.forcelayout to get the layout. After a few iterations you just go over each node in the graph and get their positions from layout (similar to this demo). Once you have positions, it should be trivial to render SVG document for each node.
Is there some module that make it possible to render graphs (as svg image for example) server side (from node) ?