drawio_dsl 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4cd7150000e0bd48916f7c5605f1da32d91d5fa20cb221253a9acbaa8538e06
4
- data.tar.gz: 84355154d1847979120f71315f9cd1b9f79965e652184255bb849e24e6c54832
3
+ metadata.gz: e5d0f74df30a578aa511a4d9a7ba497839667f25c33d30cb70ec97c42254ec57
4
+ data.tar.gz: bab21fd8a4c2e2db844e3bf1cba63b6e224778fbe94a029ddaba9fd6fad71539
5
5
  SHA512:
6
- metadata.gz: b36ecdb34dcbcd5efc9309671650526590a98c41d7f7fb762349c401cd977284d33346ef8517b3dde60f827013f85b088dd839560e0d03b7c9dda1384e0816fa
7
- data.tar.gz: 58eacb1d2c4eee64d09380cc9e1c9c7c9c9e6b105377494df083c3a1895d70e78b92a8309caeb7582e706e09c72f51625aa1fec852522c4b48af34d2fef88817
6
+ metadata.gz: c1b8da217e0876c4720cf087080ed0d66a332eaecb469ab51548b52f95f923943ea57c1fb2405499456be030ce8144d74667f8ff120a7df7d674b4f138c11945
7
+ data.tar.gz: 1bf29a42082f521cf04f51cd882bb0f664589f076add43d956ccf636f1c24f57c260bf46721bb4f18b8bf87acb9ed487b0ac77d5fd35d482b9dbd71853f875af
@@ -117,7 +117,7 @@
117
117
  "y": 0,
118
118
  "w": 160,
119
119
  "h": 160,
120
- "style_modifiers": "swimlane;horizontal=0"
120
+ "style_modifiers": "swimlane"
121
121
  },
122
122
  {
123
123
  "type": "container2",
@@ -125,7 +125,7 @@
125
125
  "y": 0,
126
126
  "w": 160,
127
127
  "h": 160,
128
- "style_modifiers": "swimlane"
128
+ "style_modifiers": "swimlane;horizontal=0"
129
129
  },
130
130
  {
131
131
  "type": "container3",
@@ -214,5 +214,29 @@
214
214
  "w": 100,
215
215
  "h": 100,
216
216
  "style_modifiers": "triangle"
217
+ },
218
+ {
219
+ "type": "embed_row",
220
+ "x": 0,
221
+ "y": 0,
222
+ "w": 200,
223
+ "h": 40,
224
+ "style_modifiers": "shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;top=0;left=0;bottom=1;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest"
225
+ },
226
+ {
227
+ "type": "embed_col50",
228
+ "x": 0,
229
+ "y": 0,
230
+ "w": 50,
231
+ "h": 40,
232
+ "style_modifiers": "shape=partialRectangle;connectable=0;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden"
233
+ },
234
+ {
235
+ "type": "embed_col200",
236
+ "x": 0,
237
+ "y": 0,
238
+ "w": 150,
239
+ "h": 40,
240
+ "style_modifiers": "shape=partialRectangle;connectable=0;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden"
217
241
  }
218
242
  ]
@@ -7,34 +7,40 @@ KManager.model :shapes, namespace: %i[domain] do
7
7
  # shape is a custom object
8
8
  # row :shape , 0, 0, 20, 20, ''
9
9
 
