OMG Diagram Definition metamodels

//OMG Diagram Definition metamodels
//DC
abstract Point
x : int
y : int
abstract Dimension
width : int
height : int
[ width >= 0 && height >= 0 ]
abstract Bounds
x : int
y : int
width : int
height : int
[ width > 0 && height > 0 ]
enum AlignmentKind = start | end | center
enum KnownColor = maroon | red | orange | yellow | olive | purple | fuchsia | white | lime | green | navy | blue | aqua | teal | black | silver | gray
abstract Color
red : int
green : int
blue : int
[ red >= 0 && red <= 255 && green >= 0 && green <= 255 && blue >= 0 && blue <= 255 ]
//DG
abstract RadialGradient : Gradient
centerX : int
centerY : int
radius : int
focusX : int
focusY : int
[ focusX >= 0 && focusX <= 1 && focusY >= 0 && focusY <= 1 ]
[ radius >= 0 && radius <= 1 ]
abstract Gradient : Fill
stop : GradientStop 2..*
abstract Fill
canvas -> Canvas
[ parent in this.fill ]
transform : Transform *
abstract Canvas : Group
backgroundFill -> Fill ?
backgroundColor : Color ?
marker : Marker *
[ parent in this.canvas ]
fill : Fill *
[ parent in this.canvas ]
abstract Group : GraphicalElement
member : GraphicalElement *
[ parent in this.group ]
abstract GraphicalElement
group -> Group ?
[ parent in this.member ]
localStyle : Style ?
sharedStyle -> Style ?
transform : Transform *
clipPath : ClipPath ?
[ parent in this.clippedElement ]
abstract Style
fillOpacity : int ?
[ this >= 0 && this <= 1 ]
strokeWidth : int ?
[ this >= 0 ]
strokeOpacity : int ?
[ this >= 0 && this <= 1 ]
strokeDashLength : int *
fontSize : int ?
[ this >= 0 ]
fontName : string ?
fontItalic ?
fontBold ?
fontUnderline ?
fontStrikeThrough ?
fill -> Fill ?
fillColor : Color ?
strokeColor : Color ?
fontColor : Color ?
[ # strokeDashLength - # strokeDashLength / 2 * 2 = 0 ]
abstract Transform
abstract ClipPath : Group
clippedElement -> GraphicalElement
[ parent in this.clipPath ]
abstract Marker : Group
size : Dimension
reference : Point
canvas -> Canvas
[ parent in this.marker ]
abstract GradientStop
offset : int
opacity : int
color : Color
[ offset >= 0 && offset <= 1 ]
[ opacity >= 0 && opacity <= 1 ]
abstract Pattern : Fill
bounds : Bounds
abstract LinearGradient : Gradient
x1 : int
x2 : int
y1 : int
y2 : int
[ x1 >= 0 && x1 <= 1 && x2 >= 0 && x2 <= 1 && y1 >= 0 && y1 <= 1 && y2 >= 0 && y2 <= 1 ]
abstract MarkedElement : GraphicalElement
startMarker -> Marker ?
endMarker -> Marker ?
midMarker -> Marker ?
abstract Rectangle : GraphicalElement
cornerRadius : int
bounds : Bounds
abstract Ellipse : GraphicalElement
center : Point
radii : Dimension
abstract Text : GraphicalElement
data : string
alignment -> AlignmentKind
bounds : Bounds
abstract Line : MarkedElement
start : Point
end : Point
abstract Polyline : MarkedElement
point : Point 2..*
abstract Polygon : MarkedElement
point : Point 3..*
abstract Path : MarkedElement
commands : PathCommand *
abstract PathCommand
isRelative ?
abstract Translate : Transform
deltaX : int
deltaY : int
abstract Scale : Transform
factorX : int
factorY : int
[ factorX >= 0 && factorY >= 0 ]
abstract Rotate : Transform
angle : int
center : Point ?
abstract Skew : Transform
angleX : int
angleY : int
abstract Image : GraphicalElement
source : string
isAspectRatioPreserved ?
bounds : Bounds
abstract Circle : GraphicalElement
radius : int
center : Point
[ radius >= 0 ]
abstract Matrix : Transform
a : int
b : int
c : int
d : int
e : int
f : int
abstract MoveTo : PathCommand
point : Point
abstract LineTo : PathCommand
point : Point
abstract CubicCurveTo : PathCommand
point : Point
startControl : Point
endControl : Point
abstract QuadraticCurveTo : PathCommand
point : Point
control : Point
abstract EllipticalArcTo : PathCommand
rotation : int
isLargeArc ?
isSweep ?
point : Point
radii : Dimension
abstract ClosePath : PathCommand
var gwr=document.getElementById('graphWithRefs0'); gwr.style.display='block'; gwr.scrollLeft=this.scrollLeft; this.style.display='none'; var gwr=document.getElementById('graphWithRefs0'); gwr.style.display='block'; gwr.scrollLeft=this.scrollLeft; this.style.display='none'; -4,4 -4,-532.2 2590.94,-532.2 2590.94,4 -4,4 c0_Point abstract Point 11.00 c0_Dimension abstract Dimension 11.00 c0_Bounds abstract Bounds 11.00 c0_Color abstract Color 11.00 c0_RadialGradient abstract RadialGradient : Gradient 11.00 c0_Gradient abstract Gradient : Fill 11.00 c0_RadialGradient->c0_Gradient 1666.44,-342.18 1669.94,-352.18 1673.44,-342.18 1666.44,-342.18 c0_Fill abstract Fill 11.00 c0_Gradient->c0_Fill 1763.87,-400.46 1774.47,-400.63 1766.29,-393.89 1763.87,-400.46 c0_GradientStop abstract GradientStop 11.00 c0_Gradient->c0_GradientStop 108.83,-439.41 114.6,-436.27 111.21,-439.23 114.81,-438.96 114.81,-438.96 114.81,-438.96 111.21,-439.23 115.01,-441.65 108.83,-439.41 c0_Canvas abstract Canvas : Group 11.00 c0_Fill->c0_Canvas canvas transparent c0_Transform abstract Transform 11.00 c0_Fill->c0_Transform 377.16,-480.25 383.02,-477.26 379.55,-480.13 383.15,-479.95 383.15,-479.95 383.15,-479.95 379.55,-480.13 383.29,-482.65 377.16,-480.25 c0_GradientStop->c0_Color 2494.06,-519.84 2488.05,-522.51 2491.67,-519.82 2488.06,-519.81 2488.06,-519.81 2488.06,-519.81 2491.67,-519.82 2488.07,-517.11 2494.06,-519.84 c0_Canvas->c0_Color 2559.34,-513.13 2563.89,-508.38 2561.56,-512.24 2564.9,-510.88 2564.9,-510.88 2564.9,-510.88 2561.56,-512.24 2565.91,-513.39 2559.34,-513.13 c0_Canvas->c0_Fill backgroundFill transparent c0_Canvas->c0_Fill 1791.36,-400.74 1786.87,-395.93 1790.59,-398.48 1789.42,-395.06 1789.42,-395.06 1789.42,-395.06 1790.59,-398.48 1791.98,-394.19 1791.36,-400.74 c0_Group abstract Group : GraphicalElement 11.00 c0_Canvas->c0_Group 1901.18,-182.8 1897.39,-192.69 1906.52,-187.33 1901.18,-182.8 c0_Marker abstract Marker : Group 11.00 c0_Canvas->c0_Marker 1872.28,-100.13 1878.86,-99.95 1874.49,-101.05 1877.82,-102.44 1877.82,-102.44 1877.82,-102.44 1874.49,-101.05 1876.78,-104.93 1872.28,-100.13 c0_GraphicalElement abstract GraphicalElement 11.00 c0_Group->c0_GraphicalElement 1866.48,-266.77 1868.4,-277.19 1873.4,-267.85 1866.48,-266.77 c0_Group->c0_GraphicalElement 1872.83,-278.1 1872.06,-271.57 1873.55,-275.82 1874.64,-272.38 1874.64,-272.38 1874.64,-272.38 1873.55,-275.82 1877.21,-273.19 1872.83,-278.1 c0_Marker->c0_Point 501.9,-321.63 507.81,-318.73 504.29,-321.55 507.9,-321.43 507.9,-321.43 507.9,-321.43 504.29,-321.55 507.99,-324.12 501.9,-321.63 c0_Marker->c0_Dimension 1362.89,-315.82 1362.93,-309.24 1363.88,-313.64 1365.38,-310.36 1365.38,-310.36 1365.38,-310.36 1363.88,-313.64 1367.84,-311.48 1362.89,-315.82 c0_Marker->c0_Canvas canvas transparent c0_Marker->c0_Group 1868.51,-189.36 1878.57,-192.69 1872.78,-183.82 1868.51,-189.36 c0_GraphicalElement->c0_Transform 377.09,-479.12 382.84,-475.92 379.47,-478.91 383.07,-478.61 383.07,-478.61 383.07,-478.61 379.47,-478.91 383.3,-481.3 377.09,-479.12 c0_GraphicalElement->c0_Group group transparent c0_Style abstract Style 11.00 c0_GraphicalElement->c0_Style 2494.81,-359 2488.63,-361.28 2492.42,-358.84 2488.82,-358.58 2488.82,-358.58 2488.82,-358.58 2492.42,-358.84 2489.01,-355.89 2494.81,-359 c0_GraphicalElement->c0_Style sharedStyle transparent c0_ClipPath abstract ClipPath : Group 11.00 c0_GraphicalElement->c0_ClipPath 2207.17,-355.43 2200.95,-357.57 2204.79,-355.21 2201.2,-354.88 2201.2,-354.88 2201.2,-354.88 2204.79,-355.21 2201.44,-352.19 2207.17,-355.43 c0_Style->c0_Color 2524.68,-512.88 2520.98,-507.43 2524.26,-510.52 2523.64,-506.96 2523.64,-506.96 2523.64,-506.96 2524.26,-510.52 2526.3,-506.5 2524.68,-512.88 c0_Style->c0_Color 2529.94,-512.87 2527.24,-506.87 2529.94,-510.48 2529.94,-506.87 2529.94,-506.87 2529.94,-506.87 2529.94,-510.48 2532.64,-506.87 2529.94,-512.87 c0_Style->c0_Color 2535.2,-512.88 2533.58,-506.5 2535.62,-510.52 2536.24,-506.96 2536.24,-506.96 2536.24,-506.96 2535.62,-510.52 2538.9,-507.43 2535.2,-512.88 c0_Style->c0_Fill fill transparent c0_ClipPath->c0_Group 1986.78,-205.66 1976.55,-208.43 1986.28,-212.65 1986.78,-205.66 c0_ClipPath->c0_GraphicalElement clippedElement transparent c0_Pattern abstract Pattern : Fill 11.00 c0_Pattern->c0_Bounds 2374.34,-316 2367.89,-317.27 2372.01,-315.46 2368.49,-314.64 2368.49,-314.64 2368.49,-314.64 2372.01,-315.46 2369.1,-312.01 2374.34,-316 c0_Pattern->c0_Fill 1790.44,-389.79 1793.94,-399.79 1797.44,-389.79 1790.44,-389.79 c0_Pattern->c0_GraphicalElement 1873.32,-278.22 1874,-271.68 1874.52,-276.16 1876.33,-273.03 1876.33,-273.03 1876.33,-273.03 1874.52,-276.16 1878.67,-274.39 1873.32,-278.22 c0_LinearGradient abstract LinearGradient : Gradient 11.00 c0_LinearGradient->c0_Gradient 1625.27,-354.58 1635.77,-353.16 1626.67,-347.72 1625.27,-354.58 c0_MarkedElement abstract MarkedElement : GraphicalElement 11.00 c0_MarkedElement->c0_Marker startMarker transparent c0_MarkedElement->c0_Marker endMarker transparent c0_MarkedElement->c0_Marker midMarker transparent c0_MarkedElement->c0_GraphicalElement 1840.49,-276.88 1851.02,-278.04 1843.51,-270.57 1840.49,-276.88 c0_Rectangle abstract Rectangle : GraphicalElement 11.00 c0_Rectangle->c0_Bounds 2365.46,-316.84 2359.14,-318.65 2363.09,-316.5 2359.52,-315.98 2359.52,-315.98 2359.52,-315.98 2363.09,-316.5 2359.91,-313.31 2365.46,-316.84 c0_Rectangle->c0_GraphicalElement 1896.26,-271.39 1888.12,-278.17 1898.71,-277.95 1896.26,-271.39 c0_Ellipse abstract Ellipse : GraphicalElement 11.00 c0_Ellipse->c0_Point 501.9,-322.55 507.88,-319.81 504.29,-322.53 507.9,-322.51 507.9,-322.51 507.9,-322.51 504.29,-322.53 507.91,-325.21 501.9,-322.55 c0_Ellipse->c0_Dimension 1386.62,-315.91 1391.76,-311.81 1388.94,-315.32 1392.43,-314.42 1392.43,-314.42 1392.43,-314.42 1388.94,-315.32 1393.1,-317.04 1386.62,-315.91 c0_Ellipse->c0_GraphicalElement 1835,-278.57 1845.59,-278.25 1837.11,-271.9 1835,-278.57 c0_Text abstract Text : GraphicalElement 11.00 c0_Text->c0_Bounds 2408.62,-315.79 2407.1,-309.39 2409.07,-313.44 2409.75,-309.89 2409.75,-309.89 2409.75,-309.89 2409.07,-313.44 2412.4,-310.4 2408.62,-315.79 c0_Text->c0_GraphicalElement 1944.77,-274.99 1935.13,-279.38 1945.4,-281.97 1944.77,-274.99 c0_AlignmentKind c0_AlignmentKind 11.00 c0_Text->c0_AlignmentKind alignment transparent c0_Line abstract Line : MarkedElement 11.00 c0_Line->c0_Point 432.03,-321.75 425.94,-324.23 429.64,-321.67 426.04,-321.54 426.04,-321.54 426.04,-321.54 429.64,-321.67 426.14,-318.84 432.03,-321.75 c0_Line->c0_Point 431.96,-321.61 425.85,-324.07 429.57,-321.52 425.96,-321.38 425.96,-321.38 425.96,-321.38 429.57,-321.52 426.07,-318.68 431.96,-321.61 c0_Line->c0_MarkedElement 1705.45,-39.19 1715.76,-36.75 1706.18,-32.23 1705.45,-39.19 c0_Polyline abstract Polyline : MarkedElement 11.00 c0_Polyline->c0_Point 454.15,-315.7 447.7,-314.45 452.2,-314.32 449.25,-312.24 449.25,-312.24 449.25,-312.24 452.2,-314.32 450.81,-310.03 454.15,-315.7 c0_Polyline->c0_MarkedElement 1777.44,-25.63 1780.94,-35.63 1784.44,-25.63 1777.44,-25.63 c0_Polygon abstract Polygon : MarkedElement 11.00 c0_Polygon->c0_Point 444.92,-315.85 438.34,-315.76 442.75,-314.84 439.48,-313.31 439.48,-313.31 439.48,-313.31 442.75,-314.84 440.62,-310.86 444.92,-315.85 c0_Polygon->c0_MarkedElement 1736.27,-38.03 1746.77,-36.61 1737.67,-31.17 1736.27,-38.03 c0_Path abstract Path : MarkedElement 11.00 c0_Path->c0_MarkedElement 1822.44,-31.06 1813.41,-36.59 1823.92,-37.9 1822.44,-31.06 c0_PathCommand abstract PathCommand 11.00 c0_Path->c0_PathCommand 799.71,-278.12 796.37,-272.45 799.45,-275.74 799.06,-272.16 799.06,-272.16 799.06,-272.16 799.45,-275.74 801.74,-271.86 799.71,-278.12 c0_Translate abstract Translate : Transform 11.00 c0_Translate->c0_Transform 388.07,-476.88 378.25,-480.86 388.41,-483.87 388.07,-476.88 c0_Scale abstract Scale : Transform 11.00 c0_Scale->c0_Transform 292.45,-476.46 303.01,-475.59 294.21,-469.68 292.45,-476.46 c0_Rotate abstract Rotate : Transform 11.00 c0_Rotate->c0_Point 431.8,-323.4 425.83,-326.16 429.41,-323.43 425.8,-323.46 425.8,-323.46 425.8,-323.46 429.41,-323.43 425.77,-320.76 431.8,-323.4 c0_Rotate->c0_Transform 271.35,-481.89 281.6,-479.22 271.92,-474.91 271.35,-481.89 c0_Skew abstract Skew : Transform 11.00 c0_Skew->c0_Transform 326.44,-464.63 329.94,-474.63 333.44,-464.63 326.44,-464.63 c0_Image abstract Image : GraphicalElement 11.00 c0_Image->c0_Bounds 2365.54,-317.1 2359.22,-318.94 2363.17,-316.77 2359.6,-316.26 2359.6,-316.26 2359.6,-316.26 2363.17,-316.77 2359.97,-313.59 2365.54,-317.1 c0_Image->c0_GraphicalElement 1924.26,-273.56 1914.88,-278.5 1925.29,-280.48 1924.26,-273.56 c0_Circle abstract Circle : GraphicalElement 11.00 c0_Circle->c0_Point 501.99,-322.93 508,-320.25 504.38,-322.94 507.99,-322.95 507.99,-322.95 507.99,-322.95 504.38,-322.94 507.98,-325.65 501.99,-322.93 c0_Circle->c0_GraphicalElement 1804.64,-280.7 1815,-278.49 1805.53,-273.76 1804.64,-280.7 c0_Matrix abstract Matrix : Transform 11.00 c0_Matrix->c0_Transform 365.86,-469.7 357.06,-475.59 367.62,-476.48 365.86,-469.7 c0_MoveTo abstract MoveTo : PathCommand 11.00 c0_MoveTo->c0_Point 471.82,-316 473.14,-309.55 473.22,-314.06 475.33,-311.13 475.33,-311.13 475.33,-311.13 473.22,-314.06 477.52,-312.71 471.82,-316 c0_MoveTo->c0_PathCommand 749.21,-280.28 759.65,-278.47 750.36,-273.37 749.21,-280.28 c0_LineTo abstract LineTo : PathCommand 11.00 c0_LineTo->c0_Point 501.96,-323.23 507.98,-320.56 504.35,-323.24 507.96,-323.26 507.96,-323.26 507.96,-323.26 504.35,-323.24 507.95,-325.96 501.96,-323.23 c0_LineTo->c0_PathCommand 857.25,-273.55 847.86,-278.46 858.26,-280.47 857.25,-273.55 c0_CubicCurveTo abstract CubicCurveTo : PathCommand 11.00 c0_CubicCurveTo->c0_Point 434.74,-315.88 428.21,-316.69 432.46,-315.17 429.01,-314.11 429.01,-314.11 429.01,-314.11 432.46,-315.17 429.81,-311.53 434.74,-315.88 c0_CubicCurveTo->c0_Point 441.32,-315.87 434.78,-316.62 439.04,-315.15 435.6,-314.05 435.6,-314.05 435.6,-314.05 439.04,-315.15 436.42,-311.47 441.32,-315.87 c0_CubicCurveTo->c0_Point 447.89,-315.87 441.34,-316.53 445.62,-315.11 442.19,-313.97 442.19,-313.97 442.19,-313.97 445.62,-315.11 443.05,-311.41 447.89,-315.87 c0_CubicCurveTo->c0_PathCommand 730.63,-282.31 740.91,-279.76 731.28,-275.34 730.63,-282.31 c0_QuadraticCurveTo abstract QuadraticCurveTo : PathCommand 11.00 c0_QuadraticCurveTo->c0_Point 502.09,-323.19 508.1,-320.52 504.48,-323.2 508.09,-323.22 508.09,-323.22 508.09,-323.22 504.48,-323.2 508.07,-325.92 502.09,-323.19 c0_QuadraticCurveTo->c0_Point 501.84,-323.16 507.85,-320.5 504.23,-323.18 507.84,-323.2 507.84,-323.2 507.84,-323.2 504.23,-323.18 507.82,-325.9 501.84,-323.16 c0_QuadraticCurveTo->c0_PathCommand 827.59,-271.29 819.53,-278.16 830.12,-277.81 827.59,-271.29 c0_EllipticalArcTo abstract EllipticalArcTo : PathCommand 11.00 c0_EllipticalArcTo->c0_Point 501.96,-321.97 507.89,-319.12 504.35,-321.91 507.96,-321.82 507.96,-321.82 507.96,-321.82 504.35,-321.91 508.03,-324.52 501.96,-321.97 c0_EllipticalArcTo->c0_Dimension 1354.59,-316.01 1348.74,-313 1353.1,-314.14 1350.85,-311.32 1350.85,-311.32 1350.85,-311.32 1353.1,-314.14 1352.97,-309.64 1354.59,-316.01 c0_EllipticalArcTo->c0_PathCommand 870.6,-275.39 860.96,-279.79 871.24,-282.36 870.6,-275.39 c0_ClosePath abstract ClosePath : PathCommand 11.00 c0_ClosePath->c0_PathCommand
Module Statistics: | All clafers: 164 | Abstract: 41 | Concrete: 123 | Reference: 57 | Constraints: 23 | Goals: 0 | Global scope: 1..* | Can skip name resolver: no |

Module Downloads: | [.cfr] | [.html] |