How to define edge transparency from GML file?

23 views
Skip to first unread message

Celine Sin

unread,
Jan 30, 2018, 5:12:44 AM1/30/18
to cytoscape-helpdesk
Hello!

I'm trying to change the transparency of some of the edges in my network, but I don't know the correct key to define this in the gml file.

The following code modelled after the link below will change the color, but not the transparency.

edge [
    source 19
    target 155
    cat "new"
    graphics [
      transparency 80
      fill "#D3D3D3"
    ]
  ]

Thank you!
Celine

Scooter Morris

unread,
Feb 1, 2018, 11:00:08 AM2/1/18
to cytoscape-helpdesk
Looks like you should be able to do it with EDGE_TRANSPARENCY.  In general, any visual property can be expressed in GML by using the name of that property, and the reader will attempt to look it up through the current lexicon.

-- scooter
Reply all
Reply to author
Forward
0 new messages