vertex_parent_dict_to_dot

imgreg.util.solver.vertex_parent_dict_to_dot(vertex_parent_dict: Dict[imgreg.util.params.Parameter, Set[imgreg.util.params.Parameter]], node_args_func: Optional[Callable[[imgreg.util.params.Parameter], Dict[str, str]]] = None, invert=False)graphviz.dot.Digraph[source]

Convert a directed graph to a dot graph.

Parameters
vertex_parent_dictdict[Hashable, set[Hashable]]

A dictionary representation of the directed graph

node_args_funcCallable[[Hashable], dict[str, str]]

A function handle to generate keyword arguments for the node of the dot graph depending on the current vertex