Graphene

by suniyao
5
4
3
2
1
Score: 51/100

Description

The Graphene plugin adds a semantic graph that connects notes by content similarity using vector embeddings. Dotted lines show semantic relationships alongside solid wikilinks, with a D3.js physics layout and adjustable connection thresholds. Embeddings can be generated locally through Ollama or through OpenAI with an API key. Word limits, initial word skipping and heading exclusion control which text is embedded. The plugin tracks new and modified files so updates can process only changed notes. Graph controls cover forces, text fading, tags, arrows and animations. Filters handle attachments, unresolved links and orphans, while search matches file names, paths and contents. Color groups use plain text matching rather than advanced search syntax. Semantic controls include links per note and adaptive pruning. Display changes use cached embeddings without regenerating vectors.

Reviews

No reviews yet.

Stats

19
stars
1,036
downloads
1
forks
5
days
6
days
6
days
11
total PRs
0
open PRs
0
closed PRs
11
merged PRs
1
total issues
0
open issues
1
closed issues
88
commits

RequirementsExperimental

  • Ollama with an embedding model installed locally, or an OpenAI API key

Latest Version

6 days ago

Changelog

Graphene 1.3.0 — A more natural graph

Graphene now feels closer to Obsidian’s native graph view, while keeping vector embeddings at the heart of its semantic connections.

Improvements

  • More natural layouts with smoother settling, better node spacing, and stable positions when refreshing.
  • Zoom behavior, node sizing, and label visibility more closely match the native graph.
  • Smoother hover effects, including node highlighting, connected-node fading, and animated label movement.
  • Redesigned controls with familiar Filters, Groups, Display, and Forces sections, plus dedicated embedding controls.
  • Color groups for organizing notes by filename or path.

Fixes and performance

  • Fixed the Attachments toggle: attachments and their links now appear and disappear immediately.
  • Hidden nodes no longer affect layout forces or visible node sizes.
  • Improved attachment and property-link detection.
  • Reduced repeated embedding-cache reads and particle-rendering work.
  • Force settings now remain consistent when the graph updates.

Your existing embeddings remain available—no regeneration is required.

Note: Search and color groups currently use simple text matching; advanced native graph search syntax is not supported.

README file from

Github

