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

Have shapes be ignored when node returns actualBounds

$
0
0

@awong wrote:

I have a situation where we create port shapes and add them into our node object so that it shows on the outskirts of the outlying shape. These port shapes only show when user hovers over the node.

The problem is that when I get the actualBounds for the node, i noticed that there seems to be extra space between my shape, and the returned actualBounds, and I realized it is caused by the ports that exists within the node.

Is there a way where I can ignore these ports when returning actualBounds on the Node?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles