diff --git a/editor.js b/editor.js index f122803..ab6ad51 100644 --- a/editor.js +++ b/editor.js @@ -240,6 +240,7 @@ const Graph = ForceGraph() context.fillText(label, 0, 0); context.restore(); }) + .linkLineDash(edge => edge.actionData.mode == 'automatic' && [2, 3]) .onNodeDragEnd(node => { node.fx = node.x; node.fy = node.y;