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

Nodes and links not redrawn properly after node sizes change

$
0
0

@mlerman wrote:

Hello!

Some nodes in our diagrams can be quite large, as shown below:

To make things more manageable, I added an option to hide all the white rectangles in all of the blue nodes (a “compact” mode).

This is implemented by means of a toModel() binding and works well:

image

However, if I scroll all the way to the bottom of the diagram, then change the mode to show the blue nodes at full size and then slowly scroll back up, some nodes and links are not drawn properly:

image

If I keep scrolling up slowly and get closer to the top of the blue node, the drawing fixes itself:

image

Would you have any idea on how I could fix this?

FYI: I’m on goJS 2.0.4.

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles