i have this array:
[{“key”:61,“n”:“Max Mustermann”,“bn”:“”,“s”:“M”,“m”:0,“f”:0,“birth”:“*1712”,“death”:“+1769”,“ux”:62,“vir”:0,“pos”:“351 472”},{“key”:62,“n”:“Martina Mustermann”,“bn”:“”,“s”:“F”,“m”:0,“f”:0,“birth”:“*1728”,“death”:“”,“ux”:0,“vir”:61, pos":“753 415”}];
How can i bind the position on the Nodes?
I use the Sourcecode from here Not center the line between marriage persons - #2 by walter
I have the code only in Design from the nodeTemplate changed. The position jumps to pos 0 0 and the beginning.
I have set the Binding at the beginning of the NodeTemplate. Butt nothing happens.
myDiagram.nodeTemplate =
stammBaum(go.Node, “Auto”,
new go.Binding(‘location’, ‘loc’, go.Point.parse).makeTwoWay(go.Point.stringify),
…
Thanks for Help and sorry my english.