People Graph

unlisted

by yashmurty

A visual force-directed graph of people and friends in your vault with photo nodes, closeness-based positioning, and company clustering.

1 starsUpdated 1mo agoMIT
View on GitHub

Obsidian People Graph

A visual force-directed graph of people and friends in your vault. See your personal network as an interactive map with photo nodes, closeness-based positioning, and company clustering.

People Graph

Features

  • Force-directed graph — people are rendered as circular nodes connected by relationship edges
  • Closeness positioning — nodes with higher closeness scores orbit closer to the center "You" node
  • Company clustering — people from the same company are grouped together
  • Photo nodes — circular photos from your vault, with a default avatar silhouette fallback
  • Closeness ring colors — green (8-10), orange (4-7), gray (1-3)
  • Click to open — click any person node to open their note
  • Hover tooltips — see name, company, role, and closeness at a glance
  • Zoom and pan — scroll to zoom, drag to pan, double-click to reset
  • Live updates — graph refreshes automatically when you edit a note
  • Configurable — choose which frontmatter field identifies person notes, exclude folders, toggle edges, clustering, and more

Setup

1. Install the plugin

Search for "People Graph" in Settings > Community Plugins > Browse, then click Install and Enable.

2. Create person notes

Add frontmatter to your notes to identify them as people:

---
type: person
name: Jane Doe
photo: attachments/jane.jpg
company: Acme Corp
role: Engineer
closeness: 8
knows:
  - "[[John Smith]]"
  - "[[Mike Lee]]"
tags:
  - people
---

Field reference

FieldTypeRequiredDescription
typestringNoDefault field used to identify person notes (configurable in settings)
namestringNoDisplay name on graph node (falls back to filename)
photostringNoVault-relative path to photo file
companystringNoUsed for clustering nodes
rolestringNoShown on hover tooltip
closenessnumber 1-10NoDistance from center (default: 5). 10 = closest, 1 = furthest
knowswikilink(s)NoEdges drawn between these people. Supports array or single value
tagsstring arrayNoFor filtering in future versions
is_selfbooleanNoMark this note as "you" — becomes the center node of the graph

The detection field and value are configurable in settings. For example, you can use tags: [people] instead of type: person.

To mark one of your person notes as "you" (the center of the graph), add is_self: true to its frontmatter:

---
type: person
name: Your Name
is_self: true
photo: attachments/me.jpg
---

3. Open the graph

  • Click the people icon in the left ribbon, or
  • Open the command palette (Cmd/Ctrl+P) and search for "Open People Graph"

Settings

SettingDescriptionDefault
Frontmatter fieldWhich field identifies person notestype
Field valueWhat value to matchperson
Exclude pathsComma-separated folders/files to skipTemplates
Enable clusteringGroup nodes by companyOn
Cluster strengthHow strongly same-company nodes attract0.3
Show edgesDraw lines between people who know each otherOn
Edge opacityOpacity of relationship lines0.4
Show closeness ringColor node ring by closeness scoreOn

Pro (Coming Soon)

  • Unlimited people (free tier: 20 interactive nodes)
  • Export graph as PNG/SVG
  • Filter view by tag or company
  • Color themes

Development

# Install dependencies
npm install

# Build for production
npm run build

# Development mode (watch)
npm run dev

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.