How to Add a property value from a node to the linkData?

Hi,

I have a property in a node as “Category” with different values. When a link is formed from that block, i want the category information to be there in the linkData as well. How to Add this key’s value from that node to the linkData? Guess, I need to override the insertLink Method? Can you please guide?

Thanks,

If you are talking about when users draw a new Link, it would be easiest to implement a “LinkDrawn” DiagramEvent listener.