Collapsing edges in directed Cytoscape network
Entering edit mode
23 months ago

I have a directed network I'm visualizing in Cytoscape that's very connected. To help clean it up, I want to collapse edges where there's both A->B and B->A, so that these two are viewed as a single edge, while still keeping the graph directed. Is this possible to do?

To give a small example:

Two nodes with two directed edges between them

Instead of having two edges here, I'd like for it to be displayed as one edge with a target on either end.

I know there's a way to remove duplicate edges while ignoring directionality, but I want to preserve the directed nature of the graph. Thanks for any info you can give.

pathway network cytoscape • 698 views
Entering edit mode
22 months ago
scooter ▴ 620

Well, collapsing edges and preserving directionality is obviously difficult :-) You could switch to haystack edges, which would simplify the network a bit. Look in the edge style under Properties for "Stacking". Then select "Haystack" and see if that helps.

-- scooter


Login before adding your answer.

Traffic: 1295 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6