We need to use a network visualization tool to display our protein interaction network.
We need to automatically represent different types of nodes in different shapes and colors, represent different node prizes in varying darkness of node, and represent different edge weights in varying width of edge. Currently we are able to set these manually in Cytoscape. I am wondering what are the programming ways to set these automatically in Cytoscape.js?
We are also looking for the following features that we can automatically display (automatically set through programming) :
(1) show arrows on edges.
(2) show different color on the border of node.
(3) place nodes in layers (at bottom, middle, top locations of the window) for different types of nodes.
Can Cytoscape.js support the above features?
What about D3.js?
Would you recommend Cytoscape.js or D3.js for the above purpose?
Thank you very much for your advice!