Quantcast
Channel: Northwoods Software - Latest topics
Viewing all articles
Browse latest Browse all 7425

How to move a node at center of viewport?

$
0
0

@sangnv wrote:

I’m using genogram sample.

this’s my code:

const node = diagram.findNodeForKey(-43);
diagram.centerRect(node.actualBounds);

The node don’t center in the viewport. It should position the entry exactly center of viewport. Please help me for this case.

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7425

Latest Images

Trending Articles



Latest Images