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

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: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6977

Latest Images

Trending Articles



Latest Images