mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 07:16:17 +00:00
e43452f5aff58258c4f6622230c1cc99a1f2c535
- synapse-ffi: graph_data() returns the whole page-level graph (links, tags, property refs, block refs/embeds per page, unlinked mentions, decayed synapses) as parallel arrays with degree, backlinks, Louvain clusters and primary tags; cached by op seq, synapse state and hour. - synapse-ffi: ForceLayout, a Barnes-Hut force layout stepped from Dart on a Rust worker thread (pin/unpin for dragging, reheat). - app: Graph view with a mode selector (Network, Local, Synapses, Clusters, Namespaces, Timeline), filters (title, tag, date range, min links, orphans, journals, mentions), pan/zoom, node drag, hover highlighting, activation pulse, cluster hulls, radial namespace/tag tree, and a local graph panel on every page. Edges render as one vertex mesh, nodes in colour/size batches, culled to the viewport. - Tests: Rust extraction/mentions/cache/clusters/layout; widget tests for mode switching, filters and layout restarts; a real-app integration smoke test with frame timings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Synapse
A native, brain-like second brain: an outliner with linked pages, temporally chained journals, semantic search, AI assistance and a self-hostable sync server. Runs natively on Android, Linux and Windows (Rust core + Flutter UI, no webviews).
Quick start
cargo test --workspace
cd app && flutter run -d linux
See docs/ for the plan and architecture.
Languages
Rust
59.5%
Dart
36.1%
CMake
1.8%
C++
1.7%
Shell
0.5%
Other
0.3%