Skip to content

Releases: mrjw717/obsidian-code-graph

1.0.6

Choose a tag to compare

@github-actions github-actions released this 08 Jul 23:14

Code Graph

Visualize how your code files connect — imports, calls, inheritance, implements, comment-links, ADRs, and tests — as an interactive graph alongside your notes.

What's in this release

  • Tree-sitter AST parsing for TypeScript, TSX, JavaScript, and Python (structural edges: imports, calls, inherits, implements, uses-type, contains, symbol nodes)
  • Regex-based imports extraction for CSS, C, C++, Go, Rust, Java, Lua, and PHP
  • Documentation protocol: @see, @tested-by, @adr, @depends-on, @domain, @status, @author tags + note frontmatter (related-code, domain, status, tags, author)
  • Seed domains command: auto-discovers domain vocabulary, stamps @file/@domain/@status headers into code files
  • Interactive graph: force-directed layout with color modes (language, domain, status, community), zone-aura heatmaps, color groups, node sizing, neighborhood filtering, dead-code highlighting, hover-focus spotlight
  • Self-contained install: tree-sitter WASM grammars embedded as base64 in main.js — no external downloads needed
  • 27 unit tests: tagExtractor + seedDomains idempotency

Requirements

  • Obsidian 1.7.2 or later
  • Desktop only (uses Node fs for tree-sitter WASM loading)

1.0.5

Choose a tag to compare

@github-actions github-actions released this 08 Jul 22:51

Code Graph

Visualize how your code files connect — imports, calls, inheritance, implements, comment-links, ADRs, and tests — as an interactive graph alongside your notes.

What's in this release

  • Tree-sitter AST parsing for TypeScript, TSX, JavaScript, and Python (structural edges: imports, calls, inherits, implements, uses-type, contains, symbol nodes)
  • Regex-based imports extraction for CSS, C, C++, Go, Rust, Java, Lua, and PHP
  • Documentation protocol: @see, @tested-by, @adr, @depends-on, @domain, @status, @author tags + note frontmatter (related-code, domain, status, tags, author)
  • Seed domains command: auto-discovers domain vocabulary, stamps @file/@domain/@status headers into code files
  • Interactive graph: force-directed layout with color modes (language, domain, status, community), zone-aura heatmaps, color groups, node sizing, neighborhood filtering, dead-code highlighting, hover-focus spotlight
  • Self-contained install: tree-sitter WASM grammars embedded as base64 in main.js — no external downloads needed
  • 27 unit tests: tagExtractor + seedDomains idempotency

Requirements

  • Obsidian 1.7.2 or later
  • Desktop only (uses Node fs for tree-sitter WASM loading)

1.0.4

Choose a tag to compare

@mrjw717 mrjw717 released this 08 Jul 21:02

Code Graph 1.0.4

Remove hardcoded testbench values

  • Empty colorGroups default (was 4 calculator-specific groups)
  • v9 migration clears old calculator defaults for existing users
  • Full create/edit/delete UI for color groups in the side panel
  • Auto-seed groups button discovers domains from the graph
  • diagnose-graph.ts reads paths from env/argv with fallbacks

Scale to monolithic codebases (3000+ files, 80k edges)

  • maxNodes render cap with top-N-by-degree sampling + auto-degrade
  • buildData derived-data cache keyed off model.builtAt
  • Folder aggregation + community clustering (self-evolving)
  • Saved/cached converged layouts
  • LOD for zone auras and edge animations

Physics — golden-ratio spring system

  • Node mass proportional to degree x phi — hubs anchor, leaves resist
  • Per-edge rest length: intra-folder = base/phi, cross-folder = base*phi
  • Stretchiness slider (default 1.618 = golden ratio)
  • Drag-to-pin / drag-to-unpin
  • Semi-transparent edges during canvas pan
  • Isolated nodes placed in golden-angle ring

Edge animation — neural-net-visualizer style

  • Electric pulse with radial-gradient glow + additive blending
  • Bullet-time: non-connected edges freeze when hovering
  • Pulses follow exact Bezier curve via vis-network via points
  • LOD: dot-only at low zoom, full detail at high zoom

Rendering fixes

  • Always-curved edges with parallel-edge fan-out
  • Fixed vis-network grey hover override
  • Hover focus shows ALL connections (cap raised 50 to 500)
  • Zone auras only draw after layout stabilizes
  • Camera state saved/restored across toggles

1.0.3

Choose a tag to compare

@github-actions github-actions released this 08 Jul 06:20

Code Graph

Visualize how your code files connect — imports, calls, inheritance, implements, comment-links, ADRs, and tests — as an interactive graph alongside your notes.

What's in this release

  • Tree-sitter AST parsing for TypeScript, TSX, JavaScript, and Python (structural edges: imports, calls, inherits, implements, uses-type, contains, symbol nodes)
  • Regex-based imports extraction for CSS, C, C++, Go, Rust, Java, Lua, and PHP
  • Documentation protocol: @see, @tested-by, @adr, @depends-on, @domain, @status, @author tags + note frontmatter (related-code, domain, status, tags, author)
  • Seed domains command: auto-discovers domain vocabulary, stamps @file/@domain/@status headers into code files
  • Interactive graph: force-directed layout with color modes (language, domain, status, community), zone-aura heatmaps, color groups, node sizing, neighborhood filtering, dead-code highlighting, hover-focus spotlight
  • Self-contained install: tree-sitter WASM grammars embedded as base64 in main.js — no external downloads needed
  • 27 unit tests: tagExtractor + seedDomains idempotency

Requirements

  • Obsidian 1.7.2 or later
  • Desktop only (uses Node fs for tree-sitter WASM loading)

1.0.2

Choose a tag to compare

@github-actions github-actions released this 08 Jul 05:05

Code Graph

Visualize how your code files connect — imports, calls, inheritance, implements, comment-links, ADRs, and tests — as an interactive graph alongside your notes.

What's in this release

  • Tree-sitter AST parsing for TypeScript, TSX, JavaScript, and Python (structural edges: imports, calls, inherits, implements, uses-type, contains, symbol nodes)
  • Regex-based imports extraction for CSS, C, C++, Go, Rust, Java, Lua, and PHP
  • Documentation protocol: @see, @tested-by, @adr, @depends-on, @domain, @status, @author tags + note frontmatter (related-code, domain, status, tags, author)
  • Seed domains command: auto-discovers domain vocabulary, stamps @file/@domain/@status headers into code files
  • Interactive graph: force-directed layout with color modes (language, domain, status, community), zone-aura heatmaps, color groups, node sizing, neighborhood filtering, dead-code highlighting, hover-focus spotlight
  • Self-contained install: tree-sitter WASM grammars embedded as base64 in main.js — no external downloads needed
  • 27 unit tests: tagExtractor + seedDomains idempotency

Requirements

  • Obsidian 1.7.2 or later
  • Desktop only (uses Node fs for tree-sitter WASM loading)

1.0.1

Choose a tag to compare

@github-actions github-actions released this 08 Jul 04:53
release: v1.0.1 — clean release (1.0.0 pointed to old upstream tag)