{"version":3,"file":"graph.bundle.js","mappings":";;;;;AAAA;AACA;AACA,UAAU,0HAA0H;AACpI;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,oBAAoB,gBAAgB;AACpC;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,0BAA0B;AACnD;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8D","sources":["webpack://asp.net/./src/js/Graph.js"],"sourcesContent":["window.initializeGraph = function (projectId, containerId, containerVersion, linksetId, linkId) {\r\n $.get(BASE_URL + \"/Partials/Graph\",\r\n { projectId: projectId, containerId: containerId, containerVersion: containerVersion, linksetId: linksetId, linkId: linkId },\r\n function (data) {\r\n var dt = JSON.parse(data);\r\n var container = document.getElementById('graph-container');\r\n var network = new window.vis.Network(container, dt, initializeOptions());\r\n\r\n });\r\n};\r\n\r\nwindow.initializeOptions = function () {\r\n return {\r\n edges: {\r\n color: {\r\n color: '#94c11c',\r\n highlight: '#003560'\r\n },\r\n arrows: \"to\",\r\n width: 2\r\n },\r\n\r\n nodes: {\r\n shape: 'box',\r\n color: {\r\n background: 'lightgray',\r\n border: '#94c11c',\r\n highlight: {\r\n border: '#94c11c',\r\n background: '#94c11c'\r\n }\r\n },\r\n font: { color: 'black' },\r\n borderWidth: 2,\r\n margin: {\r\n top: 10,\r\n bottom: 10,\r\n left: 10,\r\n right: 10\r\n },\r\n shadow: {\r\n enabled: true,\r\n color: 'rgba(0,0,0,0.5)',\r\n size: 10,\r\n x: 5,\r\n y: 5\r\n }\r\n },\r\n layout: {\r\n randomSeed: undefined,\r\n improvedLayout: true,\r\n clusterThreshold: 250,\r\n hierarchical: {\r\n enabled: true,\r\n levelSeparation: 300,\r\n nodeSpacing: 450,\r\n treeSpacing: 500,\r\n blockShifting: true,\r\n edgeMinimization: true,\r\n parentCentralization: true,\r\n direction: 'UD', // UD, DU, LR, RL\r\n sortMethod: 'directed', // hubsize, directed\r\n shakeTowards: 'leaves' // roots, leaves\r\n }\r\n },\r\n interaction: {\r\n dragNodes: true,\r\n dragView: true,\r\n hideEdgesOnDrag: false,\r\n hideEdgesOnZoom: false,\r\n hideNodesOnDrag: false,\r\n hover: false,\r\n hoverConnectedEdges: true,\r\n keyboard: {\r\n enabled: false,\r\n speed: { x: 10, y: 10, zoom: 0.02 },\r\n bindToWindow: true,\r\n autoFocus: true,\r\n },\r\n multiselect: false,\r\n navigationButtons: true,\r\n selectable: true,\r\n selectConnectedEdges: true,\r\n tooltipDelay: 300,\r\n zoomSpeed: 1,\r\n zoomView: true\r\n }\r\n };\r\n}\r\n\r\n//window.console.log('The \\'Graph\\' bundle has been loaded!');"],"names":[],"sourceRoot":""}