class documentation

class Graph:

Constructor: Graph(id, root)

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method filter Undocumented
Method find Undocumented
Method traverse Undocumented
Method traverse_with_level Undocumented
Instance Variable id Undocumented
Instance Variable root Undocumented
def __init__(self, id: str, root: T):

Undocumented

def filter(self, func: Callable[[Node[T]], bool], edge: str = 'default') -> Generator[Node[T], None, None]:

Undocumented

def find(self, func: Callable[[Node[T]], bool], edge: str = 'default') -> Node[T] | None:

Undocumented

def traverse(self, edge: str = 'default') -> Generator[Node[T], None, None]:

Undocumented

def traverse_with_level(self, edge: str = 'default') -> Generator[tuple[Node[T], int], None, None]:

Undocumented

id =

Undocumented

root =

Undocumented