Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
doubleClickEnabled: false,
defaultEdgeColor: "#ccc",
defaultNodeColor: "black",
defaultEdgeArrow: "target",
edgeColor: "edge",
minEdgeSize: 1,
maxEdgeSize: 2,
minNodeSize: 1,
maxNodeSize: 10,
enableHovering: true,
minArrowSize: 1,
verbose: true
}
});
sigma.plugins.dragNodes(self._s, self._s.renderers[0]);
self._s.bind("clickNode", function (node) {
self._onNodeClicked.apply(self, arguments);
});
self.on("viewDepends:selected", function (binderProc) {
self.select(binderProc);
});
// Add any pending node.
self._addGraphNode();
self._functions.add(new Function({
id: "fnStartAutoPlace",
name: "Start Auto Place",
callback: function () {