mirror of
https://github.com/hansjone/netx.git
synced 2026-10-16 06:30:44 +08:00
Make neighbor projection save-deferred and Visio-style connect.
Project-neighbors supports dry_run for local dirty canvas; Save flushes adds. Connect mode uses drag-from side anchors with smoothstep elbows instead of click-click. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
a746a84d01
commit
b4f0e468cb
11 changed files with 229 additions and 76 deletions
|
|
@ -244,10 +244,14 @@ class ViewProjectNeighborsRequest(BaseModel):
|
|||
When seed ids are omitted, expand from every node already on the canvas.
|
||||
When provided, expand only from those seeds (resolved to fabric nodes that
|
||||
are already placed on the view).
|
||||
|
||||
dry_run=True: return the would-be graph without writing placements (canvas
|
||||
can apply locally and persist on Save).
|
||||
"""
|
||||
|
||||
seed_fabric_node_ids: list[str] = Field(default_factory=list)
|
||||
managed_ne_ids: list[str] = Field(default_factory=list)
|
||||
dry_run: bool = False
|
||||
|
||||
|
||||
class ViewNodeIn(BaseModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue