Closed Aravinda93 closed 3 months ago
Your code is too large. Make a small demo and ask a specific question.
What should we do with the demo? What exactly is not working?
@lavrton Thanks a lot for your response. I have edited my question and added an image to provide you with a better idea of what I am trying to do. If you get a chance can you please suggest me something?
Any luck ?
@roydekleijn I used Drawflow
library and that worked perfectly for my requirement.
https://github.com/jerosoler/Drawflow
I am using
Konvajs/Vue-Konva
within myVuejs/Nuxt
application. UsingKonva
I am creating theRect
shape dynamically at run time. Now I would like to use some sort ofConnectors
to connect the differentRect Shapes
so that I can have the logic of which issource Rect
and which isTarget Rect
so as to build theParent-Child
relationship.I am creating the
connectors
using the same approach asshapes
but for some reason, it is not working as expected.I have added my code sample here in CodeSandBox.
I am looking to build something like this, where I can draw the
Nodes/Shapes
and connect them using some sort ofConnectors
with Labels. Can someone please let me know how can I add theConnectors
and build the logic to understandRect/Shape
that has been created usingVue-Konva