mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-06 10:08:52 +08:00
Update Graph.md
This commit is contained in:
11
Graph.md
11
Graph.md
@@ -66,7 +66,8 @@ There are the following settings in `Style` > `Nodes` panel:
|
|||||||
- `Variable` allows you to choose a field by which the color is determined.
|
- `Variable` allows you to choose a field by which the color is determined.
|
||||||
With this option you can also choose if the color value should be taken directly or mapped to a
|
With this option you can also choose if the color value should be taken directly or mapped to a
|
||||||
color palette.
|
color palette.
|
||||||
- `Direct` mode means that in the JSON document representing the node, the value in the selected
|
|
||||||
|
`Direct` mode means that in the JSON document representing the node, the value in the selected
|
||||||
field is used as a color. The color value in the JSON document can be set in different
|
field is used as a color. The color value in the JSON document can be set in different
|
||||||
ways:
|
ways:
|
||||||
|
|
||||||
@@ -132,10 +133,10 @@ There are the following settings in `Style` > `Nodes` panel:
|
|||||||
darkblue
|
darkblue
|
||||||
```
|
```
|
||||||
|
|
||||||
When `Map to` option is selected, the value by the selected field can be anything because it
|
When `Map to` option is selected, the value by the selected field can be anything because it
|
||||||
won't be used directly as a color. In this case each distinct value will be mapped to a certain
|
won't be used directly as a color. In this case each distinct value will be mapped to a certain
|
||||||
color, so nodes with the same value will have the same color. Click on a color palette to open a
|
color, so nodes with the same value will have the same color. Click on a color palette to open a
|
||||||
palette selector.
|
palette selector.
|
||||||
|
|
||||||
`Calculated` color mode allows to choose a method that will be used to determine a color.
|
`Calculated` color mode allows to choose a method that will be used to determine a color.
|
||||||
Currently, 3 methods are available: total node degree, degree by in-edges and degree by
|
Currently, 3 methods are available: total node degree, degree by in-edges and degree by
|
||||||
|
|||||||
Reference in New Issue
Block a user