feat(topology): render temporal graph from database

This commit is contained in:
2026-07-09 22:04:31 +08:00
parent 0dbcd3086e
commit 6ff18623e0
5 changed files with 430 additions and 451 deletions
+3 -1
View File
@@ -428,6 +428,8 @@ def seed():
"mining_module", "ore_fuel_storage", "fuel_storage_mod",
"centrifuge_mod"]:
add_port(key, "mount", "安装接口")
add_port("power_storage_rack", "passage", "加压走道接口", "north",
interface_type="pressurized")
# Habitat modules: core-side + distal
add_port("habitat_1", "core", "核心端接口", "north")
@@ -550,7 +552,7 @@ def seed():
# GHC-05: Pressurized passages
add_connection("greenhouse", "distal", "wugang_2", "dock",
"pressurized_passage", "GHC-05_7")
add_connection("habitat_1", "distal", "power_module_hub", "north",
add_connection("habitat_1", "distal", "power_storage_rack", "passage",
"pressurized_passage", "GHC-05_4")
print("Connections created")