Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

VertexElem

VertexElem is derived class of GraphElem and is a base class representing an entity, junctor and group.

Fields

FieldTypeDescription
canHaveParentbooleanRead only. Returns True.
parentGroup or NoneThe parent Group of the element or None if the element is at the top of the hierarchy
hasInEdgesbooleanRead 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.
hasOutEdgesbooleanRead 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.
inEdgeslist of EdgeRead only. A list of the element’s in-edges. Does not include back edges during a call to the operate method of Document
outEdgeslist of EdgeRead only. A list of the element’s out-edges. Does not include back edges during a call to the operate method of Document
indexintegerRead only. The index of the element in chart view or zero if canvas not in chart view