INNER CODE UNIT · JavaScript
initSigma
KiranGershenfeld/VisualizingTwitchCommunities · Website/js/main.js:46
function initSigma(config) {
var data=config.data
var drawProps, graphProps,mouseProps;
if (config.sigma && config.sigma.drawingProperties)
drawProps=config.sigma.drawingProperties;
else
drawProps={
defaultLabelColor: "#000",
defaultLabelSize: 14,
defaultLabelBGColor: "#ddd",
defaultHoverLabelBGColor: "#002147",
defaultLabelHoverColor: "#fff",
labelThreshold: 10,
defaultEdgeType: "curve",
hoverFontStyle: "bold",
fontStyle: "bold",
activeFontStyle: "bold"