Commit Graph

1 Commits (231a5c0b15b817bb13ee3a876c3fbaf337cb4d5e)

Author SHA1 Message Date
lyingbug 231a5c0b15
feat(wiki): improve graph layout, theme captions and group focus (#4147)
* feat(wiki): improve graph layout and exploration

* feat(wiki): name graph themes and connect pages to their document summary

- Rewrite selectGraphAnchors on deterministic Louvain communities with
  coverage, redundancy and readability rules; clean file-name captions.
- Add group focus bar with switch menu, Esc/background exit, caption pills.
- Count distinct neighbors for link_count from both link directions, and
  let ego BFS use the same adjacency so stale in_links do not hide pages.
- Connect each page to its source document summary and leave the index
  page out of the graph; return edges as [] for an isolated ego center.
- Keep graph search and type filters available after an empty render.

* fix(wiki): use theme tokens in graph styles and satisfy Go lint

* feat(wiki): label the page shared by a multi-document graph group
2026-10-11 11:52:04 +08:00