Personal tools

Cytoscape test: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 48: Line 48:
    edgeTooltipsEnabled: true,
    edgeTooltipsEnabled: true,
                     panZoomControlVisible: true
                     panZoomControlVisible: true
                };
                // visual options
                var visual_style = {
                    global: {
                        backgroundColor: "#ffffff",
opacity: 0.1,
tooltipDelay: 10
                    },
                    nodes: {
label: { passthroughMapper: { attrName: "id" } },
tf: { passthroughMapper: { attrName: "id" } },
//tooltipText: "<b>${id}</b><br />${motif}",
                        shape: "ellipse",
                        borderWidth: 1,
                        borderColor: "#000000",
                        size: 40,
                        color: "#0099ff",
opacity: 0.4,
                        labelHorizontalAnchor: "center"
                    },
                    edges: {
                        //width: { passthroughMapper: { attrName: "zscore" } },
label: { passthroughMapper: { attrName: "id" } },
tooltipText: { passthroughMapper: { attrName: "id" } },
//tooltipText: "<b>${id}</b><br />${zscore}",
                        color: "#011e59",
targetArrowShape: "delta",
sourceArrowShape: "",
labelGlowOpacity: 0.8,
labelGlowColor: "#000000"
                    }
                 };
                 };



Revision as of 13:06, 23 April 2012

Cytoscape Web will replace the contents of this div with your graph.