Skip to content

Dagzet, a small DAG-Zettelkasten format for mind maps and knowledge graphs

License

MIT, Unlicense licenses found

Licenses found

MIT
LICENSE
Unlicense
UNLICENSE
Notifications You must be signed in to change notification settings

PaulBatchelor/Dagzet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dagzet

DAGZet (Directed-Acyclic-Graph Zettelkasten) is a simple text-based data format for producing knowledge graphs. A graph described in Dagzet gets compiled down into SQLite code, which can then be parsed by sqlite to be turned into a queryable database.

Dual-licensed under MIT or the UNLICENSE.

Installation

Compile and install locally with:

cargo install --path .

Basic Usage

Here is an example of a simple graph

zz declare the namespace
ns hello

zz create a new node "world"
zz the full namespace is "hello/world"

nn world
ln this is a line.
ln many lines can be appended.

zz create a new node "another"
nn another
ln Another node has been created

zz make "another" point to "world" (another -> world)"
zz this makes "another" a child of "world"
co another world

This can then be converted to a SQLite database:

$ dagzet hello.dz | sqlite a.db
$ echo "SELECT name FROM dz_nodes" | sqlite3 a.db"
hello/another
hello/world

About

Dagzet, a small DAG-Zettelkasten format for mind maps and knowledge graphs

Resources

License

MIT, Unlicense licenses found

Licenses found

MIT
LICENSE
Unlicense
UNLICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published