Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Graphene

suniyaosuniyao1k downloads

Creates a semantic graph based on content similarity using vector embeddings.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates7

Graphene semantic view Graphene graph controls

Graphene transforms your Obsidian vault into an interactive, semantic knowledge graph. Unlike the standard graph view which only shows explicit links, Graphene uses vector embeddings to discover and visualize hidden connections between your notes based on their content similarity.

Key Features

  • Semantic Connections: Visualizes content similarity as dotted lines, revealing relationships you didn't explicitly link.
  • Hybrid Visualization: Combines standard wikilinks (solid lines) with semantic similarity (dotted lines) in a single view.
  • Interactive Physics: Powered by D3.js, featuring a responsive force-directed layout you can tweak in real-time.
  • Smart Embeddings: Optimizes token usage by choosing processed word limit and initial word skipping, saving costs and processing time.
  • Granular Control:
    • Adjust connection thresholds.
    • Customize physics (repulsion, link distance, center force).
    • Toggle tags, arrows, and animations.
    • Native Obsidian-style sliders for fine-tuning.

Installation

Manual Installation

  1. Clone this repo to your vault's .obsidian/plugin/ directory.
  2. Reload Obsidian and enable Graphene in Community Plugins.

This plugin is yet not featured in Obsidian plugin directory, but we are actively working on it (and waiting for the queue to be reviewed)!

Setup & Configuration

To power the semantic connections, Graphene needs to generate vector embeddings for your notes. You can choose between Ollama (local, free) or OpenAI (cloud, paid).

Option 1: Ollama (Recommended - Free & Private)

Ollama runs entirely on your machine with no API costs.

  1. Install Ollama: Download from ollama.ai
  2. Pull an embedding model:
    ollama pull nomic-embed-text
    
  3. Configure Plugin:
    • Go to Settings > Graphene
    • Select Ollama (local) as the embedding provider
    • Default endpoint is http://localhost:11434 (change if needed)
    • Default model is nomic-embed-text
  4. Generate Embeddings: Click Generate all in the settings

Popular Ollama embedding models:

  • nomic-embed-text - Good balance of speed and quality (768 dimensions)
  • mxbai-embed-large - Higher quality (1024 dimensions)
  • all-minilm - Fastest, smaller model (384 dimensions)

Option 2: OpenAI (Cloud)

  1. Go to Settings > Graphene
  2. Select OpenAI (API key required) as the embedding provider
  3. Enter your OpenAI API Key
  4. Click Generate all

Usage

Opening the Graph

  • Click the Graphene view icon (network dots) in the left ribbon.
  • Or use the Command Palette (Cmd/Ctrl + P) and search for "Graphene: Open graph view".

Controls

The control panel on the right allows you to customize the graph:

  • Display: Toggle tags, arrows, and adjust text fading.
  • Forces: Tweak the physics engine.
    • Repel Force: How much nodes push apart.
    • Link Distance: How long the connections are.
    • Center Force: How strongly nodes are pulled to the middle.
  • Reset: Restore default settings with a single click.

Generating Embeddings

  • Go to the plugin settings to see the Embedding status.
  • It tracks which files are new, modified, or up-to-date.
  • Click Update embeddings to process only the changed files.

Tips:

  • If you have a fixed style of notes (e.g., meeting notes), consider using the Skip initial words and Exclude headings from embedding settings to prevent correlation based on template similarity.
  • If you have a large vault, adjust the Word limit for embeddings to reduce token usage and speed up embedding generation.

Troubleshooting: To clear all embeddings when encountering issues, use the Clear all embeddings button in settings.

Development

# Clone the repository
git clone https://github.com/suniyao/obsidian-graphene.git

# Install dependencies
npm install

# Start development build
npm run build

# With Hot Reload
npm run dev

For hot reloading during development, install Hot Reload.

License

GPL-3.0

Native-style graph controls

Graphene uses the native graph's zoom response, square-root node and label scaling, logarithmic text fading, and screen-space link thickness. Display sliders use multipliers (1 is the default); force controls use the native ranges and response curves. Existing saved force settings are converted for display without changing their underlying values. Reset restores the new graph defaults without deleting cached embeddings or changing the similarity threshold.

The panel contains Filters, Groups, Display, Forces, and Embeddings. Filters include tags, attachments, unresolved links, and orphans. Search matches file names, paths, and contents. Color groups match plain text in file names or paths; the first matching group wins. Search and groups do not implement Obsidian's advanced search-query syntax.

The Embeddings section controls semantic links, similarity threshold, links per note (0 means uncapped), adaptive pruning, and particle appearance. Dotted semantic connections remain distinct from solid explicit links. These controls use locally cached embeddings; changing display options does not regenerate vectors.

Run npm test for layout, zoom/display, filter/link, and semantic-link checks. Run npm run build to update the installed plugin bundle.

Contribution

prototype by suniyao and sanika-n at pair '25 :) ❤️

HealthExcellent
ReviewCaution
About
Transform your Obsidian vault into an interactive semantic knowledge graph that reveals hidden content-similarity connections via vector embeddings. Show hybrid graphs combining wikilinks (solid) and semantic links (dotted), navigate with a responsive D3 force layout, and generate embeddings locally (Ollama) or with OpenAI.
VisualizationAILinks
Details
Current version
1.3.0
Last updated
13 hours ago
Created
Last year
Updates
7 releases
Downloads
1k
Compatible with
Obsidian 0.15.0+
Platforms
Desktop only
License
GPL-3.0
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
suniyaosuniyao
stephyao.com
GitHubsuniyao
  1. Community
  2. Plugins
  3. Visualization
  4. Graphene

Related plugins

Excalidraw

Visual PKM powerhouse. Create and edit Excalidraw drawings.

ExcaliBrain

An interactive, structured mind-map of your Obsidian vault.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Breadcrumbs

Visualise the hierarchy of your vault using a breadcrumb trail or matrix view.

Strange New Worlds

Reveal networked thought and the strange new worlds created by your vault.

Vault Graph

Your whole vault as one disc: notes packed into folder wedges on a fixed lattice, sized by links, with a growth heatmap, timeline, search and per-folder filters. Deterministic, not force-directed - the same vault always draws the same picture.

NanoBanana PRO

Generate Knowledge Posters (infographics) from your notes using AI. Supports OpenAI, Gemini, Anthropic, and xAI.

Advanced Canvas

Supercharge your canvas experience. Create presentations, flowcharts and more.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Copilot

Run AI agents such as Claude Code, Codex, and OpenCode inside your vault. Turn your second brain into a smart assistant that gets knowledge work done.