I have similar case like ‘selectable ports’,(Selectable Ports) and I tired to add contextMenu for each Port, but right-click does not activate those contextMenu.
Is it possible to create contextMenu for this kind of ports? how to do it?
thanks
I have similar case like ‘selectable ports’,(Selectable Ports) and I tired to add contextMenu for each Port, but right-click does not activate those contextMenu.
Is it possible to create contextMenu for this kind of ports? how to do it?
thanks
Yes, it’s just a matter of setting or binding GraphObject | GoJS API.
Dynamic Ports demonstrates this.
Thanks Walter. it works now!