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

How to set layers to default

$
0
0

@Rajeshpatil74 wrote:

In my diagrams, I am displaying different types of diagrams depending on selection from drop down OR tree view.
In such case I am not initializing the various templates again and again.
So same diagram object is used for various diagram ( by changing the layouts , adding various templates in required collections)
While initializing , depending on diagram type , I am also adding layers.
Now when initlializing code exected, it gives me "Layer with same name already exists" message.

How one can clear all user defined added layers and set it to default ??

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles