Skip to content

NosyGraph 0.2.8 — Architecture refactor, resilient graph state, and faster metadata updates

Choose a tag to compare

@JanB987 JanB987 released this 18 Sep 07:59
· 18 commits to main since this release
ffafa78

Highlights

NosyGraph 0.2.8 delivers the next major step in the class-based architecture refactor while preserving the existing graph behavior and improving reliability for larger graphs.

Architecture and runtime

  • Added detached graph domain models, snapshots, queries, change sets, and runtime state.
  • Added GraphController command routing for selection, badges, pinning, dragging, roots, and relationship refresh.
  • Extracted renderer and hit-testing boundaries from graph semantics.
  • Added validated GraphStore initialization and guarded store-runtime trials.
  • Added explicit scene ownership for lenses, groups, and containers.
  • Completed Obsidian adapter boundaries for note reads, link resolution, navigation, writes, and lifecycle events.
  • Added persistence and restoration boundaries for graph identities, ownership, expansions, layouts, pins, and viewports.
  • Added lifecycle coordination for stale asynchronous work, rename/delete events, write-loop suppression, reopen behavior, and resource cleanup.

Badge exploration and relationships

  • Routed normal, parent-semantic, Alt-click, Ctrl/Cmd-click, and embedded badge interactions through explicit command boundaries.
  • Added atomic graph change sets for expansion and collapse.
  • Preserved expansion ownership and shared-node behavior during nested exploration.
  • Preserved missing graph-note targets and unresolved relationship targets.
  • Preserved child-node badge expansion sources during graph rebuilds.
  • Persisted badge expansions made inside persistent graph lenses.
  • Added relationship target reader and Obsidian link-resolution boundaries.

Physics and graph motion

  • Extracted graph springs, pairwise repulsion, center gravity, constraints, node/container forces, container repulsion, confinement, anchoring, integration, and settling.
  • Added staged physics composition with the legacy order:
    integration → confinement → anchoring → confinement.
  • Added persistent anchoring state across simulation steps and structural changes.
  • Added physics shadow input, diagnostics, frame comparison, and multi-step parity experiments.
  • Added guarded runtime activation and parity gates for the replacement physics engine.

Metadata updates and performance

  • Scoped metadata refreshes to the changed note and its visible runtime instances.
  • Avoided rebuilding visible-link context for unrelated notes.
  • Preserved visible, overlay, expanded, and parent connections during unrelated frontmatter updates.
  • Improved group, badge, lens, and embedded-graph refresh behavior after metadata changes.
  • Added documentation and regression coverage for metadata refresh behavior.

Documentation and validation

  • Added architecture documentation for the extracted classes and ownership boundaries.
  • Added migration status, artifact audits, solver parity notes, badge regression documentation, and interactive verification matrices.
  • Added a release changelog and refreshed release documentation.
  • Automated validation passes 83 test files and 385 tests.
  • Scoped architecture typecheck passes.
  • Production main.js was regenerated with the release build.

Known limitations

  • NosyGraph remains beta software.
  • The production path still uses the legacy GraphEngine animation loop.
  • Store mode and replacement physics remain guarded and experimental.
  • Interactive verification in large and nested Obsidian graphs is still recommended before relying on the release for important graph-note data.
  • Back up graph notes before testing persistence and relationship-writing workflows.