10
- row :actor , 0, 0, 40, 50, 'shape=actor'
11
- row :actor2 , 0, 0, 30, 50, 'shape=umlActor;verticalLabelPosition=bottom;outlineConnect=1'
12
- row :callout , 0, 0, 160, 120, 'shape=callout'
13
- row :callout2 , 0, 0, 160, 160, 'shape=mxgraph.basic.oval_callout'
14
- row :callout3 , 0, 0, 160, 160, 'shape=mxgraph.basic.cloud_callout'
15
- row :callout4 , 0, 0, 160, 120, 'shape=mxgraph.basic.roundRectCallout;dx=30;dy=15;size=5;boundedLbl=1;'
16
- row :circle , 0, 0, 160, 160, 'ellipse'
17
- row :cloud , 0, 0, 160, 160, 'shape=cloud'
18
- row :cross , 0, 0, 50, 50, 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.x'
19
- row :envelop , 0, 0, 160, 100, 'shape=message'
20
- row :diamond , 0, 0, 100, 100, 'rhombus'
21
- row :document , 0, 0, 160, 160, 'shape=mxgraph.basic.document'
22
- row :ellipse , 0, 0, 200, 120, 'ellipse'
23
- row :hexagon , 0, 0, 200, 120, 'shape=hexagon'
24
- row :container , 0, 0, 160, 160, 'swimlane;horizontal=0'
25
- row :container2 , 0, 0, 160, 160, 'swimlane'
26
- row :container3 , 0, 0, 160, 160, 'swimlane;startSize=50'
27
- row :container4 , 0, 0, 160, 160, 'swimlane;resizable=0'
28
- row :note , 0, 0, 160, 160, 'shape=note'
29
- row :process , 0, 0, 200, 120, 'shape=process'
30
- row :rectangle , 0, 0, 200, 120, ''
31
- row :rectangle2 , 0, 0, 200, 120, 'shape=mxgraph.basic.cloud_rect'
32
- row :square , 0, 0, 160, 160, ''
33
- row :step , 0, 0, 120, 80, 'shape=step;perimeter=stepPerimeter;fixedSize=1'
34
- row :tick , 0, 0, 50, 50, 'verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.basic.tick'
35
- row :face , 0, 0, 100, 100, 'verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.basic.smiley'
36
- row :triangle , 0, 0, 100, 100, 'triangle'
10
+ # configuration for general purpose shapes
11
+ row :actor , 0, 0, 40, 50, 'shape=actor'
12
+ row :actor2 , 0, 0, 30, 50, 'shape=umlActor;verticalLabelPosition=bottom;outlineConnect=1'
13
+ row :callout , 0, 0, 160, 120, 'shape=callout'
14
+ row :callout2 , 0, 0, 160, 160, 'shape=mxgraph.basic.oval_callout'
15
+ row :callout3 , 0, 0, 160, 160, 'shape=mxgraph.basic.cloud_callout'
16
+ row :callout4 , 0, 0, 160, 120, 'shape=mxgraph.basic.roundRectCallout;dx=30;dy=15;size=5;boundedLbl=1;'
17
+ row :circle , 0, 0, 160, 160, 'ellipse'
18
+ row :cloud , 0, 0, 160, 160, 'shape=cloud'
19
+ row :cross , 0, 0, 50, 50, 'verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.x'
20
+ row :envelop , 0, 0, 160, 100, 'shape=message'
21
+ row :diamond , 0, 0, 100, 100, 'rhombus'
22
+ row :document , 0, 0, 160, 160, 'shape=mxgraph.basic.document'
23
+ row :ellipse , 0, 0, 200, 120, 'ellipse'
24
+ row :hexagon , 0, 0, 200, 120, 'shape=hexagon'
25
+ row :container , 0, 0, 160, 160, 'swimlane'
26
+ row :container2 , 0, 0, 160, 160, 'swimlane;horizontal=0'
27
+ row :container3 , 0, 0, 160, 160, 'swimlane;startSize=50'
28
+ row :container4 , 0, 0, 160, 160, 'swimlane;resizable=0'
29
+ row :note , 0, 0, 160, 160, 'shape=note'
30
+ row :process , 0, 0, 200, 120, 'shape=process'
31
+ row :rectangle , 0, 0, 200, 120, ''
32
+ row :rectangle2 , 0, 0, 200, 120, 'shape=mxgraph.basic.cloud_rect'
33
+ row :square , 0, 0, 160, 160, ''
34
+ row :step , 0, 0, 120, 80, 'shape=step;perimeter=stepPerimeter;fixedSize=1'
35
+ row :tick , 0, 0, 50, 50, 'verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.basic.tick'
36
+ row :face , 0, 0, 100, 100, 'verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.basic.smiley'
37
+ row :triangle , 0, 0, 100, 100, 'triangle'
37
38
 
