Skip to content

Hide nodes#291

Merged
milanofthe merged 3 commits into
mainfrom
feature/hide-nodes
May 18, 2026
Merged

Hide nodes#291
milanofthe merged 3 commits into
mainfrom
feature/hide-nodes

Conversation

@milanofthe
Copy link
Copy Markdown
Member

@milanofthe milanofthe commented May 18, 2026

Closes #154.

Summary

  • Nodes can be hidden via right-click → Hide (single or multi-select), or the eye-off button in the Properties dialog. Hidden nodes are stored as _hidden: true on the node params, so the state persists with the .pvm file and participates in undo/redo.
  • FlowCanvas filters hidden nodes out of the visible set; any edge whose source or target is hidden is also filtered, automatically reappearing on unhide.
  • Simulation is not affected — hidden nodes are still part of the graph store and run normally (Scopes keep recording etc.). The feature is a pure visibility filter.
  • Toolbar gains an eye-off button with a counter badge, shown only when something is hidden. Hover reveals a menu listing hidden nodes (name + type); click an entry to unhide it, or "Show all" to unhide everything in the current context.
  • Interface blocks are excluded from the Hide affordance — hiding them would break the subsystem contract.

@milanofthe milanofthe merged commit 1bf2aff into main May 18, 2026
4 checks passed
@milanofthe milanofthe deleted the feature/hide-nodes branch May 18, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide nodes

1 participant