mirror of
https://github.com/hansjone/netx.git
synced 2026-10-15 17:13:21 +08:00
Save path: one atomic POST /views/{id}/commit (edges, ports, styles, node
add/remove, positions) replaces the multi-request save. Edge styles and
manual-edge port edits now go through dirty/undo/save instead of writing
immediately; non-manual edge ports are read-only.
Data safety: UI saves no longer clear MCP node locks or freeze the device
name into the placement label (label_override + omit-means-keep semantics,
also applied to the MCP positions tool). Adding NEs/neighbors with unsaved
edits now saves first instead of silently dropping them. Positions no longer
bypass membership caps, except persisting synthesized child-region icons.
Fixes found in acceptance: nodes added in the same commit kept (40,40)
under autoflush=False; edits on edges deleted in the same save 404'd the
whole save; box-selection drags and arrow-key moves were not marked dirty;
large canvases far from the origin opened blank and locate did nothing
because fitView waits for measurement that onlyRenderVisibleElements never
does (now fitBounds from known geometry).
Also: batch N+1 lookups in graph/positions, deterministic truncation,
outside-peer scan excludes internal edges, split TopologyPage into hooks,
fix flaky UME/LLDP port test, add scripts/topology_clear_frozen_labels.py.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| test_align_reference.py | ||
| test_bundle_orbit.py | ||
| test_channel_metro.py | ||
| test_clear_edge_hits.py | ||
| test_compact_bbox.py | ||
| test_compose_orbit.py | ||
| test_compose_views.py | ||
| test_core_beam.py | ||
| test_densify_sweep.py | ||
| test_dual_mass.py | ||
| test_dual_units.py | ||
| test_edge_axis.py | ||
| test_fold_chain.py | ||
| test_force_densify.py | ||
| test_hierarchy.py | ||
| test_hotspots.py | ||
| test_layout_jobs.py | ||
| test_layout_ops.py | ||
| test_layout_sight.py | ||
| test_layout_stats.py | ||
| test_layout_structure.py | ||
| test_layout_tool.py | ||
| test_mass_merge.py | ||
| test_mcp_topology.py | ||
| test_move_nodes.py | ||
| test_orbit_sweep.py | ||
| test_ortho_metro.py | ||
| test_partition.py | ||
| test_pin_beam_soft_petals.py | ||
| test_press_crossings.py | ||
| test_pull_far_chains.py | ||
| test_rigid_orbit.py | ||
| test_rigid_units.py | ||
| test_sink_dual_units.py | ||
| test_suggest_sink_hubs.py | ||
| test_topology_quality.py | ||
| test_untangle.py | ||