scipp.show_graph

scipp.show_graph(graph, size=None, simplified=False)

Show graphical representation of a graph as required by transform_coords()

Requires python-graphviz package.

Parameters
  • graph (Dict[Union[str, Tuple[str, ...]], Union[str, Callable]]) – Transformation graph to show.

  • size (Optional[str]) – Size forwarded to graphviz, must be a string, “width,height” or “size”. In the latter case, the same value is used for both width and height.

  • simplified (bool) – If True, do not show the conversion functions, only the potential input and output coordinates.