VertexElem
Last updated
Last updated
VertexElem is derived class of GraphElem and is a base class representing an entity, junctor and group.
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 list of the element’s in-edges. Does not include back edges during a call to the operate method of Document
outEdges
list of Edge
Read only. A list of the element’s out-edges. Does not include back edges during a call to the operate method of Document
index
integer
Read only. The index of the element in chart view or zero if canvas not in chart view