NeighborNode
¶
Source code in docs_src/capo_context/types/neighbor_node.py
depth
instance-attribute
¶
depth: int
The depth at which the traversal found this neighbor (1 = directly connected to seed, 2 = two edges away, and so on).
path_edges
instance-attribute
¶
path_edges: NotRequired[PathEdgesList]
The edges along the path from the seed node to this neighbor, preserving traversal order.