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

Location binding in nodetemplate

$
0
0

@akash1 wrote:

I am using two different node templates one for the palette and another one for the canvas diagrams and i have JSON data for the diagrams that has location,angle and other properties for the shapes.
so i was getting the location of the shapes in palette's nodeTemplate using location binding .
Because I want to show diagrams differently in palette i don't want to use location binding in palette's nodeTemplate.If i don't use location binding in palette's nodeTemplate when i drag the shape to the canvas it doesn't appear the way i made it because i removed the location binding from nodeTemplate of palette.
So how can i achieve the same diagram on dragging from palette to canvas that i made without using location binding in palette's nodeTemplate.
Thanks.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles