VertexElem
VertexElem is derived class of GraphElem and is a base class representing an entity, junctor and group.
Fields
| Field | Type | Description |
|---|---|---|
canHaveParent | boolean | Read only. Returns True. |
parent | Group or None | The parent Group of the element or None if the element is at the top of the hierarchy |
hasInEdges | boolean | Read only. True if the element has any predecessors, implying it has at least one in-edge. Ignores back edges during a call to the operate method of Document. |
hasOutEdges | boolean | Read only. True if the element has any successors, implying it has at least one out-edge. Ignores back edges during a call to the operate method of Document. |
inEdges | list of Edge | Read only. A snapshot of the element’s in-edges at the time of the call. Does not include back edges during a call to Document.operate(). Re-read this property after adding or removing connections — the previously returned list does not update. |
outEdges | list of Edge | Read only. A snapshot of the element’s out-edges at the time of the call. Does not include back edges during a call to Document.operate(). Re-read this property after adding or removing connections — the previously returned list does not update. |
index | integer | Read only. The index of the element in chart view or zero if canvas not in chart view |