discoursegraphs4k downloadsAdd semantic structure to your notes with the Discourse Graph protocol.
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.
Discourse Graphs depends on the Datacore plugin, so install Datacore first. Both plugins are available in Obsidian's community plugin browser.
Datacore is required for Discourse Graphs to work, so install and enable it before the Discourse Graphs plugin.
Once Datacore is installed and enabled, add the Discourse Graphs plugin from Obsidian's community plugin browser:
Or install directly from the community plugin page.
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"
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.
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.
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.
There are three ways to create nodes in a note:
Turn text into a node with the node type selection menu
⌘ + \ to open the node type selection menuTurn text into a node from the right click menu
Create discourse node command
To create a relation between nodes:
Add a new relation, choose the desired relation type and the node to link with, then click ConfirmThe Discourse Graphs plugin uses tldraw to create canvases in Obsidian. To create a new canvas, run the command "Create new Discourse Graph Canvas".
Confirm to add this node to the canvas| 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 |
For more information about Discourse Graphs, check out our website and documentation.