networkcommons.visual.NetworkXVisualizer.adjust_node_labels

NetworkXVisualizer.adjust_node_labels(wrap=True, truncate=False, max_length=6, wrap_length=6)

Adjust node labels using the adjust_node_name function.

Parameters:
  • wrap (bool) – Whether to wrap the node labels.

  • truncate (bool) – Whether to truncate the node labels.

  • max_length (int) – The maximum length of node labels before truncation.

  • wrap_length (int) – The length at which to wrap the node labels.