Discourse Graph

by discoursegraphs
5
4
3
2
1
Score: 54/100

Description

The Discourse Graphs plugin turns research notes into structured discourse objects so questions, claims, evidence and sources can be created, linked and revisited as part of a larger argument. It lets you define custom node types, relation types and saved relations, then use those structures inside notes or on a dedicated canvas view for mapping connections. Text can be converted into nodes from a shortcut, context menu or command palette, while relations can be added from a sidebar panel or drawn directly between cards on a canvas. This makes it suited to academic workflows where people need clearer reasoning trails, reusable evidence chains and a more deliberate way to build knowledge over time.

Reviews

No reviews yet.

Stats

31
stars
13,466
downloads
3
forks
95
days
5
days
15
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
1
total issues
0
open issues
1
closed issues
38
commits

Latest Version

16 days ago

Changelog

Changelog

v1.8.0

Features

  • Create relations from the canvas: Dragging an arrow between two node types with no relation type now opens a menu with Add existing… and Create new. Picking or creating a type links it to that node-type pair and saves it.
  • Node card context menu for everyone: Selecting a node card on a canvas opens the tabbed context menu. The admin flag and the legacy floating "Relations" overlay are gone.
  • Candidate nodes in advanced search: With "Show candidate nodes" on, lines tagged with a node type's tag (e.g. #clm-candidate) appear in Advanced Node Search alongside real nodes, filtered by node type and opened at the tagged line.
  • Preview jumps to the match: Selecting a candidate result scrolls the preview to its tagged line and highlights it for about 3 seconds.
  • Links on canvas text shapes: Text shapes on the canvas can carry a link, and clicking it navigates.
  • Cross-space relations: Obsidian publishes relations across spaces, and imports a relation whose two ends are both in the vault even when a third space created it.
  • Unsupported format placeholders are rejected: The Format field in node type settings now blocks saving any placeholder other than {content} and names the offending ones.
  • New default Source format: The Source node type now defaults to @{content} instead of SRC - {content}.
  • Mobile support: The plugin now loads and runs on Obsidian mobile, though functionality and support might be limited. Desktop behaviour is unchanged.

Bug Fixes

  • Non-node results in advanced search: Advanced Node Search only lists notes whose node type is configured; the "Unknown type" row is gone.
  • Formats with regex characters: A format whose literal text contains ( ) * ^ $ | { } \, such as Claim (draft) - {content}, now matches its own titles.
  • Imported formats make valid filenames: A node type imported from a Roam schema stores [[CLM]] - {content} as CLM - {content}, so its files decorate correctly.
  • Import templates without a title: An imported node type whose template has no title now gets a template file named <node type> (from <source space>).
  • Relation sync grants: The sync pass now grants the relation type and triple when it publishes a relation.
  • Relation import provenance: Triples created by relation import record the source triple's RID, and existing bad triples are repaired.
  • Group management page error: Fixed the intermittent error message on the group management page.
  • Fewer query timeouts: Shared-node and content queries were sped up (my_concepts 78–326 ms → 30–41 ms; my_contents and friends 120–150 ms → 3–4 ms), so the plugin no longer times out on them.

Internal

  • Shared published-group check: getPublishedGroupIdsByRid returns the user's groups that can read an imported node.
  • Shared relation triple matching: The relation triple matching rule moved into packages/database.
  • View privileges: Revoked write privileges on the my_spaces and my_accounts views.
  • Tests: Added Roam/Obsidian round-trip tests and moved Obsidian import tests onto the existing YAML tooling.

README file from

Github

Overview

Break down the research process into atomic units to augment the knowledge synthesis process. Create distinct objects for questions, claims, evidence, hypotheses or choose your own to suit your specific needs. These objects can then be related, resurfaced, and reused throughout your research journey to help you efficiently build arguments and create new knowledge.

Installation

Discourse Graphs depends on the Datacore plugin, so install Datacore first. Both plugins are available in Obsidian's community plugin browser.

1. Install Datacore

