Closed jwscot closed 2 years ago
Yes it's shown here:. https://sigmajs.john-coene.com/reference/graph.html
Apologies but does that not only provide a way to give all nodes the same colour? I'd like to give each node a unique colour.
Yes, in the examples.
nodes <- sg_make_nodes()
edges <- sg_make_edges(nodes)
sg <- sigmajs() %>%
sg_nodes(nodes, id, label, size, color) %>%
sg_edges(edges, id, source, target)
Ok, thanks.
Hi John,
Is it possible to provide each node and edge with a specific colour via hex codes?
Cheers,
Jamie