helper.node_marker

helper.node_marker(H, node)[source]

Return node_marker for plotting of nodes.

Parameters:
  • H (graph) – Request graph of instance.
  • node (node) – Node to get marker from.
Returns:

Marker for plotting: source = ‘c’ = circle target = ‘s’ = square origin = ^ = triangle-up destination = v = triangle-down

Return type:

str