Datacore is required for Discourse Graphs to work, so install and enable it before the Discourse Graphs plugin.

  1. Open Obsidian settings
  2. Go to Community plugins and disable Restricted Mode
  3. Click "Browse", search for "Datacore", then install and enable it

2. Install Discourse Graphs

Once Datacore is installed and enabled, add the Discourse Graphs plugin from Obsidian's community plugin browser:

  1. Open Obsidian → Settings → Community plugins → Browse
  2. Search for "Discourse Graphs", then install and enable it

Or install directly from the community plugin page.

Getting started

The Discourse Graphs plugin gives you the ability to add additional semantic structure to your notes via specified page types (nodes) and relation types that model scientific discourse and enable more complex and structured knowledge synthesis work.

The plugin ships with several node types to provide a foundation for your scientific argumentation: Question, Claim, Evidence, and Source, as well as complementary relation types that can be used between them.

To see the default settings or begin adding your own node and relation types, open the Discourse Graphs plugin settings menu by navigating to it in Obsidian's settings menu or using the command: "Open Discourse Graphs settings"

Defining node types

To define a new node type for use in your vault navigate to the Node Types menu and click Add Node Type. Doing so will take you to an editing menu where you can choose the details of your new node type including its title, a description, a template to use, a color to represent that type in your vault, and more.

Defining relation types

The Discourse Graphs plugin ships with four default relation types: supports, opposes, informs, and derivedFrom. You can add your own in the Relation Types menu by clicking the Add relation type button and filling out the text fields that define your new type.

Defining relations

With nodes and relation types ready, the last step is to connect them in the Discourse Relations menu. Click Add Relation then choose a source node, relation type, target node, and then click Save Changes. These relations are now ready to use in your notes and canvases.

Usage

In notes

Creating nodes

There are three ways to create nodes in a note:

Turn text into a node with the node type selection menu

  1. Highlight the text that you want to turn into a node
  2. Use the hotkey ⌘ + \ to open the node type selection menu
  3. Choose your node type

Turn text into a node from the right click menu

  1. Highlight the text that you want to turn into a node
  2. Right-click on the highlighted text and navigate to the menu option "Turn into discourse node"
  3. Choose your node type

Create discourse node command

  1. Search for and select "Create discourse node" from the command palette
  2. In the node creation dialog, choose your node type and the title of your new node then click confirm
  3. Your new node is created and a link to it is added to the location of your cursor

Creating relations

To create a relation between nodes:

  1. Open the page of the node that you want to create the relation for
  2. Run the command "Toggle discourse context" which will open a widget in the right sidebar
  3. From there, click Add a new relation, choose the desired relation type and the node to link with, then click Confirm
  4. The relation is now created and can be viewed or removed from this Discourse Context panel

On a canvas

The Discourse Graphs plugin uses tldraw to create canvases in Obsidian. To create a new canvas, run the command "Create new Discourse Graph Canvas".

Creating nodes

  1. Click on the Discourse Graphs icon-button located in the bottom toolbar of the canvas
  2. Drag the desired node type from the menu that appears in the top-right corner of the interface onto the canvas
  3. Search for or create a new node with the input field in the node creation modal
  4. Click Confirm to add this node to the canvas

Creating relations

  1. Click on the Discourse Graphs icon-button located in the bottom toolbar of the canvas to show a menu in the top right of the interface
  2. From the menu, select the desired relation type that you would like to draw between nodes
  3. With the relation type selected, click and drag from one node card to another to create a relation between those nodes

Commands

Name Description
Bulk identify discourse nodes Scan vault to identify notes that follow the title pattern to be a node
Create discourse node Opens the node creation dialog modal
Create new Discourse Graph canvas Creates a tldraw canvas
Open Discourse Graphs settings Takes you to the plugin settings menu
Open node type menu Opens menu that allows you to choose the node type that you wish to apply to selected text
Switch to Discourse Graph canvas view Renders tldraw canvas if markdown is displayed
Switch to discourse markdown edit Displays markdown of a rendered tldraw canvas
Toggle discourse context Opens a widget in the sidebar which displays relations of the active node

