Question: How to change a property in several styles in Cytoscape?
0
gravatar for Ludo Cottret
4 months ago by
Ludo Cottret0 wrote:

Hi,

I have several styles in my Cytoscape session. I would like to change the default node size for all of them. Is there another way than doing it manually for each of them ?

Ludo

cytoscape • 157 views
ADD COMMENTlink modified 4 months ago by Jean-Karim Heriche13k • written 4 months ago by Ludo Cottret0
0
gravatar for Jean-Karim Heriche
4 months ago by
EMBL Heidelberg, Germany
Jean-Karim Heriche13k wrote:

There's probably no easy direct way because this would defeat the purpose of having different styles. One way to do it would be to save the styles as xml files (File > Export > Style...) and then use a script to make the modifications through the files then re-import the styles (File > Import > Style...) or you could try locating the styles in the .cys session file (it's a zip archive, I think the styles should be in the file named session_vizmap.xml inside the archive) and do the modifications there.

ADD COMMENTlink written 4 months ago by Jean-Karim Heriche13k

Thanks Jean-Karim for the xml solution ! The purpose is to have different styles that share common properties and that differ on other properties.

ADD REPLYlink written 4 months ago by Ludo Cottret0
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: 1390 users visited in the last hour