Refine
This commit is contained in:
2
main.py
2
main.py
@@ -1396,6 +1396,8 @@ async def fastapi_get_network_coords(network: str) -> list[str] | None:
|
|||||||
coords = get_network_coords(network)
|
coords = get_network_coords(network)
|
||||||
result = []
|
result = []
|
||||||
for node_id, coord in coords.items():
|
for node_id, coord in coords.items():
|
||||||
|
print(node_id, coord)
|
||||||
|
|
||||||
result.append(f"{node_id}:{coord['x']}:{coord['y']}")
|
result.append(f"{node_id}:{coord['x']}:{coord['y']}")
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user