Blobs.dotfile#

Blobs.dotfile(filename: Any = None, direction: str | None = None, show: bool = False) None[source]#

Create a GraphViz dot file

Parameters:
  • filename (str, optional) – filename to save graph to, defaults to None

  • direction (str, optional) – graph drawing direction, defaults to top to bottom

  • show (bool, optional) – compile the graph and display in browser tab, defaults to False

Creates the specified file which contains the GraphViz code to represent the blob hierarchy as a directed graph. By default output is to the console.

Note

If filename is a file object then the file will not be closed after the GraphViz model is written.

Seealso:

child parent level