This generic method intends to set or replace the color variable of a SpatialNetwork object.
| 1 | graph.color.variable(object) <- value
 | 
| object | a  | 
| value | the new color, for example "#000000". | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.