Feat v0.4.7 note graph (#29)
All checks were successful
All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #29.
This commit is contained in:
33
CHANGELOG.md
33
CHANGELOG.md
@@ -2,6 +2,39 @@
|
||||
|
||||
All notable changes to Switchboard Core are documented here.
|
||||
|
||||
## v0.4.7 — Note Graph
|
||||
|
||||
### Added
|
||||
|
||||
- **Graph API**: `GET /graph` endpoint returns all non-archived notes as nodes
|
||||
and resolved wikilinks as edges in a single payload. Nodes include id, title,
|
||||
folder_id, and tags. Edges include source, target, and link text.
|
||||
- **Graph view**: Canvas-based force-directed graph visualization replaces the
|
||||
editor pane when "Graph" button is clicked in the topbar. Force simulation
|
||||
uses repulsion (all pairs), attraction (edges), and center gravity with
|
||||
velocity damping. Supports zoom (scroll wheel) and pan (mouse drag).
|
||||
- **Click focus**: Single-click a node to dim unconnected nodes/edges to 15%
|
||||
opacity; clicked node and direct neighbors stay at full brightness. Edges
|
||||
between focused nodes highlighted. Click empty space to reset.
|
||||
- **Shift+click chain**: Hold shift and click a second node to union both
|
||||
neighborhoods — trace thought paths across two hops.
|
||||
- **Double-click open**: Double-click a graph node to navigate to that note in
|
||||
the editor. Graph view closes, editor opens with the selected note.
|
||||
- **Hover tooltips**: Hovering a node shows title, tag pills, and connection
|
||||
count in an HTML overlay (no additional API calls).
|
||||
- **Folder coloring**: Nodes colored by folder using a 10-color palette.
|
||||
Unfiled notes shown in gray.
|
||||
- **Tag filter integration**: Active tag filter dims non-matching nodes to 30%
|
||||
opacity, stacking with click focus.
|
||||
- **Orphan highlighting**: Notes with zero connections shown with dashed stroke.
|
||||
"Hide orphans" checkbox in toolbar to toggle visibility.
|
||||
|
||||
### Changed
|
||||
|
||||
- Notes package version bumped from 0.7.0 to 0.8.0.
|
||||
- Topbar gains a "Graph" toggle button alongside "New Note" and "Import .md".
|
||||
|
||||
|
||||
## v0.4.6 — Sidebar Restructure
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user