Hi @Eliav2
I have two shapes and with Ids and I want to draw an arrow between two shapes when i sue the library I am unable to connect Two shapes.
sample code
function ToolBox() {
const Nodes=[
{
id:"START", x:window.innerWidth/2, y:window.innerHeight/5
},
{
id:"END", x:window.innerWidth/2, y:window.innerHeight/2},
{
id:"Rect", x:15,y:120
},
]
const Connectors={
id:1, source:"START", target:"END"
}
return (
Hi @Eliav2
I have two shapes and with Ids and I want to draw an arrow between two shapes when i sue the library I am unable to connect Two shapes. sample code function ToolBox() { const Nodes=[ { id:"START", x:window.innerWidth/2, y:window.innerHeight/5 }, { id:"END", x:window.innerWidth/2, y:window.innerHeight/2}, { id:"Rect", x:15,y:120 }, ] const Connectors={ id:1, source:"START", target:"END" } return (
} export default ToolBox;