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

Custom Node Template creation

$
0
0

@Rajeshpatil74 wrote:

I am completely new to GO.JS and wanted to create a node template with following constrains -

  1. Node template is rectangle shape with two inner rectangle shape.
  2. The inner rectangle should be with dotted lines.
  3. The dotted rectangle contains text blocks

Now, depending on my setting, I should be able to see dotted lines optionally. For eq. By using the created node in design interface I should be able to see the dotted rectangle (so user can drag-drop custom information) and when actual results is displayed using same node template the dotted lines should not be visible (final result).

How I can achieve this ? I am tring to modify the same of Entity relationship template and found that Shape cannot be added within another shape.

Will you provide some sample code for same.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles