Any recognised cytoscape style option can be passed to the node style. For available options see the cytoscape documentation.
edge_style(cytoscape, ...)
cytoscape | object |
---|---|
... | additional parameters passed to the style edge object |
nodes <- data.frame(id = c('a','b')) edges <- data.frame(id = 'ab', source = 'a', target = 'b') cytoscape(nodes = nodes, edges = edges) %>% edge_style('line-color' = '#ff0000')