feat(docs): Add additional demo

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 2915c802e7
commit e27ab86249
4 changed files with 122 additions and 3 deletions
@@ -8,6 +8,9 @@ const childClasses = nodeClasses + " !bg-green-500/70 !border-white";
const { onPaneReady } = useVueFlow({
fitViewOnInit: true,
connectionMode: ConnectionMode.Loose,
zoomOnScroll: false,
preventScrolling: false,
translateExtent: [[-500, -100], [600, 500]],
nodes: [
{ id: "1", type: "input", label: "Outer Node", position: { x: 0, y: 0 }, class: childClasses },
{