@walter I have tried for the node part as well it’s not showing the changes
I dont know where i m doing this wrong… beta node is not toggled!
myDiagram.nodeTemplateMap.add(“Pen”,
$(go.Node,“Auto”, // the Shape will go around the TextBlock
$(go.Shape,
“RoundedRectangle”,
{ strokeWidth: 0 },
// Shape.fill is bound to Node.data.color
new go.Binding(“fill”, “color”)
),
$(go.TextBlock,
{ margin: 8 }, // some room around the text
// TextBlock.text is bound to Node.data.key
new go.Binding(“text”, “key”)
)
));