dashed lines for automatic edges
This commit is contained in:
parent
29d2ab5f05
commit
1740c1a1e2
@ -240,6 +240,7 @@ const Graph = ForceGraph()
|
|||||||
context.fillText(label, 0, 0);
|
context.fillText(label, 0, 0);
|
||||||
context.restore();
|
context.restore();
|
||||||
})
|
})
|
||||||
|
.linkLineDash(edge => edge.actionData.mode == 'automatic' && [2, 3])
|
||||||
.onNodeDragEnd(node => {
|
.onNodeDragEnd(node => {
|
||||||
node.fx = node.x;
|
node.fx = node.x;
|
||||||
node.fy = node.y;
|
node.fy = node.y;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user