|
|
||
|---|---|---|
| dgraph | ||
| .gitignore | ||
| README.md | ||
README.md
Set up prerequisites
Obsidian
- Download Obsidian here.
- Besides the core Obsidian, we’ll also need to add the Juggl plugin to support labeled edges:
- Go to
Settings->Community pluginsand clickTurn on community plugins - Click
Browse. - Type
Juggland clickInstall. - Make sure Juggl is active by toggling it in
Settings->Community plugins->Installed plugins
- Go to
Version Control (Git)
We’ll use Git for version control. If you already know how to use git, you can skip this section and directly clone the repository. If not, the easiest way to go is to use the Github Desktop GUI client.
-
Download Github Desktop here and install it.
-
In Github Desktop, go to
File->Clone repository, click the URL tab and input the repo URLhttps://gitea.dgov.io/DGF/obsidian-dgraph.git -
To pull the most update version of the repo, click on “Fetch origin” and then “Pull origin” if there are new modifications.
-
To add changes you’ve made to the graph, select the files you wish to commit and press “commit to main”.
-
This is just a minimal overview of the basic git operations. For a more in depth look there are many great resources, for example https://think-like-a-git.net/
Usage
-
In Obsidian, click
Open another vaultand select thedgraphfolder in the directory where you cloned the repository. On the left Files pane in Obsidian, you should now see the markdown pages comprising the knowledge graph. -
To view the graph view in Juggl, right click a page and select
Open Juggl -
To add nodes to the graph, simply click the
New notebutton above the list of pages on the left. -
To add an unlabeled edge to the graph, add to the source node a link to the target node using:
[[target-page-name]](see example here)
-
To add a labeled edge, use the syntax:
- edge_label [[target-page-name]]Where
edge_labelmust be one word.(see example here)
-
Nodes and edges should follow the current graph grammar.