Description Usage Arguments Value Author(s) See Also Examples
Lock the node dimensions. Required for setting the same height and width if the node size is set.
1 | lockNodeDimensions(obj, new.state, visual.style.name='default')
|
obj |
a |
new.state |
a |
visual.style.name |
a |
None.
Tanja Muetze, Georgi Kolishovski, Paul Shannon
setNodeSizeDirect setNodeWidthDirect setNodeHeightDirect setNodeSizeRule
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# first, delete existing windows to save memory:
deleteAllWindows(CytoscapeConnection())
cw <- CytoscapeWindow ('lockNodeDimensions demo', graph=makeSimpleGraph())
displayGraph (cw)
layoutNetwork(cw)
lockNodeDimensions (cw, FALSE) # not required anymore as this function
# is called by the other functions.
setNodeWidthDirect (cw, 'A', 100)
setNodeHeightDirect (cw, 'A', 50)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.