mapmaker.routing package
Submodules
Module contents
Networks are defined in terms of their topological connections and geometric structures and can be thought of as conduit networks through which individual wires are routed.
- class mapmaker.routing.NetworkNode(full_id: str, intermediate: bool = False, map_feature: mapmaker.flatmap.feature.Feature | None = None)[source]
Bases:
object
- full_id: str
- intermediate: bool = False
- feature_id: str
- ftu_id: str | None
- properties: dict[str, Any]
- property centre: Point | None
- property geometry
- property radii: tuple[float, float] | None
- class mapmaker.routing.Network(flatmap: FlatMap, network: dict, properties_store: PropertiesStore | None = None)[source]
Bases:
object
- property id
- route_graph_from_path(path: Path) tuple[networkx.classes.graph.Graph, networkx.classes.graph.Graph] [source]
- layout(route_graphs: Graph) dict[int, mapmaker.routing.routedpath.RoutedPath] [source]