Description Usage Arguments Value Author(s) See Also Examples
For all CytoscapeWindow's, specify the default node shape.
1 | setDefaultNodeShape(obj, new.shape, vizmap.style.name = "default")
|
obj |
a |
new.shape |
a |
vizmap.style.name |
a |
None.
Paul Shannon
getNodeShapes setDefaultNodeShape setDefaultNodeColor setDefaultNodeSize setDefaultNodeColor setDefaultNodeBorderColor setDefaultNodeBorderWidth setDefaultNodeFontSize setDefaultNodeLabelColor setDefaultEdgeLineWidth setEdgeColorRule setNodeBorderColorRule
1 2 3 4 5 6 7 8 | cw <- new.CytoscapeWindow ('setDefaultNodeShape.test', graph=makeSimpleGraph())
displayGraph (cw)
redraw (cw)
layoutNetwork(cw, 'jgraph-spring')
legal.shapes <- getNodeShapes (cw)
# stopifnot ('diamond' %in% legal.shapes)
setDefaultNodeShape (cw, 'diamond')
redraw (cw)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.