Question: How to show selected node lables only in cytoscape?
0
gravatar for MatthewP
12 months ago by
MatthewP780
China
MatthewP780 wrote:

Hello, I know use styles to set label. But my network always shows all labels, I want to show only a few nodes' label I select. (Cytoscape on windows)

cytoscape • 985 views
ADD COMMENTlink modified 12 months ago by scooter380 • written 12 months ago by MatthewP780
2
gravatar for scooter
12 months ago by
scooter380
scooter380 wrote:

There are two approaches to do what you want:

  1. Create a new column and just copy over the labels you want to show and leave the others blank. Then you can use that column as a passthrough to your node label.
  2. I would just select the nodes you want to show the labels for, then invert the selection (Select->Nodes->Invert node selection). Now the nodes you want hide the labels for are selected. Then, in the Styles panel, go to the Label row and click on the Byp. (Bypass) column. That will bring up a text box where you can enter a new node label. Just hit OK and the labels for those nodes will vanish.

-- scooter

ADD COMMENTlink written 12 months ago by scooter380
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1840 users visited in the last hour