@Tany wrote:
Hi,
My application connects links via ports, namely, link.data has { to, from, toPort,fromPort }.
The toPort and fromPort are port keys in the to/from nodes respectively.I was asked to connect the link directly to the node but still maintain the port list in each node.
So,
- for each link i deleted the toPort/fromPort attributes, (setDataPorporety to null).
- Deleted the fromLinkable, toLinkable in the node template
- Set the diagram.model. linkFromPortIdProretpy and linkToPortIdProretpy to “” ;
What else needs to be done ?
Posts: 10
Participants: 3