lcapy.schemgraph.GraphPath

class lcapy.schemgraph.GraphPath(iterable=(), /)

Bases: list

This is a list of edges defining a path through a graph.

Methods

from_dist(match_node)

on(match_node)

to_dist(match_node)

Attributes

dist

from_gnode

gnodes

Return list of nodes along path including end nodes.

stretches

to_gnode

property gnodes

Return list of nodes along path including end nodes.