GraphElem
The GraphElem is the base class for all representations of graph elements: entities, junctors, groups and edges. This class has variables and methods common to all elements.
Fields
Field | Type | Description |
| integer | Read only. Unique integer assigned to each GraphElem. |
| boolean | Read only. Returns |
| boolean | Read only. Returns |
| boolean | Read only. Returns |
| boolean | Read only. Returns |
| boolean | Read only. Returns |
| boolean | Read only. Returns |
| tuple | Read only. The element’s bounds as a tuple (left, top, width, height), or (0, 0, 0, 0) if the element is hidden in a collapsed group. |
| string or | The annotation (note) of the element, an HTML document as a string, or None if the element has no note. If set to plain text, the font of the annotation defaults to Monospaced/12. |
| boolean | Returns |
| boolean | Returns |
| integer | Read only. The annotation (note) number of the element, an integer, or zero if the element has no note. |
| integer | Read only. The annotation (note) number of the element if note numbers are displayed as an integer, or zero if the element has no note or note numbers are not displayed. |
| dictionary | Read only. A dictionary of tuples (x, y, width, height). The keys are Shape Part Types for visual elements that vary by GraphElem type and state. |
| string or | Read only. the annotation (note) of the element as plain text, or None if the element has no note. |
| Returns a TextEditor instance which allows for modification of the annotation, or None if the element has no note (variable is read only, the TextEditor itself can be modified). | |
| dictionary | A dictionary containing user defined attributes (variable is read only, the dictionary itself can be modified) Example: |
Last updated