networkcommons.visual.YFilesVisualizer.visualize

YFilesVisualizer.visualize(graph_layout='Organic', directed=True)

Visualizes the network graph using the yFiles widget with the specified layout and direction.

Parameters:
  • graph_layout (str, optional) – The layout to use for the graph. Options include “Circular”, “Hierarchic”, “Organic”, “Orthogonal”, “Radial”, and “Tree”. Defaults to “Organic”.

  • directed (bool, optional) – If True, visualizes the graph as directed. Defaults to True.

Displays:

An interactive visualization of the network graph.