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

How to generate a part, using category name?

$
0
0

@Rajeshpatil74 wrote:

With reference to my previous question "Abort the dragging Tool - with custom part value set"

  • I have a various node templates added in diagram template collection.
    Now I need to create a node which can be added in diagram's but should not be part of model
    using following statement
    diagram.add(part).

To create that part , instead of setting the complete template structure to some node variable, I need to construct the part using category name (used for identifiing the template). How one can achieve that ??

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles