Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Change shape of port dynamically

$
0
0

@xyan3 wrote:

Hi GoJS team,

We are facing a issue related to change shape of port dynamically. Below are two different port shapes we would like change based on different condition.
image image

As you can see, they have different length. That means they will have different alignment related to the node.
Additionally, we also need to show these two shape in same side of node at same time.

Could you point me to some example/code to dynamic control the alignment and geometryString so that we can change port shape accordingly without messing up the alignment between ports?

Thank you very much!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles