1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

Update How-to-get-result-set-suitable-for-graph-visualisation.md

This commit is contained in:
lana-k
2025-11-01 20:32:57 +01:00
committed by GitHub
parent 831364181d
commit 83410560b3

View File

@@ -101,5 +101,10 @@ Run the query, the result set will look like this:
| {"object_type":1,"node_source":"Ravenclaw","target":4} | | {"object_type":1,"node_source":"Ravenclaw","target":4} |
| {"object_type":1,"node_source":"Hufflepuff","target":5} | | {"object_type":1,"node_source":"Hufflepuff","target":5} |
Now in the graph editor, we can set mapping of the result set records into node and edge properties,
set graph styles and get the following visualisation:
[1]: ./graph#requirements-for-result-set [1]: ./graph#requirements-for-result-set
[2]: https://sqlite.org/json1.html#jobj [2]: https://sqlite.org/json1.html#jobj