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

Overview: display custom nodeTemplates

$
0
0

@surfeurX wrote:

Hi,

Is there a way to change the nodeTemplate inside an overview, something like :

var myOverview =
$(go.Overview, "overview",
{
observed: myDiagram,
drawsTemporaryLayers: true,
maxScale: 0.5,
nodeTemplate: $(go.Part, "Auto",
$(go.Shape, "RoundedRectangle", { fill: "#e0d8ff" })
)
});

The point is my diagram nodes are quite complex, and I want to display single colors rectangles in the overview.

Thank you

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles