Closed Krithika-Bhuvan closed 5 years ago
Good question! Cytoscape has a nifty (and tricky) toggle for locking node height and width to the same "size" value. In order to set them independently, you have to make sure the lock is off. Here's the command to do that:
lockNodeDimensions(FALSE, style.name)
Excellent ! Got it working. Thanks !
Great. Updated vignette for others in the future: https://github.com/cytoscape/RCy3/blob/RELEASE_3_8/vignettes/Overview-of-RCy3.Rmd#L89
Thanks again for pointing out this missing detail.
Hello, I'm trying to customize the cytoscape visualization, and am having some trouble.
I used the provided vignettes to come up with this code. When i view this network in cytoscape , the nodes are "circles", not "ellipses" like i want. The node height and weight seem to be fixed (locked). What am I missing ?
Ideally I want the ellipse node to be such that it will correctly fit the label inside it - is there anyway to do this ?
Thanks, K