39
+ # configuration for embedded element shape
40
+ # note that the width / height probably should be driven of parent shape
41
+ row :embed_row , 0, 0, 200, 40, 'shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;top=0;left=0;bottom=1;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest'
42
+ row :embed_col50 , 0, 0, 50, 40, 'shape=partialRectangle;connectable=0;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden'
43
+ row :embed_col200 , 0, 0, 150, 40, 'shape=partialRectangle;connectable=0;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden'
38
44
  end
39
45
 
40
46
  action do
data/.rubocop.yml CHANGED
@@ -41,6 +41,8 @@ Layout/LineLength:
41
41
  # Ignores annotate output
42
42
  IgnoredPatterns: ['\A# \*\*']
43
43
  IgnoreCopDirectives: true
44
+ Exclude:
45
+ - "lib/drawio_dsl/configuration_shapes.rb"
44
46
 
45
47
  Lint/UnusedMethodArgument:
46
48
  AllowUnusedKeywordArguments: true
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ # [0.5.0](https://github.com/klueless-io/drawio_dsl/compare/v0.4.1...v0.5.0) (2022-03-07)
2
+
3
+
4
+ ### Features
5
+
6
+ * add new and update older shapes ([64a0d83](https://github.com/klueless-io/drawio_dsl/commit/64a0d83dda6181183c0980914b7b2ee1520b84e6))
7
+ * final code generation in place for shapes ([ac4ed3c](https://github.com/klueless-io/drawio_dsl/commit/ac4ed3cace4e1794d38306e14d3cee60529add4b))
8
+ * final code generation in place for shapes ([4c2a6fb](https://github.com/klueless-io/drawio_dsl/commit/4c2a6fb376fe61cfd44a699677f7781c9e2b215c))
9
+
1
10
  ## [0.4.1](https://github.com/klueless-io/drawio_dsl/compare/v0.4.0...v0.4.1) (2022-03-06)
2
11
 
3
12
 
@@ -35,6 +35,9 @@ module DrawioDsl
35
35
  :tick,
36
36
  :face,
37
37
  :triangle,
38
+ :embed_row,
39
+ :embed_col50,
40
+ :embed_col200,
38
41
  keyword_init: true
39
42
  )
40
43
 
@@ -55,8 +58,8 @@ module DrawioDsl
55
58
  document: ShapeDefaults.new(type: :document, x: 0, y: 0, w: 160, h: 160, style_modifiers: 'shape=mxgraph.basic.document'),
56
59
  ellipse: ShapeDefaults.new(type: :ellipse, x: 0, y: 0, w: 200, h: 120, style_modifiers: 'ellipse'),
57
60
  hexagon: ShapeDefaults.new(type: :hexagon, x: 0, y: 0, w: 200, h: 120, style_modifiers: 'shape=hexagon'),
58
- container: ShapeDefaults.new(type: :container, x: 0, y: 0, w: 160, h: 160, style_modifiers: 'swimlane;horizontal=0'),
59
- container2: ShapeDefaults.new(type: :container2, x: 0, y: 0, w: 160, h: 160, style_modifiers: 'swimlane'),
61
+ container: ShapeDefaults.new(type: :container, x: 0, y: 0, w: 160, h: 160, style_modifiers: 'swimlane'),
62
+ container2: ShapeDefaults.new(type: :container2, x: 0, y: 0, w: 160, h: 160, style_modifiers: 'swimlane;horizontal=0'),
60
63
  container3: ShapeDefaults.new(type: :container3, x: 0, y: 0, w: 160, h: 160, style_modifiers: 'swimlane;startSize=50'),
61
64
  container4: ShapeDefaults.new(type: :container4, x: 0, y: 0, w: 160, h: 160, style_modifiers: 'swimlane;resizable=0'),
62
65
  note: ShapeDefaults.new(type: :note, x: 0, y: 0, w: 160, h: 160, style_modifiers: 'shape=note'),
@@ -67,7 +70,12 @@ module DrawioDsl
67
70
  step: ShapeDefaults.new(type: :step, x: 0, y: 0, w: 120, h: 80, style_modifiers: 'shape=step;perimeter=stepPerimeter;fixedSize=1'),
68
71
  tick: ShapeDefaults.new(type: :tick, x: 0, y: 0, w: 50, h: 50, style_modifiers: 'verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.basic.tick'),
69
72
  face: ShapeDefaults.new(type: :face, x: 0, y: 0, w: 100, h: 100, style_modifiers: 'verticalLabelPosition=bottom;verticalAlign=top;shape=mxgraph.basic.smiley'),
70
- triangle: ShapeDefaults.new(type: :triangle, x: 0, y: 0, w: 100, h: 100, style_modifiers: 'triangle')
73
+ triangle: ShapeDefaults.new(type: :triangle, x: 0, y: 0, w: 100, h: 100, style_modifiers: 'triangle'),
74
+ embed_row: ShapeDefaults.new(type: :embed_row, x: 0, y: 0, w: 200, h: 40,
75
+ style_modifiers: 'shape=partialRectangle;collapsible=0;dropTarget=0;pointerEvents=0;top=0;left=0;bottom=1;right=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest'),
76
+ embed_col50: ShapeDefaults.new(type: :embed_col50, x: 0, y: 0, w: 50, h: 40, style_modifiers: 'shape=partialRectangle;connectable=0;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden'),
77
+ embed_col200: ShapeDefaults.new(type: :embed_col200, x: 0, y: 0, w: 150, h: 40,
78
+ style_modifiers: 'shape=partialRectangle;connectable=0;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden')
71
79
  )
72
80
  end
73
81
  end
@@ -54,20 +54,20 @@ module DrawioDsl
54
54
 
55
55
  def add_grid_layout(**opts)
56
56
  rule = DrawioDsl::Schema::GridLayout.new(current_page, **opts)
57
- add_layout_rule(rule)
57
+ add_layout(rule)
58
58
  end
59
59
 
60
60
  def add_flex_layout(**opts)
61
61
  rule = DrawioDsl::Schema::FlexLayout.new(current_page, **opts)
62
- add_layout_rule(rule)
62
+ add_layout(rule)
63
63
  end
64
64
 
65
- def add_layout_rule(rule)
65
+ def add_layout(rule)
66
66
  @current_layout_rule = rule
67
67
 
68
68
  rule.id = "rule-#{current_page.nodes.length + 1}" unless rule.id
69
69
 
70
- current_page.nodes << rule
70
+ current_page.nodes.add(rule)
71
71
 
72
72
  rule
73
73
  end
@@ -81,7 +81,7 @@ module DrawioDsl
81
81
 
82
82
  shape.id = "#{current_page.id}-#{current_page.nodes.length + 1}" unless shape.id
83
83
 
84
- current_page.nodes << shape
84
+ current_page.nodes.add(shape)
85
85
 
86
86
  shape
87
87
  end
@@ -138,6 +138,21 @@ module DrawioDsl
138
138
  triangle = DrawioDsl::Schema::Triangle.new(current_page, **opts)
139
139
  add_shape(triangle)
140
140
  end
141
+
142
+ def add_embed_row(**opts)
143
+ embed_row = DrawioDsl::Schema::EmbedRow.new(current_page, **opts)
144
+ add_shape(embed_row)
145
+ end
146
+
147
+ def add_embed_col50(**opts)
148
+ embed_col50 = DrawioDsl::Schema::EmbedCol50.new(current_page, **opts)
149
+ add_shape(embed_col50)
150
+ end
151
+
152
+ def add_embed_col200(**opts)
153
+ embed_col200 = DrawioDsl::Schema::EmbedCol200.new(current_page, **opts)
154
+ add_shape(embed_col200)
155
+ end
141
156
  end
142
157
  end
143
158
  # :nocov:
@@ -5,7 +5,7 @@ module DrawioDsl
5
5
  # :nocov:
6
6
  module DrawioShapes
7
7
  def random(**opts)
8
- case rand(27)
8
+ case rand(30)
9
9
  when 0
10
10
  actor(**opts)
11
11
  when 1
@@ -60,6 +60,12 @@ module DrawioDsl
60
60
  face(**opts)
61
61
  when 26
62
62
  triangle(**opts)
63
+ when 27
64
+ embed_row(**opts)
65
+ when 28
66
+ embed_col50(**opts)
67
+ when 29
68
+ embed_col200(**opts)
63
69
  end
64
70
  end
65
71
 
@@ -170,6 +176,18 @@ module DrawioDsl
170
176
  def triangle(**opts)
171
177
  builder.add_triangle(**opts)
172
178
  end
179
+
180
+ def embed_row(**opts)
181
+ builder.add_embed_row(**opts)
182
+ end
183
+
184
+ def embed_col50(**opts)
185
+ builder.add_embed_col50(**opts)
186
+ end
187
+
188
+ def embed_col200(**opts)
189
+ builder.add_embed_col200(**opts)
190
+ end
173
191
  end
174
192
  # :nocov:
175
193
  end
@@ -14,22 +14,15 @@ module DrawioDsl
14
14
  attr_reader :current_page
15
15
  attr_reader :current_layout
16
16
 
17
- # attr_reader :page_margin_top
18
- # attr_reader :page_margin_left
19
- # attr_reader :x
20
- # attr_reader :y
21
-
22
17
  def initialize(page)
23
18
  @page = page
24
- # @x = 0
25
- # @y = 0
26
19
  end
27
20
 
28
21
  def call
29
22
  page.position_x = page.margin_left
30
23
  page.position_y = page.margin_top
31
24
 
32
- page.nodes.each do |node|
25
+ page.nodes.all.each do |node|
33
26
  case node.classification
34
27
  when :layout_rule
35
28
  @current_layout = node
@@ -4,6 +4,7 @@ require_relative 'common_style'
4
4
  require_relative 'default_palette'
5
5
  require_relative 'diagram'
6
6
  require_relative 'node'
7
+ require_relative 'node_list'
7
8
  require_relative 'page'
8
9
 
9
10
  require_relative 'layouts/layout'
@@ -38,3 +39,6 @@ require_relative 'shapes/step'
38
39
  require_relative 'shapes/tick'
39
40
  require_relative 'shapes/face'
40
41
  require_relative 'shapes/triangle'
42
+ require_relative 'shapes/embed_row'
43
+ require_relative 'shapes/embed_col50'
44
+ require_relative 'shapes/embed_col200'
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DrawioDsl
4
+ module Schema
5
+ class NodeList
6
+ attr_reader :nodes
7
+
8
+ def initialize
9
+ @nodes = []
10
+ end
11
+
12
+ def add(node)
13
+ @nodes << node
14
+ end
15
+
16
+ def all
17
+ @nodes
18
+ end
19
+
20
+ def shapes
21
+ @nodes.select { |node| node.is_a?(DrawioDsl::Schema::Shape) }
22
+ end
23
+
24
+ def layouts
25
+ @nodes.select { |node| node.is_a?(DrawioDsl::Schema::Layout) }
26
+ end
27
+
28
+ def length
29
+ @nodes.length
30
+ end
31
+
32
+ def to_h
33
+ @nodes.map(&:to_h)
34
+ end
35
+ end
36
+ end
37
+ end
@@ -86,13 +86,13 @@ module DrawioDsl
86
86
  @gradient ||= theme_palette.gradient
87
87
  end
88
88
 
89
- @nodes = args[:nodes] || []
89
+ @nodes = NodeList.new # []
90
90
  end
91
91
  # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity, Metrics/MethodLength
92
92
 
93
- def shapes
94
- @nodes.select { |node| node.is_a?(DrawioDsl::Schema::Shape) }
95
- end
93
+ # def shapes
94
+ # nodes.shapes
95
+ # end
96
96
 
97
97
  def to_h
98
98
  {
@@ -104,7 +104,7 @@ module DrawioDsl
104
104
  palette: palette.to_h,
105
105
  style: style.to_h,
106
106
  settings: settings,
107
- nodes: nodes.map(&:to_h)
107
+ nodes: nodes.to_h
108
108
  }
109
109
  end
110
110
 
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DrawioDsl
4
+ module Schema
5
+ class EmbedCol200 < Shape
6
+ configure_shape(:embed_col200)
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DrawioDsl
4
+ module Schema
5
+ class EmbedCol50 < Shape
6
+ configure_shape(:embed_col50)
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DrawioDsl
4
+ module Schema
5
+ class EmbedRow < Shape
6
+ configure_shape(:embed_row)
7
+ end
8
+ end
9
+ end
@@ -96,6 +96,12 @@ module DrawioDsl
96
96
  end
97
97
  # rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
98
98
 
99
+ def as_xml(xml)
100
+ xml.mxCell(id: id, value: title, style: style, vertex: 1, parent: "#{page.id}-B") do
101
+ xml.mxGeometry(x: x, y: y, width: w, height: h, as: 'geometry')
102
+ end
103
+ end
104
+
99
105
  def to_h
100
106
  {
101
107
  id: id,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DrawioDsl
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
@@ -52,23 +52,13 @@ module DrawioDsl
52
52
  xml.root do
53
53
  xml.mxCell(id: "#{page.id}-A")
54
54
  xml.mxCell(id: "#{page.id}-B", parent: "#{page.id}-A")
55
- page.nodes.each do |node|
56
- build_shape(xml, node) if node.classification == :shape
55
+ page.nodes.all.each do |node|
56
+ node.as_xml(xml) if node.classification == :shape
57
57
  end
58
58
  end
59
59
  end
60
60
  end
61
61
  end
62
62
  # rubocop:enable Metrics/MethodLength, Metrics/AbcSize, Metrics/BlockLength
63
-
64
- def build_shape(xml, shape)
65
- # puts "opts: #{opts}"
66
- # puts shape.x
67
- # puts shape.y
68
-
69
- xml.mxCell(id: shape.id, value: shape.title, style: shape.style, vertex: 1, parent: "#{shape.page.id}-B") do
70
- xml.mxGeometry(x: shape.x, y: shape.y, width: shape.w, height: shape.h, as: 'geometry')
71
- end
72
- end
73
63
  end
74
64
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "drawio_dsl",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "drawio_dsl",
9
- "version": "0.5.0",
9
+ "version": "0.5.1",
10
10
  "devDependencies": {
11
11
  "@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
12
12
  "@semantic-release/changelog": "^6.0.1",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drawio_dsl",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "DrawIO DSL can build DrawIO diagrams using a Domain Specific Language",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drawio_dsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
@@ -122,6 +122,7 @@ files:
122
122
  - lib/drawio_dsl/schema/layouts/grid_layout.rb
123
123
  - lib/drawio_dsl/schema/layouts/layout.rb
124
124
  - lib/drawio_dsl/schema/node.rb
125
+ - lib/drawio_dsl/schema/node_list.rb
125
126
  - lib/drawio_dsl/schema/page.rb
126
127
  - lib/drawio_dsl/schema/shapes/actor.rb
127
128
  - lib/drawio_dsl/schema/shapes/actor2.rb
@@ -139,6 +140,9 @@ files:
139
140
  - lib/drawio_dsl/schema/shapes/diamond.rb
140
141
  - lib/drawio_dsl/schema/shapes/document.rb
141
142
  - lib/drawio_dsl/schema/shapes/ellipse.rb
143
+ - lib/drawio_dsl/schema/shapes/embed_col200.rb
144
+ - lib/drawio_dsl/schema/shapes/embed_col50.rb
145
+ - lib/drawio_dsl/schema/shapes/embed_row.rb
142
146
  - lib/drawio_dsl/schema/shapes/envelop.rb
143
147
  - lib/drawio_dsl/schema/shapes/face.rb
144
148
  - lib/drawio_dsl/schema/shapes/hexagon.rb