def __get_segments_from_node(node, graph):
list_of_segments = []<EOL>node_object = graph.get_node(node)<EOL>for e in node_object['<STR_LIT>']:<EOL><INDENT>list_of_segments.append(e)<EOL><DEDENT>return list_of_segments<EOL>
Calculates the segments that can emanate from a particular node on the main cycle.