Documentation

For more information about Discourse Graphs, check out our website and documentation.

Get involved

  1. Join our growing community of academics, researchers, and thinkers on Slack 💬
  2. Are you a lab or researcher interested in piloting the plugin with some guidance from the team? Send us an email or DM on Slack!
  3. Discourse Graphs is open source. See CONTRIBUTING.md for how to report bugs or propose changes.

Release process

Beta releases happen automatically: every PR merged to main that touches apps/obsidian/** builds the plugin, cuts a new x.y.z-beta.n GitHub release (.github/workflows/obsidian-main.yaml), and syncs the merged PR/issue onto whichever Linear release is currently in progress.

To ship an official stable release:

  1. Make sure a Linear release with the target version exists (e.g. 1.6.0).
  2. From the Actions tab, manually run Stable Obsidian Release (.github/workflows/obsidian-release.yaml) with the version input set to that version.

That single run publishes the stable GitHub release, bumps apps/obsidian/package.json and apps/obsidian/manifest.json, pushes to the mirror repo, and syncs and completes the matching Linear release.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Advanced Canvas
3 years ago by Developer-Mike
⚡ Supercharge your canvas experience! Graph view integration and unlimited styling options empower flowcharts, dynamic presentations, and interconnected knowledge.
Argument Map with Argdown
5 years ago by amdecker
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.
Augmented Canvas
3 years ago by Léopold Szabatura
Supercharge your Obsidian canvas experience with AI features.
Auto Keyword Linker
10 months ago by Daniel Rhodes
Stop manually typing [[brackets]] around recurring terms. Configure keywords with variations once, and automatically link them as you write or across your entire vault.
Better Canvas Lock
3 years ago by Mara-Li
An Obsidian plugin that improve the read-only mode of Canvas.
BibTeX Scholar
a year ago by Qilong Liu
Make your literature review and writing contextual and frictionless—right inside your Obsidian vault!
Breadcrumbs
6 months ago by skepticmystic
Add typed-links to your Obsidian notes
Canvas Bases
3 months ago by callumalpass
Canvas-style layouts and JSON Canvas materialization for Obsidian Bases.
Canvas Card Background Remover
3 years ago by luxmargos
This Obsidian plugin allows you to make the background of cards transparent in the Canvas for specific embed types, including Image (png), Canvas, and even Markdown.
Canvas Connect
a year ago by camadkins
Dynamically optimize connection anchors in Obsidian Canvas view
Canvas Conversation
4 years ago by André Baltazar
A plugin for Obsidian that allows you to create a canvas conversation using ChatGPT.
Canvas Daily Note
3 years ago by Andrew McGivery
A plugin for Obsidian that allows you to add a daily note node to the canvas that will always show todays note.
Canvas Explorer
2 years ago by Henri Jamet
A plugin that enables users to explore their vault by iteratively adding or ignoring linked notes, ultimately generating a customizable canvas that visually represents the preserved notes and their connections.
Canvas Filter
4 years ago by Ivan Koshelev
Obsidian Canvas plugin that let's you show only pages / arrows with specific tags / colors / connections.
Canvas Folding
3 months ago by hkohlhoff
Collapse and expand hierarchical branches in Obsidian Canvas.
Canvas Format Brush
2 years ago by wenlzhang
An Obsidian plugin that allows you to copy and paste formatting attributes (size and color) between canvas elements, similar to the format painter in Word.
Canvas Link Optimizer
3 years ago by khaelar
An Obsidian plugin that optimizes canvas links by displaying a page thumbnail.
Canvas Link to Group
a year ago by TGRRRR
Plugin for Obsidian Canvas enabling direct links to specific groups within canvas files for improved navigation
Canvas Links
3 years ago by aqav
Show the links between "Canvas" and "File"
Canvas LLM Extender
3 years ago by Pasi Saarinen
Let the OpenAI LLM add nodes to your Obsidian canvas
Canvas Mindmap
4 years ago by Boninall
A plugin to make your canvas work like a mindmap.
Canvas Mindmap Helper
3 years ago by Tim Smart
Canvas minimap
3 years ago by ifree
Obsidian canvas minimap
Canvas Picture in Picture
2 years ago by hypersphere
Canvas Presentation
4 years ago by Boninall
A plugin to help you display cards based on sequence.
Canvas Random Note
4 years ago by jmilldotdev
Random notes from search on the Obsidian canvas
Canvas Send to Back
3 years ago by Zachatoo
Send a card in Obsidian Canvas to be behind all other cards.
Canvas2Document
3 years ago by slnsys
Plugin for Obsidian to convert a complete Canvas to a long form document
CardNote
3 years ago by cycsd
Help you extract your thoughts more quickly in canvas
Caret
2 years ago by Jake Colling
Caret, an Obsidian Plugin
Charted Roots
5 months ago by John Banister
Professional genealogical tools for Obsidian. Interactive family charts, geographic maps, PDF reports, GEDCOM/Gramps import-export, evidence tracking, and fictional calendar support. Built for genealogists, historians, and worldbuilders.
Circuit Sketcher
2 years ago by Code Forge Temple
A plugin for Obsidian to draw circuits on a canvas.
Collapse Node
3 years ago by Boninall
A node collapsing plugin for Canvas in Obsidian.
Connections
10 months ago by Eric Van Cleve
Crafty
3 years ago by liolle
Add tooltip to your obsidian canvas's nodes and navigate between nodes
draw.io
5 months ago by somesanity
A plugin for Obsidian that integrates the draw.io editor into Obsidian.
Enhanced Canvas
2 years ago by RobertttBS
When editing on Canvas, properties and Markdown links to notes are automatically updated, enabling backlinks in Canvas.
Excalidraw
6 years ago by Zsolt Viczian
A plugin to edit and view Excalidraw drawings in Obsidian
Folder Canvas
2 years ago by Nancy Lee
Generate a canvas view of your folder structure
Galaxy View
3 months ago by Rick
ICOR for Life - PDF Annotation
2 months ago by Thomas Roedl
Highlight text or draw a box on a PDF and get a note in the vault for it, with a deep link back, a card on any canvas by drag and drop, and a sidebar of every highlight in the open PDF. Part of the ICOR for Life suite.
Index Checker
3 years ago by Pavlo Deshko
Repo for Index Checker plugin for Obsidian
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
Karpathy LLM Wiki
3 months ago by Greener-Dalii
Karpathy's LLM Wiki implementation plugin for Obsidian - turns notes and PDFs into a linked, LLM-powered knowledge base with entity pages, concept pages, graph-powered Q&A, and local-first privacy.
Link Exploder
4 years ago by Ben Hughes
Lovely-Mindmap
3 years ago by shaun
Build your own knowledge graph with smiles :-)
Neural Composer
4 months ago by Oscar Campo
AI-Powered Graph Memory for Obsidian
Node Auto Resize
2 years ago by Boninall
Ontomark
a month ago by DreamLab AI
Offline ontology reasoning, SPARQL and reviewed frontmatter edits for Obsidian
Optimize Canvas Connections
4 years ago by Félix Chénier
An Obsidian plugin that declutters a canvas by reconnecting notes using their nearest edges
Related Notes
2 years ago by Oluwasanya Awe
Search In Canvas
2 years ago by Boninall
Semantic Canvas
3 years ago by Aaron Gillespie
An Obsidian Plugin to update note properties using links on Canvases
Send to Canvas
a year ago by wenlzhang
An Obsidian plugin that allows you to send tasks, blocks, and notes to Canvas files as plain text, links, and embeds.
Simple CanvaSearch
3 years ago by ddalexb
Tabula Rasa
3 months ago by Jeremiah Beatham
Timeline Canvas Creator
a year ago by chris-codes1
Quickly create timeline structured canvases in Obsidian.