I am having list of nodes to be drawn.Here Node means RectangleFigure
. So, all these nodes are plotted first on canvas(FigureCanvas
)
Then I have a map maintained having dependency relations between nodes drawn earlier.
In the map, keys are the nodes and values are nothing but a list of nodes maintained.
e.g. There are 3 nodes, [ClassA, ClassB, InterfaceC]
I have them drawn on a canvas.
And my map is like below:
[ClassA=[ClassB], ClassB=[InterfaceC]]
So, it means ClassA extends ClassB
and ClassB implements InterfaceC
.
Now, I want to draw PolylineConnection
in between the nodes drawn already ,using the map maintained.
So, how can I proceed for this?
Any pointers are really appreciated, Thanks in advance!