Class: QgsVectorLayerDirector

class qgis.analysis.QgsVectorLayerDirector

Bases: QgsGraphDirector

Determine making the graph from vector line layer

New in version 3.0.

QgsVectorLayerDirector(source: QgsFeatureSource, directionFieldId: int, directDirectionValue: str, reverseDirectionValue: str, bothDirectionValue: str, defaultDirection: QgsVectorLayerDirector.Direction) Default constructor

Parameters:
class Direction

Bases: int

DirectionBackward = 1
DirectionBoth = 2
DirectionForward = 0
childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
isSignalConnected(self, QMetaMethod) bool
makeGraph(self, builder: QgsGraphBuilderInterface, additionalPoints: Iterable[QgsPointXY], feedback: QgsFeedback = None) List[QgsPointXY]

MANDATORY DIRECTOR PROPERTY DECLARATION

Parameters:
Return type:

List[QgsPointXY]

name(self) str
Return type:

str

receivers(self, PYQT_SIGNAL) int
sender(self) QObject
senderSignalIndex(self) int
timerEvent(self, QTimerEvent)