@@ -19,17 +19,17 @@ For more information about Discourse Graphs, check out our website at [https://d
19191 . Open Obsidian Settings
20202 . Go to Community Plugins and disable Restricted Mode
21213 . Click "Browse" and search for "BRAT"
22- ![ BRAT] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2Faar5LKpLOk.png?alt=media&token=6f51ac48-19d3-4bb5-9a07-7b32cfa6afe6 )
22+ ![ BRAT] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2Faar5LKpLOk.png?alt=media&token=6f51ac48-19d3-4bb5-9a07-7b32cfa6afe6 )
23234 . Install BRAT and enable it
2424
2525#### Install DataCore via BRAT
2626
27271 . Open Obsidian Settings
28282 . Go to "Community Plugins" → "BRAT"
29293 . Click "Add Beta Plugin"
30- ![ Add plugin] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FdMtstUHPXe.png?alt=media&token=3f139ab9-9802-404d-9554-4a63bac080c5 )
30+ ![ Add plugin] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FdMtstUHPXe.png?alt=media&token=3f139ab9-9802-404d-9554-4a63bac080c5 )
31314 . Enter the repository URL: ` https://github.com/blacksmithgu/datacore ` and choose "Latest version"
32- ![ Add datacore] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FEY3vNGt1Rf.png?alt=media&token=32c60ff1-5272-4cde-8b5f-8f049fb2cf50 )
32+ ![ Add datacore] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FEY3vNGt1Rf.png?alt=media&token=32c60ff1-5272-4cde-8b5f-8f049fb2cf50 )
33335 . Check the box for "Enable after installing the plugin"
34346 . Click "Add plugin"
3535
@@ -38,101 +38,103 @@ For more information about Discourse Graphs, check out our website at [https://d
38381 . Open Obsidian Settings
39392 . Go to "Community Plugins" → "BRAT"
40403 . Click "Add Beta Plugin"
41- ![ Add plugin] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FdMtstUHPXe.png?alt=media&token=3f139ab9-9802-404d-9554-4a63bac080c5 )
41+ ![ Add plugin] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FdMtstUHPXe.png?alt=media&token=3f139ab9-9802-404d-9554-4a63bac080c5 )
4242
43- 4 . Enter the repository URL: ` https://github.com/DiscourseGraphs/discourse-graph-obsidian ` and choose "Latest version"
44- ![ Add discourse graph] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FSBCK-2lkcu.png?alt=media&token=0375c828-da4d-43b4-8f2c-e691692cb019 )
43+ 4 . Enter the repository URL: ` https://github.com/DiscourseGraphs/discourse-graph-obsidian ` and choose "Latest version"
44+ ![ Add discourse graph] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FSBCK-2lkcu.png?alt=media&token=0375c828-da4d-43b4-8f2c-e691692cb019 )
45455 . Check the box for "Enable after installing the plugin"
46466 . Click "Add Plugin"
4747
48-
4948## Creating Nodes and Relationships
5049
5150### Configure Node and Relationship Types
5251
53521 . Open Obsidian Settings
54532 . Navigate to the "Discourse Graphs" settings tab
54+
5555#### Edit Node Types
56- - Under "Node Types," click "Add Node Type"
57- - Enter a name for your node type (e.g., "Claim", "Evidence", "Question")
58- - Add the format for your node type. eg a claim node will have page title "CLM - {content}"
59- - ** Template (Optional) ** : Select a template from the dropdown to automatically apply template content when creating nodes of this type
60- - Templates are sourced from Obsidian's core Templates plugin
61- - Ensure you have the Templates plugin enabled and configured with a template folder
62- - The dropdown will show all available template files from your configured template folder
63-
64- ![ add node types with template ] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FHMg_Tq6qiR.png?alt=media&token=69828bfc-c939-41b0-abd4-2cc8931c5a38 )
65- - Click "Save Changes"
66-
67-
56+
57+ - Under "Node Types," click "Add Node Type"
58+ - Enter a name for your node type (e.g., "Claim", "Evidence", "Question")
59+ - Add the format for your node type. eg a claim node will have page title "CLM - {content}"
60+ - ** Template (Optional) ** : Select a template from the dropdown to automatically apply template content when creating nodes of this type
61+ - Templates are sourced from Obsidian's core Templates plugin
62+ - Ensure you have the Templates plugin enabled and configured with a template folder
63+ - The dropdown will show all available template files from your configured template folder
64+
65+ ![ add node types with template ] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FHMg_Tq6qiR.png?alt=media&token=69828bfc-c939-41b0-abd4-2cc8931c5a38 )
66+ - Click "Save Changes"
67+
6868- To create a new template:
69- + Create new folder to store templates
70- ![ new folder] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FyTtJ1a0iI2.png?alt=media&token=b5d09b10-f170-47cd-a239-ee5f7acd89dc )
69+ - Create new folder to store templates
70+ ![ new folder] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FyTtJ1a0iI2.png?alt=media&token=b5d09b10-f170-47cd-a239-ee5f7acd89dc )
7171
72- + Specify template folder location in plugin settings menu
73- ![ template] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FhzZg_GJXY9.png?alt=media&token=508c8d19-1f13-4fb3-adf1-898dcf694f08 )
72+ - Specify template folder location in plugin settings menu
73+ ![ template] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FhzZg_GJXY9.png?alt=media&token=508c8d19-1f13-4fb3-adf1-898dcf694f08 )
7474
75- + Create new file in template folder (A) and add text to file (B)
76- ![ create template file] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FtTr9vOnXnX.png?alt=media&token=dda1fe25-3ccf-42b4-8f3c-1cd29f82c3f7 )
75+ - Create new file in template folder (A) and add text to file (B)
76+ ![ create template file] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FtTr9vOnXnX.png?alt=media&token=dda1fe25-3ccf-42b4-8f3c-1cd29f82c3f7 )
7777
7878 ![ add node types] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FYRZ6ocI_d-.png?alt=media&token=c623bec7-02bd-42b4-a994-cd1c40a54d82 )
7979 - Click "Save Changes"
80+
8081#### Edit Relation Types
81- - Under "Relation Types," click "Add Relationship Type"
82- - A relation type is a kind of relationship that can exist between any two node types
83- - Enter a name for your relationship (e.g., "supports", "contradicts")
84- - Enter the complement label (e.g., "is supported by", "is contradicted by")
85- ![ add relation type] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2Fjk367dcO_K.png?alt=media&token=22d74e9f-882c-434b-8b50-afd7a754fb2b )
86- - Click "Save Changes"
82+
83+ - Under "Relation Types," click "Add Relationship Type"
84+ - A relation type is a kind of relationship that can exist between any two node types
85+ - Enter a name for your relationship (e.g., "supports", "contradicts")
86+ - Enter the complement label (e.g., "is supported by", "is contradicted by")
87+ ![ add relation type] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2Fjk367dcO_K.png?alt=media&token=22d74e9f-882c-434b-8b50-afd7a754fb2b )
88+ - Click "Save Changes"
89+
8790#### Define possible relations between nodes
91+
8892- Open the Discourse Relations tab in the Discourse Graph settings
89- ![ discourse relation] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FNgm7Ha4Ul5.png?alt=media&token=a933bd3a-d9a6-42c1-9c6e-d779d41c7ebf )
93+ ![ discourse relation] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FNgm7Ha4Ul5.png?alt=media&token=a933bd3a-d9a6-42c1-9c6e-d779d41c7ebf )
9094- Choose Source Node Type, Relation Type, and Target Node Type
91- ![ choose relation] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FlflJBkfdaK.png?alt=media&token=5de9617c-6099-46e8-931f-feafc604cabb )
95+ ![ choose relation] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FlflJBkfdaK.png?alt=media&token=5de9617c-6099-46e8-931f-feafc604cabb )
9296- Once you see the source, relation, and target selected:
93- ![ final relations] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FycPW-N-rY8.png?alt=media&token=54867be2-9030-4c6c-82d2-b96069e52d81 )
94- E.g: this means that * Claim * nodes can supports * Questions * nodes
97+ ![ final relations] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FycPW-N-rY8.png?alt=media&token=54867be2-9030-4c6c-82d2-b96069e52d81 )
98+ E.g: this means that _ Claim _ nodes can supports _ Questions _ nodes
9599- Click "Save changes"
96100
97101## Using Discourse Graphs
98102
99103### Instantiate a Node
100104
101105- Select the text you want to turn into a Discourse Node
102- ![ select text] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FInIer-iPGs.png?alt=media&token=fad214f6-f426-4249-8b0a-d5a403894600 )
106+ ![ select text] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FInIer-iPGs.png?alt=media&token=fad214f6-f426-4249-8b0a-d5a403894600 )
103107- There are two ways you can create a node from here:
104-
105- 1 . Using command keys: Cmd + \
106- <br >
108+ 1 . Using command keys: Cmd + \
109+ <br >
107110 - As you press these keys, the Node Menu will open up as a popup
108-
111+
109112 ![ node menu] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FS6eU6y70eX.png?alt=media&token=00e61ddf-877b-4752-a65b-272e80a0a19c )
110113 - Select the node type you want to turn the text into
111114 - Voila, you've created a new discourse node
112- ![ node created] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F1VNkJC0aH8.png?alt=media&token=df9a26aa-997b-4b56-a307-87a80e350b28 )
113-
115+ ![ node created] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F1VNkJC0aH8.png?alt=media&token=df9a26aa-997b-4b56-a307-87a80e350b28 )
114116 2 . Right-click menu:
115117 - Alternatively, you can right-click on the selected text
116- ![ right click menu] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F4UqeVkqLz7.png?alt=media&token=d2373152-d251-45fe-afb6-56373d6092aa )
117- - Then choose a node type from the "Turn into Discourse Node " menu
118+ ![ right click menu] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F4UqeVkqLz7.png?alt=media&token=d2373152-d251-45fe-afb6-56373d6092aa )
119+ - Then choose a node type from the "Turn into discourse node " menu
118120
119121### Open Discourse Context
120122
121- - Click on the telescope icon on the left bar
122- ![ open discourse context] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FE10krHZcDM.png?alt=media&token=c1796a9f-7e51-437f-913d-91f5433d9bab )
123+ - Click on the telescope icon on the left bar
124+ ![ open discourse context] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FE10krHZcDM.png?alt=media&token=c1796a9f-7e51-437f-913d-91f5433d9bab )
123125- Alternatively, you can set a hotkey to toggle the Discourse Context view or access it via the Command Palette
124- ![ command palette] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F5ybScaQISO.png?alt=media&token=2b36f0e7-4247-47b7-a53d-c784dfd4609b )
126+ ![ command palette] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F5ybScaQISO.png?alt=media&token=2b36f0e7-4247-47b7-a53d-c784dfd4609b )
125127
126128### Instantiate a Relationship
127129
1281301 . Open a note that you want to create a relationship from
1291312 . Open the Discourse Context
130- ![ open discourse context] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FE10krHZcDM.png?alt=media&token=c1796a9f-7e51-437f-913d-91f5433d9bab )
132+ ![ open discourse context] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FE10krHZcDM.png?alt=media&token=c1796a9f-7e51-437f-913d-91f5433d9bab )
1311333 . Click "Add a new relation"
1321344 . The dropdown that shows Relationship Types will be all available relations that you have defined in the setings.
133- <br > It will also show you what node type you can link with
134- ![ add relation] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FXQsgznWuV2.png?alt=media&token=9442b9fa-0904-4847-8eb8-a5791705c4c5 )
135+ <br > It will also show you what node type you can link with
136+ ![ add relation] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FXQsgznWuV2.png?alt=media&token=9442b9fa-0904-4847-8eb8-a5791705c4c5 )
1351375 . Search the nodes you want to link with by the title
136- ![ search] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F4NW4UjYDrC.png?alt=media&token=bae307d0-ebec-4e6b-a03d-0943d9d03754 )
138+ ![ search] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2F4NW4UjYDrC.png?alt=media&token=bae307d0-ebec-4e6b-a03d-0943d9d03754 )
1371396 . Click "Confirm", now a new relationship has been created
138- ![ relationship created] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FK8XAhCqrUL.png?alt=media&token=a559c477-c7f6-4b3e-8b00-ece7da5d4fec )
140+ ![ relationship created] ( https://firebasestorage.googleapis.com/v0/b/firescript-577a2.appspot.com/o/imgs%2Fapp%2Fdiscourse-graphs%2FK8XAhCqrUL.png?alt=media&token=a559c477-c7f6-4b3e-8b00-ece7da5d4fec )
0 commit comments