I am completely new to GO.JS and wanted to create a node template with following constrains -
- Node template is rectangle shape with two inner rectangle shape.
- The inner rectangle should be with dotted lines.
- 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.