_graph.py Graph ¶ Bases: Generic[T] sinks cached property ¶ Finds the sink vertices, i.e., those without successors. Returns: Type Description set[T] set of the sink vertices sources cached property ¶ Finds the source vertices, i.e., those without predecessors. Returns: Type Description set[T] set of the source vertices