hydra.pg.printing module

Printing functions for property graph elements.

hydra.pg.printing.print_edge(print_value: Callable[[T0], str], edge: Edge[T0]) str

Print an edge using the provided value printer.

hydra.pg.printing.print_graph(print_value: Callable[[T0], str], graph: Graph[T0]) str

Print a graph using the provided value printer.

hydra.pg.printing.print_lazy_graph(print_value: Callable[[T0], str], lg: LazyGraph[T0]) str

Print a lazy graph using the provided value printer.

hydra.pg.printing.print_property(print_value: Callable[[T0], str], key: PropertyKey, value: T0) str

Print a property using the provided value printer.

hydra.pg.printing.print_vertex(print_value: Callable[[T0], str], vertex: Vertex[T0]) str

Print a vertex using the provided value printer.