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

How to pin a Group at top left of viewport?

$
0
0

@sangnv wrote:

I’m using the Genogram sample. After I created a group, I want to pin it at top left of viewport. this’s my code.

const newGroup = { key: 'e47b1dc9-ecd2-4a93-88c5-73872c0f2954', template: 'maingroup', isGroup: true, text: '', location: new Point(0,0) } this.diagram.model.addNodeData(newGroup);

That didn’t work.
Please give me some instructions. Thank you.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7425

Latest Images

Trending Articles



Latest Images