Subgroup: Graph

Class: QgsGraphBuilder

class qgis.analysis.QgsGraphBuilder

Bases: qgis._analysis.QgsGraphBuilderInterface

This class used for making the QgsGraph object

Methods

addEdge
addVertex MANDATORY BUILDER PROPERTY DECLARATION
coordinateTransformationEnabled Returns coordinate transformation enabled
destinationCrs Returns destinaltion CRS
distanceArea Returns measurement tool
graph Returns generated QgsGraph
topologyTolerance Returns topology tolerance

Attributes

addEdge(self, pt1id: int, pt1: QgsPointXY, pt2id: int, pt2: QgsPointXY, prop: Iterable[Any])
addVertex(self, id: int, pt: QgsPointXY)

MANDATORY BUILDER PROPERTY DECLARATION

graph(self) → QgsGraph

Returns generated QgsGraph