mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
enhance: bb task for creating graphs from EDN file
Converted inferred graph to an EDN file now that this task exists. Also merge last of tasks.create-graph to relevant ns so that external users can also create such tasks
This commit is contained in:
@@ -387,6 +387,20 @@ These tasks are specific to database graphs. For these tasks there is a one time
|
||||
Updated 16 block(s) for graph test-db!
|
||||
```
|
||||
|
||||
* `dev:db-create` - Create a DB graph given a `sqlite.build` EDN file
|
||||
|
||||
First in Electron, create the name of the graph you want create e.g. `inferred`.
|
||||
Then:
|
||||
|
||||
```sh
|
||||
bb dev:db-create inferred deps/db/script/create_graph/inferred.edn
|
||||
Generating 11 pages and 0 blocks ...
|
||||
Created graph inferred!
|
||||
```
|
||||
|
||||
Finally, upload this created graph with the dev command: `Replace graph with`
|
||||
... Switch to the graph and you can use the created graph!
|
||||
|
||||
* `dev:db-datoms` and `dev:diff-datoms` - Save a db's datoms to file and diff two datom files
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user