|
@@ -269,7 +269,7 @@ LucidImporter = {};
|
|
|
'UMLComponentBlock' : 'shape=component;align=left;spacingLeft=36',
|
|
|
'UMLNodeBlock' : 'shape=cube;size=12;flipH=1',
|
|
|
'UMLComponentInterfaceBlock' : 'ellipse',
|
|
|
- 'UMLComponentBoxBlock' : cs, //TODO
|
|
|
+ 'UMLComponentBoxBlock' : cs,
|
|
|
// 'UMLAssemblyConnectorBlock' NA
|
|
|
'UMLProvidedInterfaceBlock' : 'shape=lollipop;direction=south',
|
|
|
'UMLRequiredInterfaceBlock' : 'shape=requires;direction=north',
|
|
@@ -3748,7 +3748,13 @@ LucidImporter = {};
|
|
|
//'TimelineIntervalBlock' : cs,
|
|
|
'MinimalTextBlock' : 'strokeColor=none;fillColor=none',
|
|
|
//Freehand
|
|
|
- 'FreehandBlock' : cs
|
|
|
+ 'FreehandBlock' : cs,
|
|
|
+//ExtShapes
|
|
|
+ 'ExtShapeLaptopBlock': ss + 'citrix.laptop_2;verticalLabelPosition=bottom;verticalAlign=top',
|
|
|
+ 'ExtShapeServerBlock': ss + 'citrix.tower_server;verticalLabelPosition=bottom;verticalAlign=top',
|
|
|
+ 'ExtShapeCloudBlock': ss + 'citrix.cloud;verticalLabelPosition=bottom;verticalAlign=top',
|
|
|
+ 'ExtShapeUserBlock': ss + 'aws3d.end_user;verticalLabelPosition=bottom;verticalAlign=top;fillColor=#073763',
|
|
|
+ 'ExtShapeWorkstationLCDBlock': ss + 'veeam.3d.workstation;verticalLabelPosition=bottom;verticalAlign=top'
|
|
|
};
|
|
|
|
|
|
// actual code start
|
|
@@ -5210,7 +5216,7 @@ LucidImporter = {};
|
|
|
|
|
|
addCustomData(cell, p, graph);
|
|
|
|
|
|
- if (p.Title && p.Text)
|
|
|
+ if (p.Title && p.Text && a.Class.substr(0, 8) != 'ExtShape')
|
|
|
{
|
|
|
var geo = cell.geometry;
|
|
|
var title = new mxCell(convertText(p.Title), new mxGeometry(0, geo.height,geo.width, 10), 'strokeColor=none;fillColor=none;');
|
|
@@ -8089,6 +8095,14 @@ LucidImporter = {};
|
|
|
v.style += addAllStyles(v.style, p, a, v, isLastLblHTML);
|
|
|
break;
|
|
|
case 'UMLComponentBoxBlock' :
|
|
|
+ v.value = convertText(p);
|
|
|
+ v.style = 'html=1;dropTarget=0;' + addAllStyles(v.style, p, a, v, isLastLblHTML);
|
|
|
+
|
|
|
+ var icon = new mxCell('', new mxGeometry(1, 0, 15, 15), 'shape=component;jettyWidth=8;jettyHeight=4;');
|
|
|
+ icon.geometry.relative = true;
|
|
|
+ icon.geometry.offset = new mxPoint(-20, 5);
|
|
|
+ icon.vertex = true;
|
|
|
+ v.insert(icon);
|
|
|
break;
|
|
|
case 'BPMNActivity' :
|
|
|
v.value = convertText(p.Text);
|