The graph-grammar feature enables the system to parse formal discourse relation
edges(e.g., support, oppose, inform, consistent-with) from user-defined conventions of prose writing and outlining, making it possible for you to write and outline very similarly to how you would normally write/outline for your own thinking, and author edges between nodes in a formal discourse graph as a natural byproduct.
(define your own patterns of writing and outlining (or use/fork patterns from other users) that the extension recognizes and translates into formal discourse graph relations; the system shows a preview of how the patterns you describe map to patterns of Roam writing/outlining)
(example parse: from informal prose outline on the left to a formal discourse graph on the right that recognizes claim (green) and evidence (pink) typed nodes and support relationships between evidence and claim)
access this on the [[roam/js/discourse-graph]] configuration page (created after you install the extension)
you can define your own nodes and relation patterns (currently the "source" node type is hard-coded to pages that start with
extension comes preloaded with three patterns:
inform: EVD informs QUE if EVD is referenced in body of QUE page
support: EVD supports CLM if block that references EVD is indented under a block that references the
Supported Bypage, and that block is indented under a block that references CLM
oppose: EVD supports CLM if block that references EVD is indented under a block that references the
Opposed Bypage, and that block is indented under a block that references CLM
demo of defining new relation patterns (no audio for now due to technical issue, but at least shows the functionality).