@zeineb wrote:
now i add a button on the link in the palette,what i want to do is when i click on this button it allows me to link 2 classes
i use this function to draw links:function drawLink(e, button) { var node = button.part.adornedPart; var tool = e.diagram.toolManager.linkingTool; tool.startObject = node.port; e.diagram.currentTool = tool; tool.doActivate(); }
Posts: 4
Participants: 2