Ejemplo n.º 1
0
    def from_entity(self, entity):
        Graph.from_entity(self, entity, arcClass=TransitArc)

        self.stop_to_cluster = entity["stop_to_cluster"]
        self.cluster_id = entity["cluster_to_node_id"]