Lines Matching refs:p
5487 function addCustomData(cell, p, graph) argument
5489 if (p.Link != null && p.Link.length > 0)
5491 graph.setAttributeForCell(cell, 'link', getLink(p.Link[0]));
5496 for (var property in p)
5498 if (p.hasOwnProperty(property) &&
5503 var data = p[property];
5621 var p = (a.Properties != null) ? a.Properties : a;
5623 if (p != null)
5626 cell.value = (!ignoreLabel) ? convertText(p) : '';
5627 cell.style += addAllStyles(cell.style, p, a, cell, isLastLblHTML);
5631 cell.style += getStrokeColor(p, a);
5634 addCustomData(cell, p, graph);
5636 if (p.Title && p.Title.t && p.Text && p.Text.t && a.Class.substr(0, 8) != 'ExtShape')
5639 …var title = new mxCell(convertText(p.Title), new mxGeometry(0, geo.height,geo.width, 10), 'strokeC…
5642 title.style += getLabelStyle(p.Title, isLastLblHTML);
5648 if (p.Rounding != null && p.Shape != 'diagonal') //No rounding for diagornal edges
5650 cell.style += 'rounded=1;arcSize=' + p.Rounding + ';';
5656 var isCurved = p.Shape == 'curve';
5658 if (p.Shape != 'diagonal')
5660 if (p.ElbowPoints != null && p.ElbowPoints.length > 0)
5664 for (var i = 0; i < p.ElbowPoints.length; i++)
5667 Math.round(p.ElbowPoints[i].x * scale + dx),
5668 Math.round(p.ElbowPoints[i].y * scale + dy)));
5671 else if (p.Shape == 'elbow')
5675 else if (p.Endpoint1.Block != null && p.Endpoint2.Block != null)
5686 if (p.LineJumps || LucidImporter.globalProps.LineJumps)
5691 if (p.Endpoint1.Style != null)
5693 var startStyle = edgeStyleMap[p.Endpoint1.Style];
5706 console.log('Unknown endpoint style: ' + p.Endpoint1.Style);
5711 if (p.Endpoint2.Style != null)
5713 var endStyle = edgeStyleMap[p.Endpoint2.Style];
5726 console.log('Unknown endpoint style: ' + p.Endpoint2.Style);
5731 …var waypoints = p.ElbowControlPoints != null && p.ElbowControlPoints.length > 0? p.ElbowControlPoi…
5732 (isCurved && p.BezierJoints != null && p.BezierJoints.length > 0? p.BezierJoints : p.Joints);
5740 var pt = waypoints[i].p ? waypoints[i].p : waypoints[i];
5747 if (waypoints == p.BezierJoints)
5758 p.Endpoint1.Block != null && p.Endpoint1.Block == p.Endpoint2.Block &&
5762 … var exit = new mxPoint(Math.round(source.geometry.x + source.geometry.width * p.Endpoint1.LinkX),
5763 Math.round(source.geometry.y + source.geometry.height * p.Endpoint1.LinkY));
5764 … var entry = new mxPoint(Math.round(target.geometry.x + target.geometry.width * p.Endpoint2.LinkX),
5765 Math.round(target.geometry.y + target.geometry.height * p.Endpoint2.LinkY));
5783 p1 = updateEndpoint(cell, p.Endpoint1, true, implicitY, null, source);
5799 p2 = updateEndpoint(cell, p.Endpoint2, false, implicitY, null, target);
5825 var p = a.Properties;
5826 var b = p.BoundingBox;
5839 v.zOrder = p.ZOrder;
5847 parent.style += addAllStyles(parent.style, p, a, parent);
5856 handleTextRotation(v, p);
5858 if (p.Hidden)
5875 var p = a.Properties;
5876 var ta = (p != null) ? p.TextAreas : obj.TextAreas;
5913 var ta = (p != null) ? p.TextAreas : obj.TextAreas;
6128 updateMinMax(e[i].p? e[i].p : e[i], scaleIt);
6186 locked: obj.Restrictions.b && obj.Restrictions.p && obj.Restrictions.c
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);
6363 function addLine(obj, p) argument
6365 var src = (p.Endpoint1.Block != null) ? lookup[p.Endpoint1.Block] : null;
6366 var trg = (p.Endpoint2.Block != null) ? lookup[p.Endpoint2.Block] : null;
6369 if ((p.Endpoint1 && p.Endpoint1.Line) || (p.Endpoint2 && p.Endpoint2.Line))
6375 if (src == null && p.Endpoint1 != null)
6377 e.geometry.setTerminalPoint(new mxPoint(Math.round(p.Endpoint1.x * scale),
6378 Math.round(p.Endpoint1.y * scale)), true);
6381 if (trg == null && p.Endpoint2 != null)
6383 e.geometry.setTerminalPoint(new mxPoint(Math.round(p.Endpoint2.x * scale),
6384 Math.round(p.Endpoint2.y * scale)), false);
6389 function fixPoint(p, px, py) argument
6391 if (p != null && !p.generated)
6393 p.x -= px;
6394 p.y -= py;
6461 var p = obj.Action.Properties;
6462 addLine(obj, p);
6848 function addGCP2ServiceCard(icon, w, h, v, p, a) argument
6851 v.style += addAllStyles(v.style, p, a, v);
6853 var label = convertText(p);
6857 icon1.style += addAllStyles(icon1.style, p, a, icon1, isLastLblHTML);
6865 function addGCP2UserDeviceCard(icon, scaleX, scaleY, w, h, v, p, a) argument
6877 v.style += addAllStyles(v.style, p, a, v);
6879 v.value = convertText(p);
6887 icon1.style += addAllStyles(icon1.style, p, a, icon1, isLastLblHTML);
6891 function addGCP2ExpandedProductCard(icon, scaleX, scaleY, w, h, v, p, a) argument
6903 v.style += addAllStyles(v.style, p, a, v);
6905 v.value = convertText(p);
6913 icon1.style += addAllStyles(icon1.style, p, a, icon1, isLastLblHTML);
6957 var p = a.Properties;
6958 var b = p.BoundingBox;
6999 v.zOrder = p.ZOrder;
7011 if (p.BraceDirection != null)
7013 if (p.BraceDirection == 'Right')
7021 var lbl = convertText(p);
7023 …var lblSize = p.Rotation? mxUtils.getSizeForString(lbl.replace(/\n/g, '<br>'), null, null, Math.ab…
7037 v.style += addAllStyles(v.style, p, a, v);
7043 addAllStyles(brace.style, p, a, brace);
7050 addAllStyles(label.style, p, a, label, isLastLblHTML);
7064 if (p.Lanes != null)
7066 lanesNum = p.Lanes.length;
7068 else if (p.PrimaryLane != null)
7070 lanesNum = p.PrimaryLane.length;
7077 w += p.PrimaryLane[i];
7080 for (var i = 0; i < p.SecondaryLane.length; i++)
7082 h += p.SecondaryLane[i];
7103 mainTxtHeight = fixTitleHeight(p.PrimaryPoolTitleHeight);
7104 laneTxtHeight = fixTitleHeight(p.PrimaryLaneTitleHeight);
7114 laneFld = p.PrimaryLaneTextAreaIds;
7127 if (p.IsPrimaryLaneVertical == false)
7129 p['Rotation'] = -1.5707963267948966; //-90
7134 var rotatedSL = p['Rotation'] != 0;
7137 var hasTxt = p[mainTxtFld] != null;
7142 v.style += addAllStyles(v.style, p, a, v);
7146 v.value = convertText(p[mainTxtFld]);
7150 getFontSize(p[mainTxtFld]) +
7151 getFontColor(p[mainTxtFld]) +
7152 getFontFamily(p[mainTxtFld]) +
7153 getFontStyle(p[mainTxtFld]) +
7154 getTextAlignment(p[mainTxtFld], v) +
7155 getTextLeftSpacing(p[mainTxtFld]) +
7156 getTextRightSpacing(p[mainTxtFld]) +
7157 getTextTopSpacing(p[mainTxtFld]) +
7158 getTextBottomSpacing(p[mainTxtFld])
7160 getTextGlobalSpacing(p[mainTxtFld]) +
7161 getTextVerticalAlignment(p[mainTxtFld]);
7170 p['Rotation'] = 0; //Override rotation such that it doesn't mess with our coordinates
7176 var currOffset = parseFloat(p.Lanes[j].p);
7177 var i = parseInt(p.Lanes[j].tid) || j;
7182 var currOffset = (p.PrimaryLane[j] * scale)/ w;
7194 lane[j].value = convertText(p[curLane]);
7196 addAllStyles(lane[j].style, p, a, lane[j], isLastLblHTML) +
7198 getFontSize(p[curLane]) +
7199 getFontColor(p[curLane]) +
7200 getFontStyle(p[curLane]) +
7201 getTextAlignment(p[curLane], lane[j]) +
7202 getTextLeftSpacing(p[curLane]) +
7203 getTextRightSpacing(p[curLane]) +
7204 getTextTopSpacing(p[curLane]) +
7205 getTextBottomSpacing(p[curLane])
7207 getTextGlobalSpacing(p[curLane]) +
7208 getTextVerticalAlignment(p[curLane]) +
7209 getHeaderColor(p[headerFillFld + i]) +
7210 getLaneColor(p[bodyFillFld + i]);
7226 if (p.Rows != null && p.Columns != null)
7228 rowsNum = p.Rows.length;
7229 colsNum = p.Columns.length;
7230 var colStartSize = p.TitleHeight * scale || 25;
7231 var rowStartSize = p.TitleWidth * scale || 25;
7233 else if (p.PrimaryLane != null && p.SecondaryLane != null)
7235 rowsNum = p.SecondaryLane.length;
7236 colsNum = p.PrimaryLane.length;
7237 var rowStartSize = p.SecondaryLaneTitleHeight * scale || 25;
7238 var colStartSize = p.PrimaryLaneTitleHeight * scale || 25;
7245 h += p.SecondaryLane[i];
7250 w += p.PrimaryLane[i];
7258 rowFld = p.SecondaryLaneTextAreaIds;
7259 colFld = p.PrimaryLaneTextAreaIds;
7280 var rh = parseInt(p.Rows[j].height) * scale;
7281 var i = parseInt(p.Rows[j].id) || j;
7286 var rh = p.SecondaryLane[j] * scale;
7294 r.value = convertText(p[curRow]);
7296 addAllStyles(r.style, p, a, r, isLastLblHTML) +
7298 getFontSize(p[curRow]) +
7299 getFontColor(p[curRow]) +
7300 getFontStyle(p[curRow]) +
7301 getTextAlignment(p[curRow], r) +
7302 getTextLeftSpacing(p[curRow]) +
7303 getTextRightSpacing(p[curRow]) +
7304 getTextTopSpacing(p[curRow]) +
7305 getTextBottomSpacing(p[curRow])
7307 getTextGlobalSpacing(p[curRow]) +
7308 getTextVerticalAlignment(p[curRow]);
7318 var cw = parseInt(p.Columns[j].width) * scale;
7319 var i = parseInt(p.Columns[j].id) || j;
7324 var cw = p.PrimaryLane[j] * scale;
7332 c.value = convertText(p[curCol]);
7334 addAllStyles(c.style, p, a, c, isLastLblHTML) +
7336 getFontSize(p[curCol]) +
7337 getFontColor(p[curCol]) +
7338 getFontStyle(p[curCol]) +
7339 getTextAlignment(p[curCol], c) +
7340 getTextLeftSpacing(p[curCol]) +
7341 getTextRightSpacing(p[curCol]) +
7342 getTextTopSpacing(p[curCol]) +
7343 getTextBottomSpacing(p[curCol])
7345 getTextGlobalSpacing(p[curCol]) +
7346 getTextVerticalAlignment(p[curCol]);
7350 if (p.Composite == 0)
7353 v.value = convertText(p.State, true);
7354 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
7360 v.value = convertText(p.State, true);
7361 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
7362 v.style += getFillColor(p, a).replace('fillColor', 'swimlaneFillColor');
7365 content.value = convertText(p.Action, true);
7366 content.style += addAllStyles(content.style, p, a, content, isLastLblHTML);
7372 var startSize = Math.round(p.nameHeight * scale);
7374 v.value = convertText(p.Number, true);
7375 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
7376 v.style += getFillColor(p, a).replace('fillColor', 'swimlaneFillColor');
7379 content.value = convertText(p.Text, true);
7380 content.style += addAllStyles(content.style, p, a, content, isLastLblHTML);
7385 if (p.AndroidDeviceName != null)
7387 var rotation = getRotation(p, a, v);
7393 …if (p.AndroidDeviceName == 'Tablet' || p.AndroidDeviceName == 'Mini Tablet' || (p.AndroidDeviceNa…
7398 if (p.KeyboardShown)
7403 if (!p.FullScreen)
7408 …else if (p.AndroidDeviceName == 'Large Phone' || p.AndroidDeviceName == 'Phone' || (p.AndroidDevi…
7413 if (p.KeyboardShown)
7418 if (!p.FullScreen)
7428 if (p.Scheme == "Dark")
7432 else if (p.Scheme == "Light")
7452 v.style += addAllStyles(v.style, p, a, v);
7471 dialog.value = convertText(p.DialogTitle);
7472 dialog.style += getLabelStyle(p.DialogTitle, isLastLblHTML);
7473 dialogText.value = convertText(p.DialogText);
7474 dialogText.style += getLabelStyle(p.DialogText, isLastLblHTML);
7475 cancelButton.value = convertText(p.Button_0);
7476 cancelButton.style += getLabelStyle(p.Button_0, isLastLblHTML);
7477 okButton.value = convertText(p.Button_1);
7478 okButton.style += getLabelStyle(p.Button_1, isLastLblHTML);
7480 if (p.Scheme == 'Dark')
7493 v.style += addAllStyles(v.style, p, a, v);
7501 dialog.value = convertText(p.DialogTitle);
7502 dialog.style += getLabelStyle(p.DialogTitle, isLastLblHTML);
7509 cancelButton.value = convertText(p.Button_0);
7510 cancelButton.style += getLabelStyle(p.Button_0, isLastLblHTML);
7514 okButton.value = convertText(p.Button_1);
7515 okButton.style += getLabelStyle(p.Button_1, isLastLblHTML);
7530 prevDate1.value = convertText(p.Label_1);
7531 prevDate1.style += getLabelStyle(p.Label_1, isLastLblHTML);
7535 prevDate2.value = convertText(p.Label_0);
7536 prevDate2.style += getLabelStyle(p.Label_0, isLastLblHTML);
7545 prevDate3.value = convertText(p.Label_2);
7546 prevDate3.style += getLabelStyle(p.Label_2, isLastLblHTML);
7562 date1.value = convertText(p.Label_4);
7563 date1.style += getLabelStyle(p.Label_4, isLastLblHTML);
7572 sep.value = convertText(p.Label_Colon);
7573 sep.style += getLabelStyle(p.Label_Colon, isLastLblHTML);
7579 date2.value = convertText(p.Label_3);
7580 date2.style += getLabelStyle(p.Label_3, isLastLblHTML);
7584 date3.value = convertText(p.Label_5);
7585 date3.style += getLabelStyle(p.Label_5, isLastLblHTML);
7600 nextDate1.value = convertText(p.Label_7);
7601 nextDate1.style += getLabelStyle(p.Label_7, isLastLblHTML);
7605 nextDate2.value = convertText(p.Label_6);
7606 nextDate2.style += getLabelStyle(p.Label_6, isLastLblHTML);
7610 nextDate3.value = convertText(p.Label_8);
7611 nextDate3.style += getLabelStyle(p.Label_8, isLastLblHTML);
7623 if (p.Scheme == 'Dark')
7648 v.style += addAllStyles(v.style, p, a, v);
7655 if (p.ShowHeader)
7662 header.value = convertText(p.Header);
7663 header.style += getLabelStyle(p.Header, isLastLblHTML);
7672 var numItems = parseInt(p.Items);
7687 item[i].value = convertText(p["Item_" + i]);
7688 item[i].style += getLabelStyle(p["Item_" + i], isLastLblHTML);
7696 if (p.Scheme == 'Dark')
7707 if (p.Scheme == 'Dark')
7716 v.style += addAllStyles(v.style, p, a, v);
7720 var numTabs = parseInt(p.Tabs);
7736 tab[i].value = convertText(p["Tab_" + i]);
7737 tab[i].style += getLabelStyle(p["Tab_" + i], isLastLblHTML);
7745 if (p.Scheme == 'Dark')
7756 …var selectedMarker = new mxCell('', new mxGeometry(p.Selected * tabFullW + 2, h - 3, tabFullW - 4,…
7760 if (p.Scheme == 'Dark')
7769 v.style += addAllStyles(v.style, p, a, v);
7776 …var progressBar = new mxCell('', new mxGeometry(0, 0, w * p.BarPosition, Math.round(h * 0.5)), 'st…
7780 if (p.Scheme == 'Dark')
7789 v.style += addAllStyles(v.style, p, a, v);
7793 if (p.Scheme == 'Dark')
7802 v.style += addAllStyles(v.style, p, a, v);
7806 if (p.Scheme == 'Dark')
7808 if (p.ShowBorder)
7819 if (p.ShowBorder)
7829 v.value = convertText(p.Label);
7830 v.style += getLabelStyle(p.Label, isLastLblHTML);
7831 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
7838 switch (p.BarBackground)
7854 if (p.HighlightShow)
7858 if (p.HighlightTop)
7870 switch (p.HighlightColor)
7884 if (p.VlignShow)
7890 switch (p.VlignColor)
7901 v.style += addAllStyles(v.style, p, a, v);
7905 v.value = convertText(p.Label);
7906 v.style += getLabelStyle(p.Label, isLastLblHTML) + 'shape=partialRectangle;left=0;right=0;';
7908 if (p.Scheme == 'Dark')
7917 v.style += addAllStyles(v.style, p, a, v);
7921 v.value = convertText(p.Label);
7922 v.style += getLabelStyle(p.Label, isLastLblHTML);
7928 if (p.Scheme == 'Dark')
7937 if (p.TextFocused)
7946 v.style += addAllStyles(v.style, p, a, v);
7952 if (p.Checked)
7959 if (p.Scheme == 'Dark')
7963 if (p.Checked)
7977 if (p.Checked)
7983 v.style += addAllStyles(v.style, p, a, v);
7988 if (p.Checked)
7995 if (p.Scheme == 'Dark')
8004 v.style += addAllStyles(v.style, p, a, v);
8008 if (p.Scheme == 'Dark')
8010 if (p.Checked)
8021 if (p.Checked)
8031 v.style += addAllStyles(v.style, p, a, v);
8035 …v.style += 'shape=mxgraph.android.progressScrubberFocused;dx=' + p.BarPosition + ';fillColor=#33b5…
8036 v.style += addAllStyles(v.style, p, a, v);
8041 var numTabs = parseInt(p.Tabs);
8055 …tab[i] = new mxCell('', new mxGeometry(i * tabFullW, 0, tabFullW, h), 'strokeColor=' + p.FillColor…
8058 tab[i].value = convertText(p["Tab_" + i]);
8059 tab[i].style += getLabelStyle(p["Tab_" + i], isLastLblHTML);
8061 if (p.Selected == i)
8063 tab[i].style += getFillColor(p, a);
8071 v.style += addAllStyles(v.style, p, a, v);
8075 … 'shape=mxgraph.ios7ui.slider;strokeColor=' + p.FillColor + ';fillColor=#ffffff;strokeWidth=2;barP…
8076 v.style += addAllStyles(v.style, p, a, v);
8084 …new mxCell('', new mxGeometry(0, 0, w * p.BarPosition, Math.round(h * 0.5)), 'strokeColor=none;' +…
8088 v.style += addAllStyles(v.style, p, a, v);
8093 v.style += addAllStyles(v.style, p, a, v);
8100 …var text1 = new mxCell(convertText(p.Text), new mxGeometry(w * 0.35, 0, w * 0.3, h), 'strokeColor=…
8103 text1.style += getLabelStyle(p.Text, isLastLblHTML);
8105 …var text2 = new mxCell(convertText(p.Carrier), new mxGeometry(w * 0.09, 0, w * 0.2, h), 'strokeCol…
8108 text2.style += getLabelStyle(p.Carrier, isLastLblHTML);
8110 v.style += addAllStyles(v.style, p, a, v);
8114 v.value = convertText(p.Search);
8117 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML) +
8118 getLabelStyle(p.Search, isLastLblHTML);
8127 v.value = convertText(p.Title);
8129 + getLabelStyle(p.Title, isLastLblHTML);
8130 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
8132 …var text1 = new mxCell(convertText(p.LeftText), new mxGeometry(w * 0.03, 0, w * 0.3, h), 'strokeCo…
8135 text1.style += getLabelStyle(p.LeftText, isLastLblHTML);
8137 …var text2 = new mxCell(convertText(p.RightText), new mxGeometry(w * 0.65, 0, w * 0.3, h), 'strokeC…
8140 text2.style += getLabelStyle(p.RightText, isLastLblHTML);
8149 var numTabs = parseInt(p.Tabs);
8152 v.style += addAllStyles(v.style, p, a, v);
8167 tab[i].value = convertText(p["Tab_" + i]);
8172 getFontSize(p["Tab_" + i]) +
8173 getFontFamily(p["Tab_" + i]) +
8174 getFontColor(p["Tab_" + i]) +
8175 getFontStyle(p["Tab_" + i]) +
8176 getTextAlignment(p["Tab_" + i]) +
8177 getTextLeftSpacing(p["Tab_" + i]) +
8178 getTextRightSpacing(p["Tab_" + i]) +
8179 getTextTopSpacing(p["Tab_" + i]) +
8180 getTextBottomSpacing(p["Tab_" + i]) +
8181 getTextGlobalSpacing(p["Tab_" + i]));
8185 if (p.Selected == i)
8201 firstDate1.value = convertText(p.Option11);
8202 firstDate1.style += getLabelStyle(p.Option11, isLastLblHTML);
8206 firstDate2.value = convertText(p.Option21);
8207 firstDate2.style += getLabelStyle(p.Option21, isLastLblHTML);
8211 firstDate3.value = convertText(p.Option31);
8212 firstDate3.style += getLabelStyle(p.Option31, isLastLblHTML);
8217 secondDate1.value = convertText(p.Option12);
8218 secondDate1.style += getLabelStyle(p.Option12, isLastLblHTML);
8222 secondDate2.value = convertText(p.Option22);
8223 secondDate2.style += getLabelStyle(p.Option22, isLastLblHTML);
8227 secondDate3.value = convertText(p.Option32);
8228 secondDate3.style += getLabelStyle(p.Option32, isLastLblHTML);
8233 currDate1.value = convertText(p.Option13);
8234 currDate1.style += getLabelStyle(p.Option13, isLastLblHTML);
8238 currDate2.value = convertText(p.Option23);
8239 currDate2.style += getLabelStyle(p.Option23, isLastLblHTML);
8243 currDate3.value = convertText(p.Option33);
8244 currDate3.style += getLabelStyle(p.Option33, isLastLblHTML);
8248 currDate4.value = convertText(p.Option43);
8249 currDate4.style += getLabelStyle(p.Option43, isLastLblHTML);
8254 fourthDate1.value = convertText(p.Option14);
8255 fourthDate1.style += getLabelStyle(p.Option14, isLastLblHTML);
8259 fourthDate2.value = convertText(p.Option24);
8260 fourthDate2.style += getLabelStyle(p.Option24, isLastLblHTML);
8264 fourthDate3.value = convertText(p.Option34);
8265 fourthDate3.style += getLabelStyle(p.Option34, isLastLblHTML);
8269 fourthDate4.value = convertText(p.Option44);
8270 fourthDate4.style += getLabelStyle(p.Option44, isLastLblHTML);
8275 fifthDate1.value = convertText(p.Option15);
8276 fifthDate1.style += getLabelStyle(p.Option15, isLastLblHTML);
8280 fifthDate2.value = convertText(p.Option25);
8281 fifthDate2.style += getLabelStyle(p.Option25, isLastLblHTML);
8285 fifthDate3.value = convertText(p.Option35);
8286 fifthDate3.style += getLabelStyle(p.Option35, isLastLblHTML);
8296 v.style += addAllStyles(v.style, p, a, v);
8304 firstDate1.value = convertText(p.Option11);
8305 firstDate1.style += getLabelStyle(p.Option11, isLastLblHTML);
8309 firstDate2.value = convertText(p.Option21);
8310 firstDate2.style += getLabelStyle(p.Option21, isLastLblHTML);
8315 secondDate1.value = convertText(p.Option12);
8316 secondDate1.style += getLabelStyle(p.Option12, isLastLblHTML);
8320 secondDate2.value = convertText(p.Option22);
8321 secondDate2.style += getLabelStyle(p.Option22, isLastLblHTML);
8326 currDate1.value = convertText(p.Option13);
8327 currDate1.style += getLabelStyle(p.Option13, isLastLblHTML);
8331 currDate2.value = convertText(p.Option23);
8332 currDate2.style += getLabelStyle(p.Option23, isLastLblHTML);
8336 currDate4.value = convertText(p.Option33);
8337 currDate4.style += getLabelStyle(p.Option33, isLastLblHTML);
8342 fourthDate1.value = convertText(p.Option14);
8343 fourthDate1.style += getLabelStyle(p.Option14, isLastLblHTML);
8347 fourthDate2.value = convertText(p.Option24);
8348 fourthDate2.style += getLabelStyle(p.Option24, isLastLblHTML);
8352 fourthDate4.value = convertText(p.Option34);
8353 fourthDate4.style += getLabelStyle(p.Option34, isLastLblHTML);
8358 fifthDate1.value = convertText(p.Option15);
8359 fifthDate1.style += getLabelStyle(p.Option15, isLastLblHTML);
8363 fifthDate2.value = convertText(p.Option25);
8364 fifthDate2.style += getLabelStyle(p.Option25, isLastLblHTML);
8374 v.style += addAllStyles(v.style, p, a, v);
8382 firstDate3.value = convertText(p.Option31);
8383 firstDate3.style += getLabelStyle(p.Option31, isLastLblHTML);
8388 secondDate3.value = convertText(p.Option32);
8389 secondDate3.style += getLabelStyle(p.Option32, isLastLblHTML);
8394 currDate1.value = convertText(p.Option13);
8395 currDate1.style += getLabelStyle(p.Option13, isLastLblHTML);
8399 currDate2.value = convertText(p.Option23);
8400 currDate2.style += getLabelStyle(p.Option23, isLastLblHTML);
8404 currDate3.value = convertText(p.Option33);
8405 currDate3.style += getLabelStyle(p.Option33, isLastLblHTML);
8409 currDate4.value = convertText(p.Option43);
8410 currDate4.style += getLabelStyle(p.Option43, isLastLblHTML);
8415 fourthDate1.value = convertText(p.Option14);
8416 fourthDate1.style += getLabelStyle(p.Option14, isLastLblHTML);
8420 fourthDate3.value = convertText(p.Option34);
8421 fourthDate3.style += getLabelStyle(p.Option34, isLastLblHTML);
8426 fifthDate1.value = convertText(p.Option15);
8427 fifthDate1.style += getLabelStyle(p.Option15, isLastLblHTML);
8431 fifthDate3.value = convertText(p.Option35);
8432 fifthDate3.style += getLabelStyle(p.Option35, isLastLblHTML);
8442 v.style += addAllStyles(v.style, p, a, v);
8447 v.value = convertText(p.text);
8448 …fillColor=#ffffff;strokeColor=#C8C7CC;spacing=0;align=left;spacingLeft=' + (p.SeparatorInset * sca…
8450 getFontSize(p.text) +
8451 getFontColor(p.text) +
8452 getFontStyle(p.text)) +
8453 getTextVerticalAlignment(p.text);
8454 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
8456 switch (p.AccessoryIndicatorType)
8494 …strokeColor=#C8C7CC;align=left;spacing=0;verticalAlign=top;spacingLeft=' + (p.SeparatorInset * sca…
8495 v.value = convertText(p.subtext);
8497 getFontSize(p.subtext) +
8498 getFontColor(p.subtext) +
8499 getFontStyle(p.subtext));
8500 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
8502 …strokeColor=none;spacing=0;align=left;verticalAlign=bottom;spacingLeft=' + (p.SeparatorInset * sca…
8505 subtext.value = convertText(p.text);
8509 getFontSize(p.text) +
8510 getFontFamily(p.text) +
8511 getFontColor(p.text) +
8512 getFontStyle(p.text));
8514 switch (p.AccessoryIndicatorType)
8552 …okeColor=#C8C7CC;align=left;spacing=0;verticalAlign=middle;spacingLeft=' + (p.SeparatorInset * sca…
8553 v.value = convertText(p.subtext);
8555 getFontSize(p.subtext) +
8556 getFontColor(p.subtext) +
8557 getFontStyle(p.subtext));
8558 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
8562 switch (p.AccessoryIndicatorType)
8610 subtext.value = convertText(p.text);
8614 getFontSize(p.text) +
8615 getFontFamily(p.text) +
8616 getFontColor(p.text) +
8617 getFontStyle(p.text));
8623 v.style += addAllStyles(v.style, p, a, v);
8628 text.value = convertText(p.subtext);
8632 getFontSize(p.subtext) +
8633 getFontFamily(p.subtext) +
8634 getFontColor(p.subtext) +
8635 getFontStyle(p.subtext));
8640 subtext.value = convertText(p.text);
8644 getFontSize(p.text) +
8645 getFontFamily(p.text) +
8646 getFontColor(p.text) +
8647 getFontStyle(p.text));
8649 switch (p.AccessoryIndicatorType)
8692 text1.value = convertText(p.text);
8696 getFontSize(p.text) +
8697 getFontFamily(p.text) +
8698 getFontColor(p.text) +
8699 getFontStyle(p.text));
8704 text2.value = convertText(p["bottom-text"]);
8708 getFontSize(p["bottom-text"]) +
8709 getFontFamily(p["bottom-text"]) +
8710 getFontColor(p["bottom-text"]) +
8711 getFontStyle(p["bottom-text"]));
8717 v.value = convertText(p.text);
8719 getFontSize(p.text) +
8720 getFontColor(p.text) +
8721 getFontStyle(p.text));
8722 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
8728 if (p.Group)
8736 item1.style += getStrokeColor(p, a) +
8737 getFillColor(p, a) +
8738 getOpacity(p, a, item1) +
8739 getShadow(p) +
8740 getStrokeWidth(p);
8746 item2.value = convertText(p.Text);
8747 item2.style += getStrokeColor(p, a) +
8748 getFillColor(p, a) +
8749 getOpacity(p, a, item2) +
8750 getShadow(p) +
8751 getStrokeWidth(p) +
8752 getLabelStyle(p, isLastLblHTML);
8754 if (p.Future)
8764 if (p.Future)
8769 v.value = convertText(p.Text);
8770 v.style += getStrokeColor(p, a) +
8771 getFillColor(p, a) +
8772 getOpacity(p, a, v) +
8773 getShadow(p) +
8774 getStrokeWidth(p) +
8775 getLabelStyle(p, isLastLblHTML);
8778 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
8830 var fc = getFillColor(p, a);
8863 item1.value = convertText(p.Text);
8864 item1.style += getLabelStyle(p, isLastLblHTML);
8865 v.style += addAllStyles(v.style, p, a, v);
8875 item1.style += addAllStyles(item1.style, p, a, item1);
8881 item2.value = convertText(p.Text);
8883 getLabelStyle(p.Text, isLastLblHTML);
8884 item2.style += addAllStyles(item2.style, p, a, item2, isLastLblHTML);
8899 label.value = convertText(p);
8903 v.style += addAllStyles(v.style, p, a, v);
8907 getOpacity(p, a, brace1);
8909 getOpacity(p, a, brace2);
8911 getFontColor(p, label);
8912 brace1.style += addAllStyles(brace1.style, p, a, brace1);
8913 brace2.style += addAllStyles(brace2.style, p, a, brace2);
8914 label.style += addAllStyles(label.style, p, a, label, isLastLblHTML);
8918 v.value = convertText(p.Text);
8920 getLabelStyle(p.Text, isLastLblHTML);
8921 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
8925 var rotation = getRotation(p, a, v);
8926 p.Rotatio = null;
8927 var allStyle = addAllStyles(v.style, p, a, v, isLastLblHTML);
8948 v.value = convertText(p);
8949 v.style = 'html=1;dropTarget=0;' + addAllStyles(v.style, p, a, v, isLastLblHTML);
8959 var rotation = getRotation(p, a, v);
8960 p.Rotatio = null;
8961 var allStyle = addAllStyles(v.style, p, a, v, isLastLblHTML);
8986 v.value = convertText(p.Text);
8988 switch (p.bpmnActivityType)
8992 getLabelStyle(p.Text, isLastLblHTML);
8996 getLabelStyle(p.Text, isLastLblHTML);
9000 getLabelStyle(p.Text, isLastLblHTML);
9004 getLabelStyle(p.Text, isLastLblHTML);
9008 if (p.bpmnTaskType != 0)
9010 switch (p.bpmnTaskType)
9042 if (p.bpmnTaskType == 1)
9044 var sc = getFillColor(p, a);
9045 var fc = getStrokeColor(p, a);
9065 item1.style += getFillColor(p, a) + getStrokeColor(p, a) + 'part=1;';
9075 if (p.bpmnActivityMarker1 != 0)
9080 if (p.bpmnActivityMarker2 != 0)
9097 if (p.bpmnActivityMarker1 != 0)
9099 switch (p.bpmnActivityMarker1)
9104 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9109 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9114 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9119 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9124 var fc = getStrokeColor(p, a);
9137 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9151 if (p.bpmnActivityMarker2 != 0)
9153 switch (p.bpmnActivityMarker2)
9158 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9163 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9168 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9173 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9178 var fc = getStrokeColor(p, a);
9191 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9200 v.style += addAllStyles(v.style, p, a, v);
9207 v.value = convertText(p.Text);
9209 if (p.bpmnDashed == true)
9211 switch (p.bpmnEventGroup)
9226 switch (p.bpmnEventGroup)
9240 switch(p.bpmnEventType)
9281 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9287 var st = getColor(p.FillColor);
9290 var fz = getFontSize(p.Name).match(/\d+/);
9291 …var th = Math.max(mxUtils.getSizeForString(p.Name.t, fz? fz[0] : defaultFontSize, null, w - 10).he…
9294 v.value = convertText(p.Name);
9297 getLabelStyle(p.Name, isLastLblHTML);
9298 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9301 var fz = getFontSize(p.TaskName).match(/\d+/);
9302 …var curH = p.TaskHeight? p.TaskHeight * scale : Math.max(mxUtils.getSizeForString(p.TaskName.t, fz…
9304 task.value = convertText(p.TaskName);
9307 task.style += getLabelStyle(p.TaskName, isLastLblHTML);
9308 task.style += addAllStyles(task.style, p, a, task, isLastLblHTML);
9313 for (var i = 0; i < p.Fields; i++)
9315 var pTxt = p['Participant' + (i + 1)];
9323 item[i].style += addAllStyles(item[i].style, p, a, item[i], isLastLblHTML);
9342 v.value = convertText(p.Text);
9344 if (p.bpmnConversationType == 0)
9346 v.style += getStrokeWidth(p);
9353 if (p.bpmnIsSubConversation)
9357 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9363 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9369 switch (p.bpmnGatewayType)
9397 v.style += addAllStyles(v.style, p, a, v);
9398 v.value = convertText(p.Text);
9399 v.style += getLabelStyle(p, isLastLblHTML);
9404 switch (p.bpmnDataType)
9407 v.value = convertText(p.Text);
9409 if (p.Text && !p.Text.t)
9411 p.Text.t = ' '; //Such that Title is catched and added later!
9417 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9425 item1.style += getFillColor(p, a) + getStrokeColor(p, a);
9436 text1.value = convertText(p.Text);
9437 text1.style += getLabelStyle(p, isLastLblHTML);
9442 item1.style += getStrokeColor(p, a);
9447 var fc = getStrokeColor(p, a);
9462 text1.value = convertText(p.Text);
9463 text1.style += getLabelStyle(p, isLastLblHTML);
9467 v.style += addAllStyles(v.style, p, a, v);
9471 v.value = convertText(p.Text);
9472 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9483 v.style += addAllStyles(v.style, p, a, v);
9489 item1.style += addAllStyles(item1.style, p, a, item1);
9494 item2.value = convertText(p.Text);
9496 getLabelStyle(p.Text, isLastLblHTML);
9497 item2.style += addAllStyles(item2.style, p, a, item2, isLastLblHTML);
9502 v.value = convertText(p.Text);
9504 getLabelStyle(p.Text, isLastLblHTML);
9505 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9511 item1.value = convertText(p.Number);
9513 getLabelStyle(p.Number, isLastLblHTML);
9514 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
9520 for (var key in p.Active)
9522 if (key == 'Photo' || !p.Active[key]) continue;
9524 lbls += convertText(p[key], true);
9527 if (p.Active.Photo)
9531 ';imageAlign=left;imageVerticalAlign=top;image=' + mapImgUrl(p.Photo);
9535 v.style += addAllStyles(v.style, p, a, v, true);
9541 var rowsNum = p.RowHeights.length;
9542 var colsNum = p.ColWidths.length;
9547 rowHs[i] = p.RowHeights[i] * scale;
9552 colWs[j] = p.ColWidths[j] * scale;
9558 var bandedClr1 = p['BandedColor1'];
9559 var bandedClr2 = p['BandedColor2'];
9560 var bandedRows = p['BandedRows'];
9561 var bandedCols = p['BandedCols'];
9562 var hideH = p['HideH'];
9563 var hideV = p['HideV'];
9564 var tblVAlign = p['TextVAlign'];
9565 var tblFillClr = p['FillColor'];
9566 var tblStrokeStyle = p['StrokeStyle'];
9567 delete p['StrokeStyle'];
9569 var tblLnClr = p['LineColor'];
9589 var fillClr = p['CellFill_' + cellIndex];
9590 var noBand = p['NoBand_' + cellIndex];
9591 var spans = p['CellSize_' + cellIndex];
9592 var cellLbl = p['Cell_' + cellIndex];
9593 var vAlign = p['Cell_' + cellIndex + '_VAlign'];
9594 var txtRot = p['Cell_' + cellIndex + '_TRotation'];
9595 var borderWH = p['CellBorderWidthH_' + cellIndex];
9596 var borderClrH = p['CellBorderColorH_' + cellIndex];
9597 var borderStyleH = p['CellBorderStrokeStyleH_' + cellIndex];
9598 var borderWV = p['CellBorderWidthV_' + cellIndex];
9599 var borderClrV = p['CellBorderColorV_' + cellIndex];
9600 var borderStyleV = p['CellBorderStrokeStyleV_' + cellIndex];
9656 addAllStyles(cell.style, p, a, cell, isLastLblHTML) +
9687 v.value = convertText(p.Text);
9691 v.value = convertText(p.Resources);
9694 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9704 item1.style += addAllStyles(item1.style, p, a, item1);
9710 text1.value = convertText(p.Title);
9711 text1.style += getLabelStyle(p.Title, isLastLblHTML);
9712 p.Text = null;
9718 v.value = convertText(p.Text);
9719 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9724 text1.value = convertText(p.Resource);
9726 getLabelStyle(p.Resource, isLastLblHTML);
9727 text1.style += addAllStyles(text1.style, p, a, text1, isLastLblHTML);
9733 v.value = convertText(p.Text);
9734 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9740 v.style += addAllStyles(v.style, p, a, v);
9744 var numItems = parseInt(p.Cells);
9746 var st = addAllStyles('part=1;', p, a, v);
9761 item[i].value = convertText(p["cell_" + i]);
9762 item[i].style += getLabelStyle(p["cell_" + i], isLastLblHTML);
9768 v.value = convertText(p.Text);
9769 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9774 v.style += addAllStyles(v.style, p, a, v);
9778 var numItems = parseInt(p.Cells);
9780 var st = addAllStyles('part=1;fillColor=none;', p, a, v);
9799 text[i].value = convertText(p["cell_" + i]);
9800 text[i].style += getLabelStyle(p["cell_" + i], isLastLblHTML);
9806 v.style += addAllStyles(v.style, p, a, v);
9811 v.value = convertText(p.Text);
9812 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9817 item1.style += addAllStyles(item1.style, p, a, item1);
9828 item1.style += addAllStyles(item1.style, p, a, item1);
9833 item2.style += addAllStyles(item2.style, p, a, item2);
9838 item3.value = convertText(p.Text);
9839 item3.style += addAllStyles(item3.style, p, a, item3, isLastLblHTML);
9844 v.value = convertText(p.Title);
9845 v.style += getLabelStyle(p.Title, isLastLblHTML);
9854 if (p.Spotfleet)
9861 item1.value = convertText(p.Title);
9862 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
9870 else if (p.Beanstalk)
9877 item1.value = convertText(p.Title);
9878 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
9886 else if (p.EC2)
9893 item1.value = convertText(p.Title);
9894 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
9902 else if (p.Subnet)
9909 item1.value = convertText(p.Title);
9910 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
9918 else if (p.VPC)
9925 item1.value = convertText(p.Title);
9926 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
9934 else if (p.AWS)
9941 item1.value = convertText(p.Title);
9942 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
9950 else if (p.Corporate)
9957 item1.value = convertText(p.Title);
9958 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
9969 v.value = convertText(p.Title);
9970 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9976 v.value = convertText(p.Title);
9977 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9983 v.value = convertText(p.Title);
9984 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
9990 v.value = convertText(p.Title);
9991 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10002 cell.style += getFillColor(p, a);
10031 var stepX = w / p.NumTopNodes;
10033 for (var i = 0; i < p.NumTopNodes; i++)
10038 stepX = w / p.NumBottomNodes;
10040 for (var i = 0; i < p.NumBottomNodes; i++)
10049 v.value = convertText(p.Title);
10050 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10052 if (p.ToggleCharge)
10065 v.value = convertText(p.Text);
10066 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10098 item1.style += addAllStyles(item1.style, p, a, item1);
10110 v.value = convertText(p.Text);
10111 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10116 item1.style += addAllStyles(item1.style, p, a, item1);
10121 item2.style += addAllStyles(item2.style, p, a, item2);
10128 item3.style += addAllStyles(item3.style, p, a, item3);
10135 edge1.style += getStrokeColor(p, a);
10154 v.value = convertText(p.Text);
10155 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10160 item1.style += addAllStyles(item1.style, p, a, item1);
10162 var messagesNum = p.Messages;
10177 item2[i].value = convertText(p['message_' + (i + 1)]);
10178 item2.style += getLabelStyle(p['message_' + (i + 1)], isLastLblHTML);
10194 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i]);
10200 edge[i].style += addAllStyles(edge[i].style, p, a, edge[i]);
10213 v.value = convertText(p.Text);
10214 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10220 item1.style += addAllStyles(item1.style, p, a, item1);
10231 v.value = convertText(p.Text);
10232 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10253 v.value = convertText(p.Text);
10254 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10259 edge1.style += getStrokeColor(p, a);
10265 edge2.style += getStrokeColor(p, a);
10271 edge3.style += getStrokeColor(p, a);
10277 edge4.style += getStrokeColor(p, a);
10284 v.value = convertText(p.Text);
10285 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10290 item1.style += addAllStyles(item1.style, p, a, item1);
10301 item2.style += addAllStyles(item2.style, p, a, item2);
10313 v.value = convertText(p.Text);
10314 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10319 item1.style += addAllStyles(item1.style, p, a, item1);
10325 v.value = convertText(p.Text);
10326 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10331 item1.style += addAllStyles(item1.style, p, a, item1);
10339 item1.style += addAllStyles(item1.style, p, a, item1);
10346 edge1.style += addAllStyles(edge1.style, p, a, edge1);
10358 getStrokeColor(p, a) +
10359 getStrokeWidth(p);
10360 item3.style += addAllStyles(item3.style, p, a, item3);
10366 getStrokeColor(p, a) +
10367 getOpacity(p, a, item4) +
10368 getStrokeWidth(p) +
10369 getStrokeStyle(p);
10373 item4.style += addAllStyles(item4.style, p, a, item4);
10380 edge2.style += addAllStyles(edge2.style, p, a, edge2);
10393 edge3.style += addAllStyles(edge3.style, p, a, edge3);
10402 v.value = convertText(p.Text);
10403 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10408 item1.style += addAllStyles(item1.style, p, a, item1);
10413 item2.style += addAllStyles(item2.style, p, a, item2);
10418 item3.style += addAllStyles(item3.style, p, a, item3);
10427 edge1.style += addAllStyles(edge1.style, p, a, edge1);
10436 edge2.style += addAllStyles(edge2.style, p, a, edge2);
10444 v.value = convertText(p.Text);
10445 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10450 item1.style += addAllStyles(item1.style, p, a, item1);
10456 v.value = convertText(p.Text);
10457 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10462 item1.style += addAllStyles(item1.style, p, a, item1);
10467 item2.style += addAllStyles(item2.style, p, a, item2);
10498 edge1.style += addAllStyles(edge1.style, p, a, edge1);
10505 edge2.style += addAllStyles(edge2.style, p, a, edge2);
10512 edge3.style += addAllStyles(edge3.style, p, a, edge3);
10519 edge4.style += addAllStyles(edge4.style, p, a, edge4);
10526 edge5.style += addAllStyles(edge5.style, p, a, edge5);
10533 edge6.style += addAllStyles(edge6.style, p, a, edge6);
10539 v.value = convertText(p.Text);
10540 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10555 item1.style += addAllStyles(item1.style, p, a, item1);
10561 v.value = convertText(p.Text);
10562 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10567 item1.style += addAllStyles(item1.style, p, a, item1);
10573 v.value = convertText(p.Text);
10574 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10579 item1.style += addAllStyles(item1.style, p, a, item1);
10584 item3.style += addAllStyles(item3.style, p, a, item3);
10591 edge3.style += addAllStyles(edge3.style, p, a, edge3);
10599 item4.value = convertText(p.message_0);
10600 item4.style += getLabelStyle(p.message_0, isLastLblHTML);
10602 item4.style += addAllStyles(item4.style, p, a, item4, isLastLblHTML);
10610 edge4.style += addAllStyles(edge4.style, p, a, edge4);
10615 var messagesNum = p.HistoryMessages;
10625 item2[i].value = convertText(p['message_' + (i + 1)]);
10626 item2.style += getLabelStyle(p['message_' + (i + 1)], isLastLblHTML);
10629 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i], isLastLblHTML);
10636 edge[i].style += addAllStyles(edge[i].style, p, a, edge[i]);
10650 v.style += addAllStyles(v.style, p, a, v);
10651 v.value = '$$' + p.Latex + '$$';
10656 if (p.DoorAngle < 0)
10661 v.style += addAllStyles(v.style, p, a, v);
10666 v.value = convertText(p);
10667 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10673 if (p.DoorAngle > 0)
10678 v.style += addAllStyles(v.style, p, a, v);
10684 v.style += addAllStyles(v.style, p, a, v);
10689 item1.style += addAllStyles(item1.style, p, a, item1);
10693 var lightW = (w - lightOffset * 2) / p.LightCount;
10696 for (var i = 0; i < p.LightCount; i++)
10701 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i]);
10708 v.style += addAllStyles(v.style, p, a, v);
10711 var sinkW = w / p.SinkCount;
10713 for (var i = 0; i < p.SinkCount; i++)
10718 item1[i].style += addAllStyles(item1[i].style, p, a, item1[i]);
10726 var wallW = w * 0.1 / p.StallCount;
10731 item1.style += addAllStyles(item1.style, p, a, item1);
10733 var stallW = (w - wallW) / p.StallCount;
10740 var fc = getStrokeColor(p, a);
10752 wallStyle += addAllStyles(wallStyle, p, a, v);
10753 var otherStyle = addAllStyles('', p, a, v);
10755 for (var i = 0; i < p.StallCount; i++)
10783 var fc = getStrokeColor(p, a);
10795 endStyle += addAllStyles(endStyle, p, a, v);
10803 var itemH = h / p.numLines;
10807 for (var i = 0; i < p.numLines; i++)
10827 var fc = getStrokeColor(p, a);
10839 endStyle += addAllStyles(endStyle, p, a, v);
10841 var itemH = h / p.numLines;
10845 for (var i = 0; i < p.numLines; i++)
10862 v.value = convertText(p.Text);
10864 switch (p.vesselType)
10874 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10880 v.value = convertText(p.Text);
10882 if (p.peakedRoof == 1 && p.stumpType == 0)
10886 else if (p.stumpType == 1)
10891 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10896 v.value = convertText(p.Text);
10898 if (p.columnType == 0)
10907 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10913 v.value = convertText(p.Text);
10914 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10920 item1.style += addAllStyles(item1.style, p, a, item1);
10924 if (p.compressorType == 0)
10930 edge1.style += addAllStyles(edge1.style, p, a, edge1);
10938 edge2.style += addAllStyles(edge2.style, p, a, edge2);
10950 edge1.style += addAllStyles(edge1.style, p, a, edge1);
10958 edge2.style += addAllStyles(edge2.style, p, a, edge2);
10963 if (p.centerLineType == 1)
10969 edge3.style += addAllStyles(edge3.style, p, a, edge3);
10979 v.value = convertText(p.Text);
10980 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
10985 item1.style += addAllStyles(item1.style, p, a, item1);
11021 v.style += addAllStyles(v.style, p, a, v);
11029 item1.value = convertText(p.TopText);
11030 item1.style += getLabelStyle(p.TopText, isLastLblHTML);
11031 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
11036 item2.value = convertText(p.BotText);
11037 item2.style += getLabelStyle(p.BotText, isLastLblHTML);
11038 item2.style += addAllStyles(item2.style, p, a, item2, isLastLblHTML);
11046 item1.value = convertText(p.TopText);
11047 item1.style += getLabelStyle(p.TopText, isLastLblHTML);
11048 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
11053 item2.value = convertText(p.BotText);
11054 item2.style += getLabelStyle(p.BotText, isLastLblHTML);
11055 item2.style += addAllStyles(item2.style, p, a, item2, isLastLblHTML);
11058 switch(p.instrumentLocation)
11086 if (p.poweredHandOperated != 1)
11093 if (p.handOperated != 1)
11101 var p = getAction(obj).Properties;
11102 var b = p.BoundingBox;
11124 v.style += addAllStyles(v.style, p, a, v);
11126 if (p.poweredHandOperated == 1)
11133 item1.value = convertText(p.PoweredText);
11135 getFontColor(p.PoweredText) +
11136 getFontStyle(p.PoweredText) +
11137 getTextAlignment(p.PoweredText) +
11138 getTextLeftSpacing(p.PoweredText) +
11139 getTextRightSpacing(p.PoweredText) +
11140 getTextBottomSpacing(p.PoweredText) +
11141 getTextGlobalSpacing(p.PoweredText)
11144 getTextVerticalAlignment(p.PoweredText);
11145 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
11156 v.value = convertText(p.Text);
11178 if (p.handOperated == 1)
11184 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
11191 if (p.vScroll == 1)
11193 if (p.hScroll == 1)
11210 if (p.hScroll == 1)
11212 if (p.vScroll == 1)
11227 v.style += addAllStyles(v.style, p, a, v);
11230 v.value = convertText(p.Title);
11233 getFontSize(p.Title) +
11234 getFontColor(p.Title) +
11235 getFontStyle(p.Title));
11237 if (p.vScroll == 1)
11239 if (p.hScroll == 1)
11256 if (p.hScroll == 1)
11258 if (p.vScroll == 1)
11273 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
11277 v.value = convertText(p.Text);
11279 getLabelStyle(p.Text, isLastLblHTML);
11284 item1.value = convertText(p.Title);
11285 item1.style += getLabelStyle(p.Title, isLastLblHTML);
11286 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
11294 if (p.vScroll == 1)
11296 if (p.hScroll == 1)
11313 if (p.hScroll == 1)
11315 if (p.vScroll == 1)
11330 v.style += addAllStyles(v.style, p, a, v);
11331 p.Text = null;
11338 for (var i = 0; i <= (p.Panels - 1); i++)
11340 if (i < (p.Selected - 1))
11345 item1[i].value = convertText(p['Panel_' + (i + 1)]);
11347 getLabelStyle(p['Panel_' + (i + 1)], isLastLblHTML);
11349 else if (i == (p.Selected - 1))
11354 item1[i].value = convertText(p['Panel_' + (i + 1)]);
11356 getLabelStyle(p['Panel_' + (i + 1)], isLastLblHTML);
11360 …item1[i] = new mxCell('', new mxGeometry(0, h - (p.Panels - p.Selected) * itemH + (i - p.Selected)…
11363 item1[i].value = convertText(p['Panel_' + (i + 1)]);
11365 getLabelStyle(p['Panel_' + (i + 1)], isLastLblHTML);
11374 var fc2 = getStrokeColor(p, a);
11382 if (p.vScroll == 1)
11384 if (p.hScroll == 1)
11386 …var item2 = new mxCell('', new mxGeometry(1, 0, 20, h - p.Selected * itemH -20 - (p.Panels - p.Sel…
11390 …var item2 = new mxCell('', new mxGeometry(1, 0, 20, h - p.Selected * itemH - (p.Panels - p.Selecte…
11394 item2.geometry.offset = new mxPoint(-20, p.Selected * itemH);
11401 item2.style += addAllStyles(item2.style, p, a, item2);
11404 if (p.hScroll == 1)
11406 if (p.vScroll == 1)
11416 item3.geometry.offset = new mxPoint(0, -20 - (p.Panels - p.Selected) * itemH);
11421 item3.style += addAllStyles(item3.style, p, a, item3);
11424 if (p.vScroll == 1)
11426 …item4 = new mxCell('', new mxGeometry(0, p.Selected * itemH, w - 20, h - p.Selected * itemH -20 - …
11430 …item4 = new mxCell('', new mxGeometry(0, p.Selected * itemH, w - 20, h - p.Selected * itemH - (p.P…
11434 item4.value = convertText(p['Content_1']);
11436 getLabelStyle(p['Content_1'], isLastLblHTML);
11443 v.style += addAllStyles(v.style, p, a, v);
11453 var itemW = (w + itemS) / (p.Tabs + 1);
11459 bg.style += addAllStyles(bg.style, p, a, bg);
11461 for (var i = 0; i <= (p.Tabs - 1); i++)
11463 if (i == (p.Selected - 1))
11468 item2[i].value = convertText(p['Tab_' + (i + 1)]);
11470 getLabelStyle(p['Tab_' + (i + 1)], isLastLblHTML);
11478 item1[i].style += addAllStyles(item1[i].style, p, a, item1[i]);
11483 item2[i].value = convertText(p['Tab_' + (i + 1)]);
11485 getLabelStyle(p['Tab_' + (i + 1)], isLastLblHTML);
11493 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i]);
11496 var fc2 = getStrokeColor(p, a);
11504 if (p.vScroll == 1)
11506 if (p.hScroll == 1)
11523 item2.style += addAllStyles(item2.style, p, a, item2);
11526 if (p.hScroll == 1)
11528 if (p.vScroll == 1)
11543 item3.style += addAllStyles(item3.style, p, a, item3);
11555 var itemW = (w + itemS) / p.Tabs; //tab width (including spacing)
11560 bg.style += addAllStyles(bg.style, p, a, bg);
11562 for (var i = 0; i <= (p.Tabs - 1); i++)
11564 if (i == (p.Selected - 1))
11569 item2[i].value = convertText(p['Tab_' + (i + 1)]);
11571 getLabelStyle(p['Tab_' + (i + 1)], isLastLblHTML);
11572 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i], isLastLblHTML);
11579 item1[i].style += addAllStyles(item1[i].style, p, a, item1[i]);
11584 item2[i].value = convertText(p['Tab_' + (i + 1)]);
11586 getLabelStyle(p['Tab_' + (i + 1)], isLastLblHTML);
11587 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i], isLastLblHTML);
11596 var fc2 = getStrokeColor(p, a);
11604 if (p.vScroll == 1)
11606 if (p.hScroll == 1)
11623 item2.style += addAllStyles(item2.style, p, a, item2);
11626 if (p.hScroll == 1)
11628 if (p.vScroll == 1)
11643 item3.style += addAllStyles(item3.style, p, a, item3);
11661 bg.style += addAllStyles(bg.style, p, a, bg);
11663 for (var i = 0; i <= (p.Tabs - 1); i++)
11665 if (i == (p.Selected - 1))
11670 item2[i].value = convertText(p['Tab_' + (i + 1)]);
11672 getLabelStyle(p['Tab_' + (i + 1)], isLastLblHTML);
11673 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i], isLastLblHTML);
11680 item1[i].style += addAllStyles(item1[i].style, p, a, item1[i]);
11685 item2[i].value = convertText(p['Tab_' + (i + 1)]);
11687 getLabelStyle(p['Tab_' + (i + 1)], isLastLblHTML);
11695 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i]);
11698 var fc2 = getStrokeColor(p, a);
11706 if (p.vScroll == 1)
11708 if (p.hScroll == 1)
11725 item2.style += addAllStyles(item2.style, p, a, item2);
11728 if (p.hScroll == 1)
11730 if (p.vScroll == 1)
11745 item3.style += addAllStyles(item3.style, p, a, item3);
11752 var itemH = h / p.Options;
11756 for (var i = 0; i < p.Options; i++)
11761 item1[i].value = convertText(p['Option_' + (i + 1)]);
11763 getLabelStyle(p['Option_' + (i + 1)], isLastLblHTML);
11764 item1[i].style += addAllStyles(item1[i].style, p, a, item1[i], isLastLblHTML);
11766 if (p.Selected[i + 1] != null)
11768 if (p.Selected[i + 1] == 1)
11770 var fc = getStrokeColor(p, a);
11782 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i]);
11792 var itemW = w / p.Options;
11796 for (var i = 0; i < p.Options; i++)
11801 item1[i].value = convertText(p['Option_' + (i + 1)]);
11803 getLabelStyle(p['Option_' + (i + 1)], isLastLblHTML);
11804 item1[i].style += addAllStyles(item1[i].style, p, a, item1[i], isLastLblHTML);
11806 if (p.Selected[i + 1] != null)
11808 if (p.Selected[i + 1] == 1)
11810 var fc = getStrokeColor(p, a);
11822 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i]);
11832 var itemH = h / p.Options;
11836 for (var i = 0; i < p.Options; i++)
11841 item1[i].value = convertText(p['Option_' + (i + 1)]);
11843 getLabelStyle(p['Option_' + (i + 1)], isLastLblHTML);
11844 item1[i].style += addAllStyles(item1[i].style, p, a, item1[i], isLastLblHTML);
11846 if (p.Selected != null)
11848 if (p.Selected == (i + 1))
11850 var fc = getStrokeColor(p, a);
11862 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i]);
11871 var itemW = w / p.Options;
11875 for (var i = 0; i < p.Options; i++)
11880 item1[i].value = convertText(p['Option_' + (i + 1)]);
11882 getLabelStyle(p['Option_' + (i + 1)], isLastLblHTML);
11883 item1[i].style += addAllStyles(item1[i].style, p, a, item1[i], isLastLblHTML);
11885 if (p.Selected != null)
11887 if (p.Selected == (i + 1))
11889 var fc = getStrokeColor(p, a);
11901 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i]);
11910 v.value = convertText(p.Selected);
11921 v.style += 'sliderPos=' + (p.ScrollVal * 100) + ';';
11922 v.style += addAllStyles(v.style, p, a, v);
11932 item1.value = convertText(p.Date);
11934 getLabelStyle(p.Date, isLastLblHTML);
11935 v.style += addAllStyles(v.style, p, a, v);
11937 var fc = getStrokeColor(p, a);
11949 item2.style += addAllStyles(item2.style, p, a, item2);
11954 v.value = convertText(p.Search);
11956 getLabelStyle(p.Search, isLastLblHTML);
11957 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
11962 var fc = getStrokeColor(p, a);
11970 v.value = convertText(p.Number);
11972 getLabelStyle(p.Number, isLastLblHTML);
11973 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
11981 …var fillClr = getColor(p.FillColor), lineClr = getColor(p.LineColor), header, altRow, borderStyle …
11984 var csvLines = p.Data.split('\n');
11986 if (!p.AltRow || p.AltRow == 'default')
11990 else if (p.AltRow == 'none')
11996 altRow = getColor(p.AltRow);
11999 if (!p.Header || p.Header == 'default')
12003 else if (p.Header == 'none')
12009 header = getColor(p.Header);
12012 if (p.GridLines == 'full')
12017 else if (p.GridLines == 'row')
12022 else if (p.GridLines == 'default' || p.GridLines == 'column')
12059 var cellProp = p['Cell_' + i + '_' + j];
12077 v.style += addAllStyles(v.style, p, a, v);
12081 var itemW = w / p.Buttons;
12083 for (var i = 0; i <= (p.Buttons - 1); i++)
12085 if (i == (p.Selected - 1))
12090 item2[i].value = convertText(p['Button_' + (i + 1)]);
12092 getLabelStyle(p['Button_' + (i + 1)], isLastLblHTML);
12093 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i], isLastLblHTML);
12101 item1[i].style += addAllStyles(item1[i].style, p, a, item1[i]);
12106 item2[i].value = convertText(p['Button_' + (i + 1)]);
12108 getLabelStyle(p['Button_' + (i + 1)], isLastLblHTML);
12109 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i], isLastLblHTML);
12116 v.style += addAllStyles(v.style, p, a, v);
12120 var itemH = h / p.Buttons;
12122 for (var i = 0; i <= (p.Buttons - 1); i++)
12124 if (i == (p.Selected - 1))
12129 item2[i].value = convertText(p['Button_' + (i + 1)]);
12131 getLabelStyle(p['Button_' + (i + 1)], isLastLblHTML);
12132 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i], isLastLblHTML);
12139 item1[i].style += addAllStyles(item1[i].style, p, a, item1[i]);
12144 item2[i].value = convertText(p['Button_' + (i + 1)]);
12146 getLabelStyle(p['Button_' + (i + 1)], isLastLblHTML);
12147 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i], isLastLblHTML);
12154 v.style += addAllStyles(v.style, p, a, v);
12158 var itemW = w / p.Links;
12160 for (var i = 0; i < (p.Links); i++)
12165 item2[i].style += addAllStyles(item2[i].style, p, a, item2[i]);
12174 item2[i].value = convertText(p['Link_' + (i + 1)]);
12176 getLabelStyle(p['Link_' + (i + 1)], isLastLblHTML);
12183 v.style += addAllStyles(v.style, p, a, v);
12187 var itemW = w / p.Links;
12189 for (var i = 0; i < (p.Links); i++)
12194 item1[i].value = convertText(p['Link_' + (i + 1)]);
12196 getLabelStyle(p['Link_' + (i + 1)], isLastLblHTML);
12199 for (var i = 1; i < (p.Links); i++)
12201 …item2[i] = new mxCell('', new mxGeometry(i / p.Links, 0.5, 6, 10), 'shape=mxgraph.ios7.misc.right;…
12211 v.style += addAllStyles(v.style, p, a, v);
12214 var itemW = w / (p.Buttons + 1);
12216 for (var i = 0; i <= (p.Buttons - 1); i++)
12218 if (i != (p.Selected - 1))
12231 item1[i].value = convertText(p['MenuItem_' + (i + 1)]);
12233 getLabelStyle(p['MenuItem_' + (i + 1)], isLastLblHTML);
12239 getLabelStyle(p['Text_0']);
12247 getLabelStyle(p.Text_prev);
12249 v.value = convertText(p.Text_prev) + ' ';
12251 for (var i = 0; i < p.Links; i++)
12253 v.value += convertText(p['Link_' + (i + 1)]) + ' ';
12256 v.value += convertText(p.Text_next);
12261 v.style += addAllStyles(v.style, p, a, v);
12266 var itemH = h / p.Lines;
12269 for (var i = 0; i < p.Lines; i++)
12272 if (p['Item_' + (i + 1)] != null)
12277 getFontSize(p['Item_' + (i + 1)]) +
12278 getFontColor(p['Item_' + (i + 1)]) +
12279 getFontStyle(p['Item_' + (i + 1)]);
12282 …item[i] = new mxCell('', new mxGeometry(0, i * h / p.Lines, w, itemH), 'strokeColor=none;fillColor…
12287 item[i].value = convertText(p['Item_' + (i + 1)]);
12291 if (p.Icons[(i + 1)] != null && item[i] != null)
12293 if (p.Icons[(i + 1)] == 'dot')
12298 else if (p.Icons[(i + 1)] == 'check')
12310 var fc = getStrokeColor(p, a);
12323 if (p['Shortcut_' + (i + 1)] != null)
12328 getFontSize(p['Shortcut_' + (i + 1)]) +
12329 getFontColor(p['Shortcut_' + (i + 1)]) +
12330 getFontStyle(p['Shortcut_' + (i + 1)]);
12333 …shortcut[i] = new mxCell('', new mxGeometry(w * 0.6, i * h / p.Lines, w * 0.4, itemH), 'strokeColo…
12338 shortcut[i].value = convertText(p['Shortcut_' + (i + 1)]);
12342 if (p.Dividers[(i + 1)] != null)
12344 …item[i] = new mxCell('', new mxGeometry(w * 0.05, i * h / p.Lines, w * 0.9, itemH), 'shape=line;st…
12347 item[i].style += getStrokeColor(p, a);
12356 …v.style += 'shape=mxgraph.mockup.misc.progressBar;fillColor2=#888888;barPos=' + (p.ScrollVal * 100…
12362 v.value = convertText(p.Tip || p.Text);
12363 …t;flipV=1;base=13;size=7;position=0.5;position2=0.66;rounded=1;arcSize=' + (p.RoundCorners) + ';' +
12364 getLabelStyle(p.Tip || p.Text, isLastLblHTML);
12365 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
12369 v.value = convertText(p.Txt);
12371 getLabelStyle(p.Txt, isLastLblHTML);
12372 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
12377 v.value = convertText(p.Txt);
12379 getLabelStyle(p.Txt, isLastLblHTML);
12380 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
12385 item1.value = convertText(p.Title);
12387 getLabelStyle(p.Title, isLastLblHTML);
12388 item1.style += addAllStyles(item1.style, p, a, item1, isLastLblHTML);
12399 var totalW = bw * p.Buttons + (bs * p.Buttons - 1)
12403 for (var i = 0; i < p.Buttons; i++)
12410 item3[i].value = convertText(p['Button_' + (i + 1)]);
12412 getLabelStyle(p['Button_' + (i + 1)], isLastLblHTML);
12413 item3[i].style += addAllStyles(item3[i].style, p, a, item3[i], isLastLblHTML);
12419 if (p.Simple == 0)
12421 var st = getFillColor(p, a);
12422 var th = Math.round(p.TitleHeight * scale) || 25;
12430 v.value = convertText(p.Title);
12433 getLabelStyle(p.Title, isLastLblHTML);
12434 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
12441 for (var i = 0; i <= p.Attributes; i++)
12454 if (p.Attributes == 0)
12461 if (i < p.Attributes)
12463 itemH = p['Text' + (i + 1) + 'Percent'];
12472 var extH = p.ExtraHeightSet && i == 1? (p.ExtraHeight * scale) : 0;
12480 getOpacity(p, a, item[i]) +
12481 getLabelStyle(p['Text' + (i + 1)], isLastLblHTML);
12483 item[i].value = convertText(p['Text' + (i + 1)]);
12488 v.value = convertText(p.Title);
12491 getLabelStyle(p.Title, isLastLblHTML);
12492 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
12498 var st = getFillColor(p, a);
12499 var th = p.Name_h * scale;
12507 v.value = convertText(p.Name);
12510 getLabelStyle(p.Name, isLastLblHTML);
12511 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
12513 if (p.ShadedHeader)
12515 var st = getColor(p.FillColor);
12521 v.style += getFillColor(p, a);
12528 for (var i = 0; i < p.Fields; i++)
12531 var curH = p['Field' + (i + 1) + '_h'] * scale;
12537 getLabelStyle(p['Field' + (i + 1)], isLastLblHTML);
12539 if (p.AltRows == 1 && (i % 2 != 0))
12546 getOpacity(p, a, item[i]);
12549 item[i].value = convertText(p['Field' + (i + 1)]);
12555 var st = getFillColor(p, a);
12556 var th = p.Name_h * scale;
12564 v.value = convertText(p.Name);
12567 getLabelStyle(p.Name, isLastLblHTML);
12569 if (p.ShadedHeader)
12575 v.style += getFillColor(p, a);
12578 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
12585 if (p.Column1 != null)
12587 keyW = p.Column1 * scale;
12590 for (var i = 0; i < p.Fields; i++)
12594 …key[i] = new mxCell('', new mxGeometry(0, currH, keyW, p['Key' + (i + 1) + '_h'] * scale), 'stroke…
12598 getLabelStyle(p['Key' + (i + 1)], isLastLblHTML);
12600 if (p.AltRows == 1 && (i % 2 != 0))
12607 getOpacity(p, a, key[i]);
12610 key[i].value = convertText(p['Key' + (i + 1)]);
12612 …item[i] = new mxCell('', new mxGeometry(keyW, currH, w - keyW, p['Field' + (i + 1) + '_h'] * scale…
12616 getLabelStyle(p['Field' + (i + 1)], isLastLblHTML);
12617 v.style += addAllStyles(v.style, p, a, v);
12619 if (p.AltRows == 1 && (i % 2 != 0))
12626 getOpacity(p, a, item[i]);
12629 item[i].value = convertText(p['Field' + (i + 1)]);
12631 currH += p['Key' + (i + 1) + '_h'] * scale;
12637 var st = getFillColor(p, a);
12638 var th = p.Name_h * scale;
12648 getLabelStyle(p.Name);
12650 if (p.ShadedHeader)
12656 v.style += getFillColor(p, a);
12659 v.value = convertText(p.Name);
12660 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
12667 if (p.Column1 != null)
12669 keyW = p.Column1 * scale;
12672 for (var i = 0; i < p.Fields; i++)
12676 …key[i] = new mxCell('', new mxGeometry(0, currH, keyW, p['Field' + (i + 1) + '_h'] * scale), 'stro…
12680 getLabelStyle(p['Field' + (i + 1)], isLastLblHTML);
12682 if (p.AltRows == 1 && (i % 2 != 0))
12689 getOpacity(p, a, key[i]);
12692 key[i].value = convertText(p['Field' + (i + 1)]);
12693 key[i].style += addAllStyles(key[i].style, p, a, key[i], isLastLblHTML);
12695 …item[i] = new mxCell('', new mxGeometry(keyW, currH, w - keyW, p['Type' + (i + 1) + '_h'] * scale)…
12699 getLabelStyle(p['Type' + (i + 1)], isLastLblHTML);
12701 if (p.AltRows == 1 && (i % 2 != 0))
12708 getOpacity(p, a, item[i]);
12711 item[i].value = convertText(p['Type' + (i + 1)]);
12712 item[i].style += addAllStyles(item[i].style, p, a, item[i], isLastLblHTML);
12714 currH += p['Field' + (i + 1) + '_h'] * scale;
12719 var st = getFillColor(p, a);
12720 var th = p.Name_h * scale;
12730 getLabelStyle(p.Name);
12732 if (p.ShadedHeader)
12738 v.style += getFillColor(p, a);
12741 v.value = convertText(p.Name);
12742 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
12751 if (p.Column1 != null)
12753 keyW = p.Column1 * scale;
12756 if (p.Column2 != null)
12758 typeW = p.Column2 * scale;
12761 for (var i = 0; i < p.Fields; i++)
12765 …key[i] = new mxCell('', new mxGeometry(0, currH, keyW, p['Key' + (i + 1) + '_h'] * scale), 'stroke…
12769 getLabelStyle(p['Key' + (i + 1)], isLastLblHTML);
12771 if (p.AltRows == 1 && (i % 2 != 0))
12778 getOpacity(p, a, key[i]);
12781 key[i].value = convertText(p['Key' + (i + 1)]);
12782 key[i].style += addAllStyles(key[i].style, p, a, key[i], isLastLblHTML);
12784 …item[i] = new mxCell('', new mxGeometry(keyW, currH, w - keyW - typeW, p['Field' + (i + 1) + '_h']…
12788 getLabelStyle(p['Field' + (i + 1)], isLastLblHTML);
12790 if (p.AltRows == 1 && (i % 2 != 0))
12797 getOpacity(p, a, item[i]);
12800 item[i].value = convertText(p['Field' + (i + 1)]);
12801 item[i].style += addAllStyles(item[i].style, p, a, item[i], isLastLblHTML);
12803 …type[i] = new mxCell('', new mxGeometry(w - typeW, currH, typeW, p['Type' + (i + 1) + '_h'] * scal…
12807 getLabelStyle(p['Type' + (i + 1)], isLastLblHTML);
12809 if (p.AltRows == 1 && (i % 2 != 0))
12816 getOpacity(p, a, type[i]);
12819 type[i].value = convertText(p['Type' + (i + 1)]);
12820 type[i].style += addAllStyles(type[i].style, p, a, type[i], isLastLblHTML);
12822 currH += p['Key' + (i + 1) + '_h'] * scale;
12827 addGCP2ServiceCard('application_system', w, h, v, p, a);
12830 addGCP2ServiceCard('internal_payment_authorization', w, h, v, p, a);
12833 addGCP2ServiceCard('blank', w, h, v, p, a);
12836 addGCP2ServiceCard('blank', w, h, v, p, a);
12839 addGCP2ServiceCard('bucket', w, h, v, p, a);
12842 addGCP2ServiceCard('google_network_edge_cache', w, h, v, p, a);
12845 addGCP2ServiceCard('blank', w, h, v, p, a);
12848 addGCP2ServiceCard('cluster', w, h, v, p, a);
12851 addGCP2ServiceCard('persistent_disk_snapshot', w, h, v, p, a);
12854 addGCP2ServiceCard('google_network_edge_cache', w, h, v, p, a);
12857 addGCP2ServiceCard('frontend_platform_services', w, h, v, p, a);
12860 addGCP2ServiceCard('gateway', w, h, v, p, a);
12863 addGCP2ServiceCard('google_network_edge_cache', w, h, v, p, a);
12866 addGCP2ServiceCard('image_services', w, h, v, p, a);
12869 addGCP2ServiceCard('network_load_balancer', w, h, v, p, a);
12872 addGCP2ServiceCard('dedicated_game_server', w, h, v, p, a);
12875 addGCP2ServiceCard('persistent_disk_snapshot', w, h, v, p, a);
12878 addGCP2ServiceCard('logs_api', w, h, v, p, a);
12881 addGCP2ServiceCard('memcache', w, h, v, p, a);
12884 addGCP2ServiceCard('nat', w, h, v, p, a);
12887 addGCP2ServiceCard('external_payment_form', w, h, v, p, a);
12890 addGCP2ServiceCard('push_notification_service', w, h, v, p, a);
12893 addGCP2ServiceCard('scheduled_tasks', w, h, v, p, a);
12896 addGCP2ServiceCard('service_discovery', w, h, v, p, a);
12899 addGCP2ServiceCard('squid_proxy', w, h, v, p, a);
12902 addGCP2ServiceCard('task_queues', w, h, v, p, a);
12905 addGCP2ServiceCard('virtual_file_system', w, h, v, p, a);
12908 addGCP2ServiceCard('gateway', w, h, v, p, a);
12912 addGCP2UserDeviceCard('database', 1, 0.9, w, h, v, p, a);
12915 addGCP2UserDeviceCard('record', 1, 0.66, w, h, v, p, a);
12918 addGCP2UserDeviceCard('payment', 1, 0.8, w, h, v, p, a);
12921 addGCP2UserDeviceCard('gateway_icon', 1, 0.44, w, h, v, p, a);
12924 addGCP2UserDeviceCard('compute_engine_icon', 1, 0.89, w, h, v, p, a);
12927 addGCP2UserDeviceCard('beacon', 0.73, 1, w, h, v, p, a);
12930 addGCP2UserDeviceCard('storage', 1, 0.8, w, h, v, p, a);
12933 addGCP2UserDeviceCard('list', 0.89, 1, w, h, v, p, a);
12936 addGCP2UserDeviceCard('stream', 1, 0.82, w, h, v, p, a);
12939 addGCP2UserDeviceCard('mobile_devices', 1, 0.73, w, h, v, p, a);
12942 addGCP2UserDeviceCard('circuit_board', 1, 0.9, w, h, v, p, a);
12945 addGCP2UserDeviceCard('live', 0.74, 1, w, h, v, p, a);
12948 addGCP2UserDeviceCard('users', 1, 0.63, w, h, v, p, a);
12951 addGCP2UserDeviceCard('laptop', 1, 0.66, w, h, v, p, a);
12954 addGCP2UserDeviceCard('application', 1, 0.8, w, h, v, p, a);
12957 addGCP2UserDeviceCard('lightbulb', 0.7, 1, w, h, v, p, a);
12960 addGCP2UserDeviceCard('game', 1, 0.54, w, h, v, p, a);
12963 addGCP2UserDeviceCard('desktop', 1, 0.9, w, h, v, p, a);
12966 addGCP2UserDeviceCard('desktop_and_mobile', 1, 0.66, w, h, v, p, a);
12969 addGCP2UserDeviceCard('webcam', 0.5, 1, w, h, v, p, a);
12972 addGCP2UserDeviceCard('speaker', 0.7, 1, w, h, v, p, a);
12975 addGCP2UserDeviceCard('retail', 1, 0.89, w, h, v, p, a);
12978 addGCP2UserDeviceCard('report', 1, 1, w, h, v, p, a);
12981 addGCP2UserDeviceCard('phone', 0.64, 1, w, h, v, p, a);
12984 addGCP2UserDeviceCard('transparent', 1, 1, w, h, v, p, a);
13003 if (p.ZOrder == 0) //These are hidden
13009 v.style += getLabelStyle(p.Text);
13010 v.value = convertText(p.Text);
13011 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13017 var strokeWidth = p.LineWidth;
13018 var strokeColor = p.LineColor;
13019 var fillColor = p.FillColor;
13021 var drawData = p.DrawData.Data;
13052 var sideStyle = addAllStyles(v.style, p, a, v, isLastLblHTML);
13053 var rotation = getRotation(p, a, v);
13068 p.InsetMargin = null;
13069 v.value = convertText(p.Text);
13071 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13081 side.style += addAllStyles(side.style, p, a, v, isLastLblHTML);
13170 var rotation = getRotation(p, a, v);
13173 if (p.Stencil != null)
13175 if (p.Stencil.id == null)
13178 p.Stencil.id = '$$tmpId$$';
13179 addStencil(p.Stencil.id, p.Stencil);
13182 var stencil = LucidImporter.stencilsMap[p.Stencil.id];
13193 shape.FillColor = p.FillColor;
13203 shape.LineColor = p.LineColor;
13213 shape.LineWidth = p.LineWidth;
13220 var fc = p.FillColor, lc = p.LineColor, lw = p.LineWidth;
13221 p.FillColor = null; p.LineColor = null; p.LineWidth = null;
13222 cell.style += addAllStyles(cell.style, p, a, cell, isLastLblHTML);
13223 p.FillColor = fc; p.LineColor = lc; p.LineWidth = lw;
13230 var rotation = p.Rotation;
13232 while (p['t' + index])
13234 var lblObj = p['t' + index];
13240 p.Rotation = 0; //Disable rotation of the parent since it is captured in the srencil below
13242 lbl.style += addAllStyles(lbl.style, p, a, lbl, isLastLblHTML);
13243 p.Rotation = rotation;
13249 + (p['t' + index + '_TRotation']? p['t' + index + '_TRotation'] : 0)
13250 + (p['t' + index + '_TAngle']? p['t' + index + '_TAngle'] : 0);
13298 if (p.FillColor && p.FillColor.url)
13301 img.style += getImage({}, {}, p.FillColor.url);
13313 var arrowSize = p.Head * h / w;
13314 v.style = 'shape=singleArrow;arrowWidth=' + (1 - p.Notch * 2) + ';arrowSize=' + arrowSize;
13315 v.value = convertText(p);
13316 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13319 var arrowSize = p.Head * h / w;
13320 v.style = 'shape=doubleArrow;arrowWidth=' + (1 - p.Notch * 2) + ';arrowSize=' + arrowSize;
13321 v.value = convertText(p);
13322 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13367 v.value = convertText(p);
13368 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13379 for (var j = 0; j < p.Vertices.length; j++)
13381 var line = p.Vertices[j];
13397 v.value = convertText(p);
13398 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13401 var min = p.ShapeData_1.Value;
13402 var max = p.ShapeData_2.Value - min;
13403 var val = p.ShapeData_3.Value - min;
13404 var thickness = p.ShapeData_4.Value * w / 200; //Percentage of half of width
13405 var index = p.InternalStencilId == 'ProgressBar'? 4 : 5;
13406 var fillClr = p['ShapeData_' + index].Value;
13407 fillClr = fillClr == '=fillColor()'? p.FillColor : fillClr;
13408 var bkgClr = p['ShapeData_' + (index + 1)].Value;
13410 switch(p.InternalStencilId)
13414 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13417 inner.style += addAllStyles(inner.style, p, a, inner, isLastLblHTML);
13430 p.Rotation -= Math.PI / 2;
13431 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13434 p.Rotation += Math.PI;
13435 inner.style += addAllStyles(inner.style, p, a, inner, isLastLblHTML);
13442 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13444 inner.style += addAllStyles(inner.style, p, a, inner, isLastLblHTML);
13455 if (p.Text && p.Text.m)
13457 var m = p.Text.m, isMT = false, isIL = false;
13494 v.value = convertText(p);
13495 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13500 var st = getFillColor(p, a);
13509 v.value = convertText(p.Role);
13512 getLabelStyle(p.Role, isLastLblHTML);
13513 v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
13516 name.value = convertText(p.Name);
13519 name.style += getLabelStyle(p.Name, isLastLblHTML);
13520 name.style += addAllStyles(name.style, p, a, name, isLastLblHTML);
13535 if (p.Title && p.Title.t && p.Text && p.Text.t)
13540 var title = new mxCell(convertText(p.Title), new mxGeometry(0, geo.height + 4,geo.width, 10),
13544 v.style += getLabelStyle(p.Title, isLastLblHTML);
13552 handleTextRotation(v, p);
13553 addCustomData(v, p, graph);
13555 if (p.Hidden)
13563 function handleTextRotation(v, p) argument
13565 if (p.Text_TRotation || p.TextRotation)
13569 var deg = mxUtils.toDegree(p.Text_TRotation || 0) + mxUtils.toDegree(p.TextRotation || 0);
13585 deg += mxUtils.toDegree(p.Rotation);
13827 var p = parents[key];
13829 if (p != null)
13831 var src = lookup[idPrefix + p];