|
|
JSON Graphical
Elements |
Graphical elements are those with no model object that only exist on diagrams such as Notes* and Panel Diagram Widgets
Graphical elements are custom JSON Objects of type “GraphicalElement”. Since graphical elements have no model object, the JSON Objects do not require a name.
Like Diagram Elements they have co-ordinates:
· x [the top, left-hand corner x co-ordinate]
· y [the top, left-hand corner y co-ordinate]
· width [the width of the diagram element]
· height [the height of the diagram element]
In addition, they have the following (String) attributes:
· text : [The text property of the graphical element]
· graphicalElementType : [the type of graphical element]
*In addition to panel diagram widget types, the following types are available:
· Note
· Rectangle
· FreeText
All the above may also be formatted as described in JSON Graphical Element Formatting