How to do edge thickness/weight?

2,218 views
Skip to first unread message

carlhempel

unread,
Nov 8, 2010, 12:03:16 AM11/8/10
to cytoscapeweb-discuss
I'm trying to build a graph that has different edge thicknesses or
weight. How can I accomplish this with Cytoscape Web?

Max Franz

unread,
Nov 8, 2010, 10:06:28 AM11/8/10
to cytoscapew...@googlegroups.com
Hi,

You need to set the visual style with some mapper for edge weight.


Cheers,
Max

carlhempel

unread,
Nov 8, 2010, 4:22:45 PM11/8/10
to cytoscapeweb-discuss
Hey, thanks for your response. To be clear, would setting that allow
me to specify different thicknesses? I have a network where I want
some edges to be thin and others to be thick, etc. What do I need to
do to do that? The visual styles seems to suggest that it would be a
global width. Can this be set through the XML? I am generating the XML
from a large dataset. Thanks
> > weight. How can I accomplish this with Cytoscape Web?- Hide quoted text -
>
> - Show quoted text -

Max Franz

unread,
Nov 8, 2010, 4:29:40 PM11/8/10
to cytoscapew...@googlegroups.com
Data in your graph is available in the data field for nodes and edges.  You can use those fields in mappers.  Take a look at the mapper examples and documentation for specifics.  If you have trouble with the concept of accessing graph data and using it in visual styles via mappers, I suggest you run through the tutorials, which go over exactly that.

Max Franz

unread,
Oct 22, 2012, 11:44:35 AM10/22/12
to cytoscapew...@googlegroups.com
Please address your question to cytoscape-discuss (https://groups.google.com/forum/?hl=en&fromgroups#!forum/cytoscape-discuss).

This group is for Cytoscape Web (http://cytoscapeweb.cytoscape.org/).

On Mon, Oct 22, 2012 at 3:48 AM, Prem Panigrahi <premapa...@gmail.com> wrote:
Hi
          My name is prem, currently i am doing a project in vulnerability analysis of power grid. previously i was coding with Gephi but gephi unable to find edge centrality for which i am using Cytoscope, here also i am facing problem for coding a weighted directed network , as i am considering reactance as my weight. Please help me how to code in cytoscape.
Reply all
Reply to author
Forward
0 new messages