Files
personal-wiki/.obsidian/graph.json
Daniel f597342479 feat: ship workspace.json + setup-vault.sh for zero-config user experience
Users who clone the repo now get the full setup automatically:

- workspace.json tracked in git (removed from .gitignore)
  - Opens with Wiki Map canvas as default view
  - Graph view pre-configured: path:wiki filter, 5 color groups, proper physics
  - Obsidian reads this on first open before any state reset occurs

- bin/setup-vault.sh — one-time setup script
  - Writes correct graph.json (filter + colors)
  - Writes app.json (excludes plugin dirs from graph)
  - Writes appearance.json (enables vault-colors CSS)
  - Prints clear next-step instructions
  - Usage: bash bin/setup-vault.sh

- README updated: Option 1 now shows clone + setup.sh as recommended path
  - Clear explanation of what the script does
  - 2-minute setup flow vs manual configuration

Result: users clone, run setup.sh, open Obsidian — done.
Graph shows only wiki pages, color-coded, no noise.
2026-04-07 12:33:01 +03:00

58 lines
1.0 KiB
JSON

{
"collapse-filter": false,
"search": "path:wiki",
"showTags": false,
"showAttachments": false,
"hideUnresolved": true,
"showOrphans": false,
"collapse-color-groups": false,
"colorGroups": [
{
"query": "path:wiki/entities",
"color": {
"a": 1,
"rgb": 12945088
}
},
{
"query": "path:wiki/concepts",
"color": {
"a": 1,
"rgb": 5227007
}
},
{
"query": "path:wiki/sources",
"color": {
"a": 1,
"rgb": 6986069
}
},
{
"query": "path:wiki/meta",
"color": {
"a": 1,
"rgb": 5676246
}
},
{
"query": "path:wiki",
"color": {
"a": 1,
"rgb": 5676246
}
}
],
"collapse-display": true,
"showArrow": true,
"textFadeMultiplier": -1,
"nodeSizeMultiplier": 1.8,
"lineSizeMultiplier": 1.2,
"collapse-forces": false,
"centerStrength": 0.5,
"repelStrength": 20,
"linkStrength": 1,
"linkDistance": 385,
"scale": 0.3391745903861724,
"close": false
}