The show function#

Aliases#

halerium.show
halerium.core.show
halerium.core.visualization.show
show(graph, positions=None, discard_old_positions=False, annotations=None, visualizer=<halerium.core.visualization.graph_visualizer.GraphVisualizer object>)#

Send graph to gui for visualization.

Parameters:
  • graph – The graph or objective to visualize.

  • positions (dict, optional) – The positions to show elements in the graph. The default is None.

  • annotations (optional) – A list of objects that provide annotations for graph elements. The default is None.

  • discard_old_positions (bool, optional) – Whether to discard any old positions in memory or the gui. The default is False.

  • visualizer (GraphVisualizer, optional) – The visualizer to use. The default is None, in which case the default visualizer is used.