modelnet module

Created on Wed Oct 15 14:30:44 2014

Displays an adjencacy matrix . @author: ibh

modelnet.draw_adjacency_matrix(G, node_order=None, partitions=None, type=False, title='Structure', size=(10, 10))[source]
  • G is a netorkx graph

  • node_order (optional) is a list of nodes, where each node in G

    appears exactly once

  • partitions is a list of node lists, where each node in G appears

    in exactly one node list

  • type is a list of saying “simultaneous” or something else, has to have same length as partitions

modelnet.drawendoexo(model, size=(6.0, 6.0))[source]

Draw dependency including exogeneous. Used for illustrating for small models