@@ -36,8 +36,9 @@ The ``color_nodes`` method
3636
3737By calling the :meth: `neo4j_viz.VisualizationGraph.color_nodes ` method, you can color nodes based on a
3838node field or property (members of the `Node.properties ` map).
39- It's possible to color the nodes based on a discrete or continuous color space. In the discrete case, a new
40- color from the `colors ` provided is assigned to each unique value of the node field/property.
39+
40+ It's possible to color the nodes based on a discrete or continuous color space (see :doc: `ColorSpace <./api-reference/colors >`).
41+ In the discrete case, a new color from the `colors ` provided is assigned to each unique value of the node field/property.
4142In the continuous case, the `colors ` should be a list of colors representing a range that are used to
4243create a gradient of colors based on the values of the node field/property.
4344
@@ -50,8 +51,8 @@ If some nodes already have a ``color`` set, you can choose whether or not to ove
5051parameter.
5152
5253
53- By discrete node property (field)
54- *********************************
54+ By discrete color space
55+ ***********************
5556
5657To not use the default colors, we can provide a list of custom colors based on the discrete node field "caption" to the ``color_nodes `` method:
5758
@@ -86,8 +87,8 @@ To avoid that, you could use a larger palette or extend one with additional colo
8687to do the latter.
8788
8889
89- By continuous node property (field)
90- ***********************************
90+ By continuous color space
91+ *************************
9192
9293To not use the default colors, we can provide a list of custom colors representing a range to the ``color_nodes `` method:
9394
0 commit comments