chore: bootstrap Claude setup

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5 committed 2026-10-18 15:08:51 +02:00
1 parent 151d34a0e1
commit 9ff19e49e8
10 files changed
+197 -19

No files matched your search

+1 -19
View File
@@ -8,15 +8,7 @@ rest of the pages ("notes") float above it, positioned by a force simulation
The result is a kind of timeline: the more connected a note is, the closer it stays to
the line; more peripheral notes drift further up.
## How it works
1. **`parse_graph.py`** walks the `journals/` and `pages/` folders of a Logseq graph,
extracts `[[...]]` links and `#tags`, resolves journal-date links (format
`[[Apr 27th, 2026]]`) against the `yyyy_MM_dd.md` files, and dumps everything to
`graph_data.json` (nodes, edges, and each node's degree).
2. **`build_html.py`** takes `graph_data.json` and generates `graph_view.html`: a
self-contained page (D3.js vendored in `vendor/d3.min.js`, no network dependencies)
with the interactive visualizer.
See [docs/architecture.md](docs/architecture.md) for how the generator and viewer work.
## Usage
@@ -29,16 +21,6 @@ By default both scripts read the graph from `~/Notas` (edit the `NOTAS`,
`DATA_PATH`/`OUT_PATH` constants at the top of each script to point elsewhere). Open
`graph_view.html` in a browser (or serve it with `python3 -m http.server`).
## Viewer
- **Zoom / pan**: mouse wheel and drag on the background.
- **Drag a node**: pins it at that position.
- **Search box**: highlights notes by name.
- **"Layout forces" panel**: live controls for the simulation — vertical spread,
repulsion between notes, attraction to journals, cohesion between related notes,
distance to journal, and anti-collision padding. Buttons to reheat the simulation or
restore the defaults.
## Privacy
`graph_data.json` and `graph_view.html` are generated artifacts that contain the actual