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

Save nodeTemplateMap

$
0
0

@alsh wrote:

Is it possible somehow to save (preserve) the once defined nodeTemplateMap?

Imagine next situation: there are defined several nodeTemplateMaps with different nodes/shapes in it.
The user has a possibility to select at runtime the desired nodeTemplateMap, it will be loaded into a palette & a diagram, and the user is able to proceed with the 'drawing'.

So my idea is to define a nodeTemplateMap and serialize/stringify (?) it and then deserialize.
But the objects have so many options...maybe you could suggest a better way?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles