Files
architype/render.js
2019-07-03 18:27:32 +00:00

9 lines
191 B
JavaScript

function render(def) {
let graph = new Graph(def);
let layout = new Layout(graph);
return layout.getDrawSteps();
}
<!--# include file="Graph.js" -->
<!--# include file="Layout.js" -->