Graphene - A Semantic Graph View for Obsidian Based on Content Similarity Using Vector Embeddings

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).

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 :) ❤️

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Text Generator
5 years ago by Noureddine Haouari
Text Generator is a versatile plugin for Obsidian that allows you to generate text content using various AI providers, including OpenAI, Anthropic, Google and local models.
Waypoint
5 years ago by Idrees Hassan
Obsidian plugin that gives you the power to generate dynamic MOCs in your folder notes. Enables folders to show up in the graph view and removes the need for messy tags!
AI image analyzer
3 months ago by swaggeroo
Analyze images with AI to get keywords of the image.
InfraNodus AI Graph View
2 years ago by Nodus Labs
Advanced graph view for Obsidian: text analysis, topic modeling, and AI with InfraNodus AI text analysis tool: https://infranodus.com
Ollama
3 years ago by hinterdupfinger
Enhanced Canvas
2 years ago by RobertttBS
When editing on Canvas, properties and Markdown links to notes are automatically updated, enabling backlinks in Canvas.
Folders to Graph
3 years ago by Ratibus11
Enhance your Obsidian graph view with folders and headings structure!
New 3D Graph
a year ago by Aryan Gupta
Visualize your vault in 3D with a powerful, highly customizable, and filterable graph.
Personal Assistant
5 months ago by edonyzpc
A plugin that harnesses AI agents and streamlining techniques to help you automatically manage Obsidian.
Aloud
3 years ago by Adrian Lyjak
Obsidian TTS Plugin
AI Commander
4 years ago by Simon Yang
Large Language Models
4 months ago by eharris128
The LLM plugin gives Obsidian users access to local and web-based, large language models via several chat interfaces: modal, widget, FAB window, and commands.
Neural Composer
3 months ago by Oscar Campo
AI-Powered Graph Memory for Obsidian
Galaxy View
3 months ago by Rick
Tasks Map
a year ago by NicoKNL
A graph view of your tasks.
Graph Link Types
3 years ago by natefrisch01
Link types for Obsidian graph view.
AI for Templater
3 years ago by TfTHacker
Extends Templater with AI Chat commands using the OpenAI Client Library
AI Image OCR
a year ago by Rootiest
Obsidian plugin for AI-powered text extraction from images
Auto Tag
3 years ago by Control Alt
Easily generate relevant tags for your Obsidian notes.
Semantic Canvas
3 years ago by Aaron Gillespie
An Obsidian Plugin to update note properties using links on Canvases
Semantic Search
4 years ago by bbawj
Semantic search for Obsidian.md
Explain Selection With AI
2 years ago by Ben Wurster
This is my first go at making an Obsidian plugin to elaborate on and describe selected bits of information and their context.
AI Notes Summary
3 years ago by R. Ian Bull (irbull)
An Obsidian plugin that uses ChatGPT to generate a summary of referenced notes
brAIn
3 years ago by lusob
ReverySky Map
3 months ago by MoonSkorch Studio
Obsidian plugin rendering the vault graph as an interactive 3D star map with Unity WebGL
Silicon AI
3 years ago by deepfates
Add some intelligence to your notes with Silicon AI for Obsidian
Vault LLM Assistant
a year ago by Brians Tjipto
An obsidian notebook plugin that uses LLM (OpenAI or Gemini) to answer questions and create new notes about your vault
Canvas LLM Extender
3 years ago by Pasi Saarinen
Let the OpenAI LLM add nodes to your Obsidian canvas
Inline Local Graph
9 months ago by TKOxff
Inline Local Graph of Obsidian
text2anki-openai
3 years ago by Mani Batra
Attachments MD Indexer
2 years ago by Ian Inkov
Converts Obsidian canvas files to markdown index files, making canvas content searchable and graph-viewable within Obsidian.
Vector Search
2 years ago by Ashwin A Murali
Obsidian plugin for Vector Search
Intelligence
3 years ago by John Mavrick
Mini-RAG
a year ago by John Wheatley
CoCo AskAI
3 years ago by Yukee
CoCo-AskAI is an Obsidian plugin that enables AI-powered note assistance, enhancing the writing experience with customizable functions.
Zettelkasten Branch Tracker
a year ago by James Cussen
Obsidian Graph View Plugin for Zettelkasten Notes
Linked Graph Navigator
2 months ago by woonyong-kr
Follow links from the current Obsidian note in written order, using a sidebar outline or graph.
ai-writer
2 years ago by Donovan Ye
A plugin for Obsidian that uses AI to help you write better and faster.
LLM Tagger
2 years ago by David Jayatillake
MostUsed
2 years ago by Levi Kingma
Obsidian plugin that shows the words you use most.
LLM docs
a year ago by Shane Lamb
Chat with LLM in regular markdown files in Obsidian
AI Companion
10 months ago by Kowshik
An Obsidian plugin that provides AI assistance using OpenAI's API, triggered by the `/ai` slash command.
You and Your Research
2 years ago by Neo Zhang
AI-AnkiSync
2 years ago by goev
Notes Refresher
2 years ago by Connor Park
Obsidian plugin for AI-generated note refreshers
NoteSmith
a year ago by csteamengine
Atomizer
2 years ago by Zac Bagley
An AI-Driven Obsidian plugin designed to turn lengthy text into insightful atomic notes. Perfect for turning source notes into ideas in a Zettelkasten workflow.
Tezcat
a year ago by Max Margenot
Tezcat is an Obsidian plugin that uses AI embeddings to index your vaults and integrate search over your thoughts into your workflow.
Coherence Wizard
3 days ago by coherence-wizard
Obsidian Plugin With Powerful Tools For Creating Order and Coherence