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

Compare commits

3 Commits

Author SHA1 Message Date
lana-k
ad3ff74b09 Update Graph.md 2025-10-31 22:53:14 +01:00
lana-k
c8c57e145e Add files via upload 2025-10-31 22:49:10 +01:00
lana-k
888b57e855 Update Graph.md 2025-10-31 22:35:53 +01:00
4 changed files with 11 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ Go to `Structure` > `Graph` and set the following fields:
This is already enough to build a graph with default styling and circular layout. This is already enough to build a graph with default styling and circular layout.
![Fig. 1: Graph structure settings](./img/Screenshot_graph_structure.png) ![Fig. 1: Graph structure settings](./img/Screenshot_graph_structure.png)
## Graph styling ## Graph styling
@@ -158,17 +158,25 @@ In this layout all nodes are just placed along a circle.
This layout places nodes randomly for each seed value. The seed value allows you to restore the random layout you liked This layout places nodes randomly for each seed value. The seed value allows you to restore the random layout you liked
when you open the inquiry and run the query next time. when you open the inquiry and run the query next time.
![Fig. 2: Random layout](./img/Screenshot_graph_random.png)
#### Circle pack #### Circle pack
Arranges nodes as a bubble chart according to specified attributes. You can choose multiple hierarchy attributes used to group nodes. Arranges nodes as a bubble chart according to specified attributes. You can choose multiple hierarchy attributes used to group nodes.
#### Force Atlas 2 ![Fig. 3: Circle pack layout](./img/Screenshot_graph_circle_pack.png)
Arranges nodes as a bubble chart according to specified attributes. You can choose multiple hierarchy attributes used to group nodes.
#### ForceAtlas2
A continuous graph layout algorithm. Read more details about the algorithm and its settings in the [article][4].
The algorithm works in iterations. When you choose ForceAtlas2 layout or run the query, it will automatically run 50 iterations of the algorithm.
You can change the amount of steps run automatically in `Initial Iterations`.
You can also run and stop the algorithm manually by clicking `Start`/`Stop` button.
![Fig. 3: ForceAtlas2 layout](./img/Screenshot_graph_force_atlas2.png)
[How to build a pivot table in SQL(ite)][1] explores two options with static [How to build a pivot table in SQL(ite)][1] explores two options with static
(or beforehand-known) and dynamic columns. (or beforehand-known) and dynamic columns.
[1]: ../How-to-build-a-pivot-table-in-SQ-Lite [1]: ../How-to-build-a-pivot-table-in-SQ-Lite
[2]: https://github.com/bgrins/TinyColor?tab=readme-ov-file#accepted-string-input [2]: https://github.com/bgrins/TinyColor?tab=readme-ov-file#accepted-string-input
[3]: https://www.w3.org/TR/css-color-4/#named-colors [3]: https://www.w3.org/TR/css-color-4/#named-colors
[4]: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0098679

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 KiB