Refactor checkin: drawing (but not iterating?)

This commit is contained in:
Ian Gulliver
2019-07-03 18:27:32 +00:00
parent b91b92eef3
commit dcc8981693
5 changed files with 73 additions and 74 deletions

View File

@@ -1,6 +1,7 @@
function onmessage(def) {
function render(def) {
let graph = new Graph(def);
let layout = new Layout(graph);
return layout.getDrawSteps();
}
<!--# include file="Graph.js" -->