mirror of
https://github.com/RuoJi6/ARTEX.git
synced 2026-11-04 03:33:50 +08:00
fix: preserve explicit topology node positions
This commit is contained in:
1 parent
14ebf44362
commit
3e04b68e38
1 file changed
-6
@@ -706,12 +706,6 @@ function GraphInner({ taskId, coverageEnabled = true }: { taskId: string; covera
|
||||
endArrow: true,
|
||||
},
|
||||
},
|
||||
layout: {
|
||||
// Positions are assigned by zone in toG6Nodes. Preset layout keeps
|
||||
// internet, boundary and internal assets in their corresponding
|
||||
// columns instead of letting a graph ranker collapse everything.
|
||||
type: "preset",
|
||||
},
|
||||
behaviors: ["drag-element", "drag-canvas", "zoom-canvas"],
|
||||
});
|
||||
graph.on("node:click", (evt: unknown) => {
|
||||
|
||||
Reference in new issue
Block a user