This commit is contained in:
DingZQ
2024-12-08 18:54:01 +08:00
parent 103e863780
commit c007685eaa

View File

@@ -1396,6 +1396,8 @@ async def fastapi_get_network_coords(network: str) -> list[str] | None:
coords = get_network_coords(network)
result = []
for node_id, coord in coords.items():
print(node_id, coord)
result.append(f"{node_id}:{coord['x']}:{coord['y']}")
return result