pydistsim.utils.visualization.show_mst

show_mst(net: NetworkType, tree_key='mst')[source]

Show tree representation of network.

Parameters:
  • net – network to show

  • tree_key

    key in nodes memory (dictionary) where parent and children data is stored in format:

    {‘parent’: parent_node,

    ’children’: [child_node1, child_node2 …]}