diff --git a/tjnetwork.py b/tjnetwork.py index f964d41..c1c56de 100644 --- a/tjnetwork.py +++ b/tjnetwork.py @@ -833,7 +833,7 @@ def get_node_coord(name: str, node_id: str) -> dict[str, float]: # DingZQ, 2024-12-08, get all node coord # id, x, y def get_network_coords(name: str) -> dict[str, dict[str, float]]: - node_ids = api.get_all_node_ids(name) + node_ids = api.get_nodes(name) result = {} for node_id in node_ids: result[node_id] = api.get_node_coord(name, node_id)