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