Skip to content

Commit 24ffba8

Browse files
author
Dmitry Marov
committed
improved custom arrows example
1 parent f61d457 commit 24ffba8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

static/use-cases/custom-arrows/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@
110110
}),
111111
)
112112
.addEdge({ from: "node-1-out", to: "node-2-in" })
113-
.focus();
113+
.patchViewportMatrix({ scale: 0.2 })
114+
.center({ x: 450, y: 200 });
114115

115116
}
116117

0 commit comments

Comments
 (0)