Lines Matching refs:obj

4533 	function getAction(obj)  argument
4535 if (obj.Action != null)
4537 return obj.Action;
4540 return obj;
5603 function updateCell(cell, obj, graph, source, target, ignoreLabel) argument
5605 var a = getAction(obj);
5816 if (obj.id != null)
5818 setAttributeForCell(cell, 'lucidchartObjectId', obj.id, graph);
5822 function createVertex(obj, graph) argument
5824 var a = getAction(obj);
5828 …if (obj.Class != null && (obj.Class.substring(0, 3) === "AWS" || obj.Class.substring(0, 6) === "Am…
5836 updateCell(v, obj, graph);
5866 function createEdge(obj, graph, source, target) argument
5871 updateCell(e, obj, graph, source, target, true);
5874 var a = getAction(obj);
5876 var ta = (p != null) ? p.TextAreas : obj.TextAreas;
5888 e = insertLabel(tmp, e, obj, source, target);
5902 e = insertLabel(tmp, e, obj, source, target);
5910 e = insertLabel(ta.Text, e, obj, source, target);
5913 var ta = (p != null) ? p.TextAreas : obj.TextAreas;
5917 e = insertLabel(ta.Message, e, obj, source, target);
5921 if (obj.Hidden)
5929 function insertLabel(textArea, e, obj, src, trg) argument
5940 labelStyle + getEdgeLabelStyle(textArea, obj, isLastLblHTML));
5948 if (obj.Action && obj.Action.Properties)
5950 obj = obj.Action.Properties;
5959 dx = Math.abs((srcGeo.x + srcGeo.width * obj.Endpoint1.LinkX) -
5960 (trgGeo.x + trgGeo.width * obj.Endpoint2.LinkX));
5961 dy = Math.abs((srcGeo.y + srcGeo.height * obj.Endpoint1.LinkY) -
5962 (trgGeo.y + trgGeo.height * obj.Endpoint2.LinkY));
5966 dx = Math.abs(obj.Endpoint1.x - obj.Endpoint2.x);
5967 dy = Math.abs(obj.Endpoint1.y - obj.Endpoint2.y);
5974 …lab.geometry.offset = new mxPoint(Math.sign(obj.Endpoint1.y - obj.Endpoint2.y) * textArea.Side * (…
5978 …lab.geometry.offset = new mxPoint(0, Math.sign(obj.Endpoint2.x - obj.Endpoint1.x) * textArea.Side …
5992 function getEdgeLabelStyle(obj, pObj, noLblStyle) argument
6002 if (obj != null && obj.Value != null && obj.Value.m != null)
6004 style = getFontStyleString(obj.Value.m);
6006 for (var i = 0; i < obj.Value.m.length; i++)
6008 if (obj.Value.m[i].n == 's')
6010 size = fix1Digit(scale * parseFloat(obj.Value.m[i].v));
6012 else if (obj.Value.m[i].n == 'c')
6014 var v = rgbToHex(obj.Value.m[i].v);
6079 function createGroup(obj, lookup, edgesGroups, blocksMap) argument
6083 if (obj.Action != null && obj.Action.Properties != null)
6085 obj = obj.Action.Properties;
6091 group.zOrder = obj.ZOrder;
6094 var members = obj.Members, memberCells = [];
6181 if (obj.IsState)
6184 name: obj.Name,
6185 visible: !obj.Hidden,
6186 locked: obj.Restrictions.b && obj.Restrictions.p && obj.Restrictions.c
6189 else if (obj.Hidden)
6228 var obj = g.Blocks[key];
6229 obj.id = key;
6233 if (styleMap[obj.Class] != null)
6235 if (styleMap[obj.Class] == 'mxCompositeShape')
6237 lookup[obj.id] = addCompositeShape(obj, select, graph);
6238 queue.push(obj);
6245 lookup[obj.id] = createVertex(obj, graph);
6246 queue.push(obj);
6270 var obj = g.Objects[i];
6271 blocksMap[obj.id] = obj;
6273 if (obj.Action != null && styleMap[obj.Action.Class] == 'mxCompositeShape')
6275 lookup[obj.id] = addCompositeShape(obj, select, graph);
6277 else if (obj.IsBlock && obj.Action != null && obj.Action.Properties != null)
6279 lookup[obj.id] = createVertex(obj, graph);
6281 else if (obj.IsGenerator && obj.GeneratorData && obj.GeneratorData.p)
6283 if (obj.GeneratorData.p.ClassName == 'OrgChart2018')
6286 … createOrgChart(obj.GeneratorData.id, obj.GeneratorData.p, obj.GeneratorData.gs, graph, lookup);
6294 queue.push(obj);
6300 var obj = g.Objects[i];
6302 if (obj.IsGroup)
6304 var group = createGroup(obj, lookup, edgesGroups, blocksMap);
6308 lookup[obj.id] = group;
6309 queue.push(obj);
6322 var obj = g.Groups[key];
6323 obj.id = key;
6325 var group = createGroup(obj, lookup, edgesGroups, blocksMap);
6329 lookup[obj.id] = group;
6330 queue.push(obj);
6344 var obj = g.Lines[key];
6345 obj.id = key;
6347 queue.push(obj);
6363 function addLine(obj, p) argument
6367 var e = createEdge(obj, graph, src, trg);
6387 var group = edgesGroups[obj.id];
6430 var obj = queue[i];
6431 var v = lookup[obj.id];
6459 else if (obj.IsLine && obj.Action != null && obj.Action.Properties != null)
6461 var p = obj.Action.Properties;
6462 addLine(obj, p);
6464 else if (obj.StrokeStyle != null)
6466 addLine(obj, obj);
6590 function addStencil(id, obj) argument
6595 var w = obj.BoundingBox.w;
6596 var h = obj.BoundingBox.h;
6598 for (var i = 0; i < obj.Shapes.length; i++)
6600 var shape = obj.Shapes[i];
6656 text: obj.Text,
6659 x: obj.BoundingBox.x,
6660 y: obj.BoundingBox.y,
6694 function addPages(obj) argument
6697 if (obj.Properties)
6699 for (var key in obj.Properties)
6703 addStencil(key.substr(8), obj.Properties[key]);
6707 LucidImporter.globalProps = obj.Properties;
6710 for (var id in obj.Pages)
6712 var pg = obj.Pages[id];
6714 pg.Data = obj.Data;
6954 function addCompositeShape(obj, select, graph) argument
6956 var a = getAction(obj);
6965 if (obj.Class != null &&
6966 (obj.Class === "GCPInputDatabase" ||
6967 obj.Class === "GCPInputRecord" ||
6968 obj.Class === "GCPInputPayment" ||
6969 obj.Class === "GCPInputGateway" ||
6970 obj.Class === "GCPInputLocalCompute" ||
6971 obj.Class === "GCPInputBeacon" ||
6972 obj.Class === "GCPInputStorage" ||
6973 obj.Class === "GCPInputList" ||
6974 obj.Class === "GCPInputStream" ||
6975 obj.Class === "GCPInputMobileDevices" ||
6976 obj.Class === "GCPInputCircuitBoard" ||
6977 obj.Class === "GCPInputLive" ||
6978 obj.Class === "GCPInputUsers" ||
6979 obj.Class === "GCPInputLaptop" ||
6980 obj.Class === "GCPInputApplication" ||
6981 obj.Class === "GCPInputLightbulb" ||
6982 obj.Class === "GCPInputGame" ||
6983 obj.Class === "GCPInputDesktop" ||
6984 obj.Class === "GCPInputDesktopAndMobile" ||
6985 obj.Class === "GCPInputWebcam" ||
6986 obj.Class === "GCPInputSpeaker" ||
6987 obj.Class === "GCPInputRetail" ||
6988 obj.Class === "GCPInputReport" ||
6989 obj.Class === "GCPInputPhone" ||
6990 obj.Class === "GCPInputBlank"))
7001 var cls = (obj.Class != null) ? obj.Class : (a != null) ? a.Class : null;
7540 if (obj.Class == 'AndroidDateDialog')
7567 if (obj.Class == 'AndroidTimeDialog')
8800 switch (obj.Class)
9685 if (obj.Class == 'VSMDedicatedProcessBlock')
9689 else if (obj.Class == 'VSMProductionControlBlock')
9696 if (obj.Class == 'VSMDedicatedProcessBlock')
10068 if (obj.Class == 'EIMessageChannelBlock')
10073 else if (obj.Class == 'EIDatatypeChannelBlock')
10078 else if (obj.Class == 'EIInvalidMessageChannelBlock')
10083 else if (obj.Class == 'EIDeadLetterChannelBlock')
10088 else if (obj.Class == 'EIGuaranteedDeliveryBlock')
10174 switch(obj.Class)
10999 switch(obj.Class)
11023 if (obj.Class == 'PEIndicator2Block' || obj.Class == 'PESharedIndicator2Block')
11084 if (obj.Class == 'PEPoweredValveBlock')
11101 var p = getAction(obj).Properties;
11106 if (obj.Class == 'PEAngleValveBlock' || obj.Class == 'PEAngleGlobeValveBlock')
11118 updateCell(v, obj, graph);
11121 if (obj.Class == 'PEPoweredValveBlock')
11158 switch (obj.Class)
11916 if (obj.Class == 'UI2VSliderBlock')