setNodeHeightDirect | R Documentation |
In the specified CytoscapeWindow, set the height of the specified node. Not that the node dimensions (height and width) must be unlocked for this to work. If they ARE locked, then node and height change together, as specified by a node size rule, or the setNodeSizeDirect method
setNodeHeightDirect(obj, node.names, new.height)
obj |
a CytoscapeWindowClass object. |
node.names |
one ore more String objects. |
new.height |
an integer , in pixel units. |
None.
Paul Shannon
setNodeWidthDirect lockNodeDimensions setNodeSizeDirect setNodeHeightDirect
cw <- new.CytoscapeWindow ('setNodeHeightDirect.test', graph=makeSimpleGraph()) displayGraph (cw) redraw (cw) layoutNetwork (cw, 'jgraph-spring') lockNodeDimensions (cw, 'default', FALSE) setNodeHeightDirect (cw, 'A', 32) redraw (cw)