mirror of
https://github.com/hansjone/netx.git
synced 2026-10-19 22:00:45 +08:00
Update topology tool skill
This commit is contained in:
parent
37dd43923f
commit
99a262e348
4 changed files with 212 additions and 7 deletions
|
|
@ -512,6 +512,9 @@ def run_layout_on_graph(
|
|||
protect_rigid=protect,
|
||||
frozen_ids=frozen,
|
||||
top_k=int(knobs.get("top_k") or 3),
|
||||
y_min=knobs.get("y_min"),
|
||||
y_max=knobs.get("y_max"),
|
||||
objective=knobs.get("objective", "crossing"),
|
||||
)
|
||||
if not sweep.get("ok"):
|
||||
fin = score_state(st0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue