diff --git a/docs/components/node.mdx b/docs/components/node.mdx index 92f65b91..017f52ae 100644 --- a/docs/components/node.mdx +++ b/docs/components/node.mdx @@ -56,7 +56,8 @@ detail.node.set.bgColor('red'); ## Props - Initial position of the node. Coordinate is relative to the top/left point of the canvas. + The position of the Node. These correspond to pixel values at the default graph scale. This prop + newly features two way data binding. Please report any issues on GitHub. + import { Svelvet, Node, Anchor } from '$lib'; + + let position = { x: 300, y: 300 }; + $: console.log(position); + + + + + +
+

{JSON.stringify(position)}

+ +
+
+
+ + +