Skip to main content
The Better Skills web dashboard features an interactive force-directed graph visualization that displays your skills, resources, and their connections in a dynamic network layout.

Viewing the Skill Graph

Accessing the Graph

The skill graph is available in two locations: 1. Vault Dashboard (/vault):
  • Desktop: Background layer behind the skills list panel
  • Mobile: “Graph” tab in the tabbed interface
  • Shows all skills across all enabled vaults
2. Skill Detail Pages (/vault/skills/[id]):
  • Desktop: Sidebar panel (collapsible)
  • Mobile: “Graph” section in the tabbed interface
  • Shows local graph focused on the current skill
The graph automatically updates when you enable/disable vaults, create new skills, or add/remove connections.

Graph Layouts

Desktop dashboard layout:
┌─────────────────────────────────────────────┐
│                                             │
│     [Graph Background - Full Width]         │
│     • Force-directed layout                 │
│     • Vault legend (top-left)               │
│                                             │
│                      ┌──────────────────┐   │
│                      │ Skills List      │   │
│                      │ (floating panel) │   │
│                      └──────────────────┘   │
└─────────────────────────────────────────────┘
Mobile dashboard layout:
┌─────────────────────────────────────────────┐
│  [Graph] [Vaults]                           │
├─────────────────────────────────────────────┤
│                                             │
│     Graph visualization                     │
│     (full screen when active)               │
│                                             │
└─────────────────────────────────────────────┘

Graph Components

Node Types

The graph displays three types of nodes: 1. Skill Nodes
  • Shape: Circular
  • Color: Vault color (enterprise) or default primary color
  • Size: Proportional to number of connections
  • Label: Skill name
2. Resource Nodes
  • Shape: Smaller circular nodes
  • Color: Muted color scheme
  • Label: Resource filename or title
  • Connection: Linked to parent skill
3. Mention Nodes
  • Shape: Circular
  • Color: Relationship-based coloring
  • Purpose: Represent skill-to-skill references

Vault Legend

The graph panel includes a legend (desktop only) showing:
┌─────────────────────────────────────────────┐
│ [■] my-vault personal                       │
│ [■] team-vault enterprise                   │
│ [■] default-vault default                   │
└─────────────────────────────────────────────┘
  • Color square - Vault color indicator
  • Vault name - Display name
  • Vault type - personal, enterprise, or default
  • Disabled state - Grayed out if vault is disabled
The legend only appears on desktop viewports (≥1280px) and shows vaults that have skills in the current graph.

Mouse/Touch Interactions

Pan (drag):
  • Click and drag empty space to pan the graph
  • Touch and drag on mobile devices
Zoom:
  • Scroll wheel to zoom in/out (desktop)
  • Pinch gesture to zoom (mobile)
  • Zoom range: 0.5x to 3x
Select node:
  • Click on a skill node to view details
  • Click on a resource node to open the resource
  • Hover over nodes to see preview cards (desktop)
Reset view:
  • Double-click empty space to reset zoom and center

Node Preview Cards

Hovering over a node (desktop) displays a preview card:
┌─────────────────────────────────────┐
│  [Skill Name]                       │
│  Description preview...             │
│  Vault: my-vault                    │
│  Resources: 5                       │
└─────────────────────────────────────┘
  • Skill nodes: Name, description, vault, resource count
  • Resource nodes: Filename, type, parent skill
  • Auto-hide: Disappears when mouse leaves node

Keyboard Navigation

When the graph has focus:
  • Tab - Cycle through focusable nodes
  • Enter - Select the focused node
  • Arrow keys - Pan the graph viewport
  • +/- - Zoom in/out
  • 0 - Reset zoom to 1x

Resource Relationships

Parent-Child Connections

Resources are connected to their parent skills with:
  • Direct edges - Lines connecting resource to skill
  • Proximity - Resources cluster near their parent
  • Color coding - Subtle color variation by vault
Skills can reference other skills, creating mention relationships:
[Skill A] ──mentions──> [Skill B]
Mention types:
  • Direct mentions - Explicit [[skill-name]] references in markdown
  • Resource mentions - Resources referencing skills
  • Bidirectional - Some mentions create two-way links

Graph Depth

The skill detail page graph shows:
  • Focus node - The current skill (highlighted)
  • First-degree connections - Directly mentioned skills and resources
  • Second-degree connections - Skills mentioned by first-degree skills (if enabled)
The graph uses a force-directed physics simulation to arrange nodes. Highly connected skills naturally move toward the center.

Graph Features

Force-Directed Layout

The graph uses a physics simulation with:
  • Attraction forces - Pull connected nodes together
  • Repulsion forces - Push unconnected nodes apart
  • Center gravity - Prevent nodes from drifting too far
  • Damping - Gradual settling into stable positions

Initial Positioning

Dashboard graph:
  • Center bias: Slight left offset (-0.18x) to accommodate skills panel
  • Mobile scale: 0.9x initial zoom for better fit
Skill detail graph:
  • Centered on the focus skill
  • Initial zoom: 1.0x
  • Auto-fit: Adjusts to show all connections

Responsive Behavior

The graph adapts to viewport changes:
  • Height: Dynamic calculation based on available space
    • Desktop: 75vh (viewport height)
    • Mobile: Minimum 360px
  • Width: Full panel width
  • Re-render: Automatically resizes on window resize
  • Mobile optimization: Simplified rendering for performance

Graph States

Loading State

┌─────────────────────────────────────────────┐
│                                             │
│          [Loading spinner]                  │
│                                             │
└─────────────────────────────────────────────┘
Displayed while fetching graph data from the API.

Error State

┌─────────────────────────────────────────────┐
│                                             │
│      Failed to load graph                   │
│                                             │
└─────────────────────────────────────────────┘
Shown if the graph query fails or times out.

Empty State

If no skills exist or all vaults are disabled:
┌─────────────────────────────────────────────┐
│                                             │
│      No skills to display                   │
│                                             │
└─────────────────────────────────────────────┘

Performance Considerations

Large Graphs

For graphs with many nodes (>100):
  • Virtualization - Only render visible nodes
  • LOD (Level of Detail) - Simplify distant nodes
  • Debounced physics - Reduce simulation frequency when idle
  • Canvas rendering - GPU-accelerated drawing

Mobile Optimization

  • Lower initial scale - 0.9x vs 1.0x on desktop
  • Simplified edges - Thinner lines, fewer decorations
  • Touch targets - Larger hit areas for nodes
  • Reduced animations - Fewer particle effects
The graph rendering is optimized for up to 500 nodes. Very large skill libraries may experience performance degradation.

Graph Customization

Currently, the graph visualization offers:
  • Vault colors - Set in enterprise vault settings
  • Node sizing - Automatic based on connections
  • Layout algorithm - Force-directed (no alternatives yet)
Future releases will add graph customization options including layout algorithms, color schemes, and filtering controls.

Use Cases

Discovery

  • Explore connections between related skills
  • Find orphaned skills with no connections
  • Identify clusters of related knowledge
  • Jump to skills by clicking nodes
  • Trace resource usage across skills
  • Follow mention chains to related content

Analysis

  • Visualize vault distribution by color
  • Identify central skills with many connections
  • Spot knowledge gaps in sparse areas

Managing Skills

Learn how to browse and search skills in the web UI

Vault Management

Configure vaults and manage team collaborations

Build docs developers (and LLMs) love