Subgroup: Graph
Class: QgsGraphVertex¶
-
class
qgis.analysis.
QgsGraphVertex
¶ Bases:
sip.wrapper
Default constructor. It is needed for Qt’s container, e.g. QVector
QgsGraphVertex(point: QgsPointXY) This constructor initializes QgsGraphVertex object and associates a vertex with a point
QgsGraphVertex(QgsGraphVertex)
This class implements a graph vertexNew in version 3.0: Methods
incomingEdges
Returns the incoming edge ids, i. outgoingEdges
Returns outgoing edge ids, i. point
Returns point associated with graph vertex. Signals
Attributes
-
incomingEdges
(self) → List[int]¶ Returns the incoming edge ids, i.e. edges which end at this node.
See also
-
outgoingEdges
(self) → List[int]¶ Returns outgoing edge ids, i.e. edges which start at this node.
See also
-
point
(self) → QgsPointXY¶ Returns point associated with graph vertex.
-