def draw_track(self, track):
    ' draw_track(self, track) -> ([element, element,...], [element, element,...])\n\n            o track     Track object\n\n            Return tuple of (list of track elements, list of track labels)           \n        '
    track_elements = []
    track_labels = []
    set_methods = {FeatureSet: self.draw_feature_set, GraphSet: self.draw_graph_set}
    for set in track.get_sets():
        (elements, labels) = set_methods[set.__class__](set)
        track_elements += elements
        track_labels += labels
    return (track_elements, track_labels)
draw_track(self, track) -> ([element, element,...], [element, element,...])

o track     Track object

Return tuple of (list of track elements, list of track labels)
def draw_track(self, track):
    ' draw_track(self, track) -> ([element, element,...], [element, element,...])\n\n            o track     Track object\n\n            Return tuple of (list of track elements, list of track labels)           \n        '
    track_elements = []
    track_labels = []
    set_methods = {FeatureSet: self.draw_feature_set, GraphSet: self.draw_graph_set}
    for set in track.get_sets():
        (elements, labels) = set_methods[set.__class__](set)
        track_elements += elements
        track_labels += labels
    return (track_elements, track_labels)