NetworkArtist.draw

NetworkArtist.draw(nodes=None, edges=None, nodecolor=None, edgecolor=None)[source]

Draw the network.

Parameters
  • nodes (list[hashable], optional) – A list of node identifiers. Default is None, in which case all nodes are drawn.

  • edges (list[tuple[hashable, hashable]], optional) – A list of edge keys (as uv pairs) identifying which edges to draw. The default is None, in which case all edges are drawn.

  • nodecolor (Color | dict[hashable, Color], optional) – The color specification for the nodes.

  • edgecolor (Color | dict[tuple[hashable, hashable], Color], optional) – The color specification for the edges.

Returns

None