Lines Matching refs:graph

5487 	function addCustomData(cell, p, graph)  argument
5491 graph.setAttributeForCell(cell, 'link', getLink(p.Link[0]));
5494 replacePlaceholders(cell, graph);
5506 setAttributeForCell(cell, key, data.Value, graph);
5521 function replacePlaceholders(cell, graph) argument
5524 var str = graph.convertValueToString(cell);
5582 graph.setAttributeForCell(cell, 'label', result.join(''));
5583 graph.setAttributeForCell(cell, 'placeholders', '1');
5588 function setAttributeForCell(cell, key, value, graph) argument
5594 while (graph.getAttributeForCell(cell, currentKey) != null)
5600 graph.setAttributeForCell(cell, currentKey, (value != null) ? value : '');
5603 function updateCell(cell, obj, graph, source, target, ignoreLabel) argument
5634 addCustomData(cell, p, graph);
5818 setAttributeForCell(cell, 'lucidchartObjectId', obj.id, graph);
5822 function createVertex(obj, graph) argument
5836 updateCell(v, obj, graph);
5866 function createEdge(obj, graph, source, target) argument
5871 updateCell(e, obj, graph, source, target, true);
6202 function importLucidPage(graph, g, noSelection) argument
6207 graph.getModel().beginUpdate();
6237 lookup[obj.id] = addCompositeShape(obj, select, graph);
6245 lookup[obj.id] = createVertex(obj, graph);
6257 createOrgChart(key, g.Generators[key], g.Data, graph, lookup);
6275 lookup[obj.id] = addCompositeShape(obj, select, graph);
6279 lookup[obj.id] = createVertex(obj, graph);
6286 … createOrgChart(obj.GeneratorData.id, obj.GeneratorData.p, obj.GeneratorData.gs, graph, lookup);
6367 var e = createEdge(obj, graph, src, trg);
6424 select.push(graph.addCell(e, group, null, src, trg));
6440 graph.addCell(layerCell, graph.model.root);
6451 graph.addCell(v, layerCell);
6455 select.push(graph.addCell(v));
6479 var allCells = graph.getModel().cells;
6489 graph.setSelectionCells(select);
6493 graph.getModel().endUpdate();
6501 var graph = new Graph();
6502 graph.setExtendParents(false);
6503 graph.setExtendParentsOnAdd(false);
6504 graph.setConstrainChildren(false);
6505 graph.setHtmlLabels(true);
6506 graph.getModel().maintainEdgeParent = false;
6507 return graph;
6758 var graph = createGraph();
6771 importLucidPage(graph, pages[i], true);
6772 var node = codec.encode(graph.getModel());
6804 graph.getModel().clear();
6815 function addRouterEdge(x, y, edge, select, graph, cells, v, cell) argument
6826 select.push(graph.addCell(e, null, null, null, null));
6829 function addFloatingEdge(x1, y1, x2, y2, edge, select, graph, cells, v) argument
6845 select.push(graph.addCell(e, null, null, null, null));
6954 function addCompositeShape(obj, select, graph) argument
9849 graph.addCell(edge, v, null, v, v);
10008 addRouterEdge(w * 0.5, 0, edge, select, graph, cells, v, cell);
10009 addRouterEdge(w * 0.855, h * 0.145, edge, select, graph, cells, v, cell);
10010 addRouterEdge(w, h * 0.5, edge, select, graph, cells, v, cell);
10011 addRouterEdge(w * 0.855, h * 0.855, edge, select, graph, cells, v, cell);
10012 addRouterEdge(w * 0.5, h, edge, select, graph, cells, v, cell);
10013 addRouterEdge(w * 0.145, h * 0.855, edge, select, graph, cells, v, cell);
10014 addRouterEdge(0, h * 0.5, edge, select, graph, cells, v, cell);
10015 addRouterEdge(w * 0.145, h * 0.145, edge, select, graph, cells, v, cell);
10035 addRouterEdge(stepX * 0.5 + i * stepX, 0, edge, select, graph, cells, v, cell);
10042 addRouterEdge(stepX * 0.5 + i * stepX, h, edge, select, graph, cells, v, cell);
10104 addFloatingEdge(w * 0.15, h * 0.25, w * 0.85, h * 0.25, edge, select, graph, cells, v, cell);
10137 select.push(graph.addCell(edge1, null, null, null, null));
10145 select.push(graph.addCell(edge2, null, null, null, null));
10206 select.push(graph.addCell(edge[i], null, null, null, null));
10226 addFloatingEdge(0, h * 0.5, w * 0.4, h * 0.5, edge, select, graph, cells, v, cell);
10237 addFloatingEdge(w * 0.05, h * 0.5, w * 0.85, h * 0.5, edge1, select, graph, cells, v, cell);
10242 addFloatingEdge(w * 0.05, h * 0.5, w * 0.85, h * 0.15, edge2, select, graph, cells, v, cell);
10247 addFloatingEdge(w * 0.05, h * 0.5, w * 0.85, h * 0.85, edge3, select, graph, cells, v, cell);
10260 addFloatingEdge(w * 0.05, h * 0.5, w * 0.95, h * 0.5, edge1, select, graph, cells, v, cell);
10266 addFloatingEdge(w * 0.3, h * 0.1, w * 0.3, h * 0.5, edge2, select, graph, cells, v, cell);
10272 addFloatingEdge(w * 0.7, h * 0.1, w * 0.7, h * 0.5, edge3, select, graph, cells, v, cell);
10278 addFloatingEdge(w * 0.5, h * 0.5, w * 0.5, h * 0.9, edge4, select, graph, cells, v, cell);
10296 addFloatingEdge(w * 0.45, h * 0.33, w * 0.8, h * 0.33, edge1, select, graph, cells, v, cell);
10307 addFloatingEdge(w * 0.55, h * 0.67, w * 0.2, h * 0.67, edge2, select, graph, cells, v, cell);
10352 select.push(graph.addCell(edge1, null, null, null, null));
10386 select.push(graph.addCell(edge2, null, null, null, null));
10395 select.push(graph.addCell(edge3, null, null, null, null));
10428 select.push(graph.addCell(edge1, null, null, null, null));
10437 select.push(graph.addCell(edge2, null, null, null, null));
10499 select.push(graph.addCell(edge1, null, null, null, null));
10506 select.push(graph.addCell(edge2, null, null, null, null));
10513 select.push(graph.addCell(edge3, null, null, null, null));
10520 select.push(graph.addCell(edge4, null, null, null, null));
10527 select.push(graph.addCell(edge5, null, null, null, null));
10534 select.push(graph.addCell(edge6, null, null, null, null));
10545 addFloatingEdge(w * 0.05, h * 0.5, w * 0.6, h * 0.25, edge1, select, graph, cells, v, cell);
10550 addFloatingEdge(w * 0.05, h * 0.5, w * 0.6, h * 0.75, edge2, select, graph, cells, v, cell);
10594 select.push(graph.addCell(edge3, null, null, null, null));
10613 select.push(graph.addCell(edge4, null, null, null, null));
10642 select.push(graph.addCell(edge[i], null, null, null, null));
10801 addFloatingEdge(0, h * 0.5, w * 0.65, h * 0.5, edge1, select, graph, cells, v, cell);
10813 …addFloatingEdge(w * 0.65, h * 0.5, w * 0.96, (i + 0.5) * itemH, edge2[i], select, graph, cells, v,…
10851 …addFloatingEdge(0, (i + 0.5) * itemH, w * 0.96, (i + 0.5) * itemH, edge2[i], select, graph, cells,…
10932 addFloatingEdge(0, 0, 0, h * 0.2, edge1, select, graph, cells, v, cell);
10940 addFloatingEdge(w, h * 0.67, w, h, edge2, select, graph, cells, v, cell);
10952 addFloatingEdge(0, 0, 0, h * 0.33, edge1, select, graph, cells, v, cell);
10960 addFloatingEdge(w, h * 0.8, w, h, edge2, select, graph, cells, v, cell);
10971 addFloatingEdge(w * 0.2, h * 0.5, w * 0.8, h * 0.5, edge3, select, graph, cells, v, cell);
11118 updateCell(v, obj, graph);
13553 addCustomData(v, p, graph);
13607 function createOrgChart(objId, props, data, graph, lookup) argument
13674 graph.addCell(chartGroup);
13730 graph.addCell(cell, chartGroup);
13842 updateCell(e, edgeDefaultStyle.props, graph, null, null, true);
13845 graph.addCell(e, chartGroup, null, src, trg);
13852 …var orgChartLayout = new mxOrgChartLayout(graph, 0, levelSps, layoutSettings.NodeSpacing.NeighborS…