2019-07-03 18:27:32 +00:00
|
|
|
function render(def) {
|
2019-07-03 03:36:48 +00:00
|
|
|
let graph = new Graph(def);
|
|
|
|
|
let layout = new Layout(graph);
|
2019-07-03 18:27:32 +00:00
|
|
|
return layout.getDrawSteps();
|
2019-07-03 03:24:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
<!--# include file="Graph.js" -->
|
2019-07-03 03:36:48 +00:00
|
|
|
<!--# include file="Layout.js" -->
|