mmc.Hierarchy.to_graphviz()

Hierarchy.to_graphviz(supress_labels=False, node_width=4, node_height=1, font_mult=1)

Exports the tree in the dot format of the graphviz software, which can be useful for plotting.

Parameters:
  • supress_labels (bool (default: False)) – Whether to not include marker definitions for subsets of the hierarchy in labels

  • node_width (int (default: 4)) – Width of the nodes within the hierarchy display

  • node_height (int (default: 1)) – Height of the nodes within the hierarchy display

  • font_mult (float (default: 1)) – Font size is 16 times this font multiplier

Returns:

Hierarchy in graphviz format for plotting

Return type:

string_graphviz