drawio_dsl 0.10.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/config/configuration.json +1795 -748
  4. data/docs/printspeak-architecture-controllers.drawio +47 -47
  5. data/docs/printspeak-architecture-generator-custom.drawio +306 -0
  6. data/docs/printspeak-architecture-generator-custom.png +0 -0
  7. data/docs/project-plan/project.drawio +108 -75
  8. data/docs/project-plan/project_done.svg +1 -1
  9. data/docs/project-plan/project_in_progress.svg +1 -1
  10. data/docs/project-plan/project_todo.svg +1 -1
  11. data/docs/samples/grid-direction-horizontal.svg +1 -1
  12. data/docs/samples/grid-direction-vertical.svg +1 -1
  13. data/docs/samples/styles-glass.svg +1 -1
  14. data/docs/samples/styles-plain.svg +1 -1
  15. data/docs/samples/styles-rounded.svg +1 -1
  16. data/docs/samples/styles-shadow.svg +1 -1
  17. data/docs/samples/styles-sketch.svg +1 -1
  18. data/docs/samples/themes-random.svg +1 -1
  19. data/docs/samples/willoughby-council.svg +1 -1
  20. data/lib/drawio_dsl/configuration.rb +175 -108
  21. data/lib/drawio_dsl/dom_builder.rb +2 -2
  22. data/lib/drawio_dsl/schema/diagram.rb +1 -1
  23. data/lib/drawio_dsl/schema/elements/.rb +9 -0
  24. data/lib/drawio_dsl/schema/layouts/flex_layout.rb +1 -1
  25. data/lib/drawio_dsl/schema/layouts/grid_layout.rb +1 -1
  26. data/lib/drawio_dsl/schema/lines/.rb +9 -0
  27. data/lib/drawio_dsl/schema/node.rb +5 -5
  28. data/lib/drawio_dsl/schema/page.rb +0 -1
  29. data/lib/drawio_dsl/schema/shape.rb +8 -8
  30. data/lib/drawio_dsl/schema/texts/.rb +9 -0
  31. data/lib/drawio_dsl/version.rb +1 -1
  32. data/lib/drawio_dsl.rb +1 -2
  33. data/package-lock.json +2 -2
  34. data/package.json +1 -1
  35. metadata +7 -4
  36. data/docs/printspeak-architecture-generator.drawio +0 -107
  37. data/lib/drawio_dsl/configuration_shapes.rb +0 -109
@@ -4,28 +4,22 @@
4
4
  module DrawioDsl
5
5
  # Configuration container for the DrawIO DSL
6
6
  class Configuration
7
- include DrawioDsl::ConfigurationShapes
7
+ extend Forwardable
8
8
 
9
9
  include KLog::Logging
10
10
 
11
11
  BaseStyle = Struct.new(:white_space, :html, :rounded, :shadow, :sketch, :glass, keyword_init: true)
12
- ElementConfig = Struct.new(:type, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
13
- LineConfig = Struct.new(:type, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
14
- TextConfig = Struct.new(:type, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
15
12
 
16
13
  attr_accessor :base_style
17
14
 
18
- attr_accessor :shapes
15
+ def_delegators :shape, :element, :line, :text
19
16
 
20
17
  def initialize
21
18
  @base_style = BaseStyle.new(white_space: :wrap, html: 1, rounded: nil, shadow: nil, sketch: nil, glass: nil)
22
-
23
- # TODO: these need to be removed
24
- add_shapes
25
19
  end
26
20
 
27
- def stroke(type)
28
- strokes[type] || ''
21
+ def stroke(key)
22
+ strokes[key] || ''
29
23
  end
30
24
 
31
25
  def strokes
@@ -33,104 +27,171 @@ module DrawioDsl
33
27
 
34
28
  @strokes = {}
35
29
  source_config['strokes'].each do |stroke|
36
- @strokes[stroke['type'].to_sym] = stroke['style']
30
+ @strokes[stroke['key'].to_sym] = stroke['style']
37
31
  end
38
32
 
39
33
  @strokes
40
34
  end
41
35
 
42
36
  # need test
43
- def get_item_by_category(type, category)
37
+ def get_item_by_category(key, category)
44
38
  case category
45
39
  when :text
46
- text(type)
40
+ text(key)
47
41
  when :line
48
- line(type)
42
+ line(key)
49
43
  else
50
- element(type)
44
+ element(key)
51
45
  end
52
46
  end
53
47
 
54
- def element(type)
55
- elements[type]
48
+ def shape
49
+ @shape ||= Shape.new(source_config['shape'])
56
50
  end
57
51
 
58
- def elements
59
- return @elements if defined? @elements
60
-
61
- @elements = {}
62
- source_config['shapes'].select { |shape| shape['category'] == 'element' }.each do |element|
63
- @elements[element['type'].to_sym] = ElementConfig.new(
64
- type: element['type'].to_sym,
65
- x: element['x'].to_i,
66
- y: element['y'].to_i,
67
- w: element['w'].to_i,
68
- h: element['h'].to_i,
69
- style_modifiers: element['style_modifiers']
70
- )
71
- end
52
+ def connector
53
+ @connector ||= Connector.new(source_config['connector'])
54
+ end
72
55
 
73
- @elements
56
+ def theme
57
+ @theme ||= Theme.new(source_config['theme'])
74
58
  end
75
59
 
76
- def line(type)
77
- lines[type]
60
+ def source_config
61
+ return @source_config if defined? @source_config
62
+
63
+ @source_config = begin
64
+ file = File.join(DrawioDsl::ROOT_PATH, 'config/configuration.json')
65
+ JSON.parse(File.read(file))
66
+ end
78
67
  end
79
68
 
80
- def lines
81
- return @lines if defined? @lines
82
-
83
- @lines = {}
84
- source_config['shapes'].select { |shape| shape['category'] == 'line' }.each do |line|
85
- @lines[line['type'].to_sym] = LineConfig.new(
86
- type: line['type'].to_sym,
87
- x: line['x'].to_i,
88
- y: line['y'].to_i,
89
- w: line['w'].to_i,
90
- h: line['h'].to_i,
91
- style_modifiers: line['style_modifiers']
69
+ class Shape
70
+ attr_reader :source_config
71
+
72
+ ElementShapeConfig = Struct.new(:key, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
73
+ LineShapeConfig = Struct.new(:key, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
74
+ TextShapeConfig = Struct.new(:key, :x, :y, :w, :h, :style_modifiers, keyword_init: true)
75
+
76
+ def initialize(source_config)
77
+ @source_config = source_config
78
+ end
79
+
80
+ # Elements
81
+
82
+ def element(key)
83
+ elements[key] || ElementShapeConfig.new(
84
+ key: :square,
85
+ x: 0,
86
+ y: 0,
87
+ w: 160,
88
+ h: 160,
89
+ style_modifiers: ''
92
90
  )
93
91
  end
94
92
 
95
- @lines
96
- end
93
+ def elements
94
+ return @elements if defined? @elements
97
95
 
98
- def text(type)
99
- texts[type]
100
- end
96
+ @elements = {}
97
+ source_config['elements'].each do |element|
98
+ @elements[element['key'].to_sym] = ElementShapeConfig.new(
99
+ key: element['key'].to_sym,
100
+ x: element['x'].to_i,
101
+ y: element['y'].to_i,
102
+ w: element['w'].to_i,
103
+ h: element['h'].to_i,
104
+ style_modifiers: element['style_modifiers']
105
+ )
106
+ end
101
107
 
102
- def texts
103
- return @texts if defined? @texts
104
-
105
- @texts = {}
106
- source_config['shapes'].select { |shape| shape['category'] == 'text' }.each do |text|
107
- @texts[text['type'].to_sym] = TextConfig.new(
108
- type: text['type'].to_sym,
109
- x: text['x'].to_i,
110
- y: text['y'].to_i,
111
- w: text['w'].to_i,
112
- h: text['h'].to_i,
113
- style_modifiers: text['style_modifiers']
108
+ @elements
109
+ end
110
+
111
+ def element_keys
112
+ elements.keys
113
+ end
114
+
115
+ def random_element_key
116
+ elements.values.sample.key
117
+ end
118
+
119
+ # Lines
120
+
121
+ def line(key)
122
+ lines[key] || LineShapeConfig.new(
123
+ key: :solid,
124
+ x: 0,
125
+ y: 0,
126
+ w: 50,
127
+ h: 50,
128
+ style_modifiers: 'edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0'
114
129
  )
115
130
  end
116
131
 
117
- @texts
118
- end
132
+ def lines
133
+ return @lines if defined? @lines
134
+
135
+ @lines = {}
136
+ source_config['lines'].each do |line|
137
+ @lines[line['key'].to_sym] = LineShapeConfig.new(
138
+ key: line['key'].to_sym,
139
+ x: line['x'].to_i,
140
+ y: line['y'].to_i,
141
+ w: line['w'].to_i,
142
+ h: line['h'].to_i,
143
+ style_modifiers: line['style_modifiers']
144
+ )
145
+ end
119
146
 
120
- def connector
121
- @connector ||= Connector.new(source_config['connector'])
122
- end
147
+ @lines
148
+ end
123
149
 
124
- def theme
125
- @theme ||= Theme.new(source_config['theme'])
126
- end
150
+ def line_keys
151
+ lines.keys
152
+ end
127
153
 
128
- def source_config
129
- return @source_config if defined? @source_config
154
+ def random_line_key
155
+ lines.values.sample.key
156
+ end
130
157
 
131
- @source_config = begin
132
- file = File.join(DrawioDsl::ROOT_PATH, 'config/configuration.json')
133
- JSON.parse(File.read(file))
158
+ def text(key)
159
+ texts[key] || TextShapeConfig.new(
160
+ key: :p,
161
+ x: 0,
162
+ y: 0,
163
+ w: 100,
164
+ h: 50,
165
+ style_modifiers: 'text;fontSize=16;fontStyle=1;fillColor=none'
166
+ )
167
+ end
168
+
169
+ # Texts
170
+
171
+ def texts
172
+ return @texts if defined? @texts
173
+
174
+ @texts = {}
175
+ source_config['texts'].each do |text|
176
+ @texts[text['key'].to_sym] = TextShapeConfig.new(
177
+ key: text['key'].to_sym,
178
+ x: text['x'].to_i,
179
+ y: text['y'].to_i,
180
+ w: text['w'].to_i,
181
+ h: text['h'].to_i,
182
+ style_modifiers: text['style_modifiers']
183
+ )
184
+ end
185
+
186
+ @texts
187
+ end
188
+
189
+ def text_keys
190
+ texts.keys
191
+ end
192
+
193
+ def random_text_key
194
+ texts.values.sample.key
134
195
  end
135
196
  end
136
197
 
@@ -144,8 +205,8 @@ module DrawioDsl
144
205
  @source_config = source_config
145
206
  end
146
207
 
147
- def compass_point(type)
148
- compass_points[type] || XyConfig.new(x: 0, y: 0)
208
+ def compass_point(key)
209
+ compass_points[key] || XyConfig.new(x: 0, y: 0)
149
210
  end
150
211
 
151
212
  def compass_points
@@ -153,14 +214,14 @@ module DrawioDsl
153
214
 
154
215
  @compass_points = {}
155
216
  source_config['compass_points'].each do |compass_point|
156
- @compass_points[compass_point['type'].to_sym] = XyConfig.new(x: compass_point['x'], y: compass_point['y'])
217
+ @compass_points[compass_point['key'].to_sym] = XyConfig.new(x: compass_point['x'], y: compass_point['y'])
157
218
  end
158
219
 
159
220
  @compass_points
160
221
  end
161
222
 
162
- def waypoint(type)
163
- waypoints[type] || ''
223
+ def waypoint(key)
224
+ waypoints[key] || ''
164
225
  end
165
226
 
166
227
  def waypoints
@@ -168,14 +229,14 @@ module DrawioDsl
168
229
 
169
230
  @waypoints = {}
170
231
  source_config['waypoints'].each do |waypoint|
171
- @waypoints[waypoint['type'].to_sym] = waypoint['style']
232
+ @waypoints[waypoint['key'].to_sym] = waypoint['style']
172
233
  end
173
234
 
174
235
  @waypoints
175
236
  end
176
237
 
177
- def arrow(type)
178
- arrows[type] || 'open'
238
+ def arrow(key)
239
+ arrows[key] || 'open'
179
240
  end
180
241
 
181
242
  def arrows
@@ -183,14 +244,14 @@ module DrawioDsl
183
244
 
184
245
  @arrows = {}
185
246
  source_config['arrows'].each do |arrow|
186
- @arrows[arrow['type'].to_sym] = arrow['style']
247
+ @arrows[arrow['key'].to_sym] = arrow['style']
187
248
  end
188
249
 
189
250
  @arrows
190
251
  end
191
252
 
192
- def design(type)
193
- designs[type] || ''
253
+ def design(key)
254
+ designs[key] || ''
194
255
  end
195
256
 
196
257
  def designs
@@ -198,7 +259,7 @@ module DrawioDsl
198
259
 
199
260
  @designs = {}
200
261
  source_config['designs'].each do |design|
201
- @designs[design['type'].to_sym] = design['style']
262
+ @designs[design['key'].to_sym] = design['style']
202
263
  end
203
264
 
204
265
  @designs
@@ -208,18 +269,19 @@ module DrawioDsl
208
269
  class Theme
209
270
  attr_reader :source_config
210
271
 
211
- BackgroundThemeConfig = Struct.new(:type, :bg_color, :font_color, keyword_init: true)
212
- ElementThemeConfig = Struct.new(:type, :fill_color, :stroke_color, :font_color, :gradient, keyword_init: true)
272
+ BackgroundThemeConfig = Struct.new(:key, :bg_color, :font_color, :favourite, keyword_init: true)
273
+ ElementThemeConfig = Struct.new(:key, :fill_color, :stroke_color, :font_color, :gradient, keyword_init: true)
213
274
 
214
275
  def initialize(source_config)
215
276
  @source_config = source_config
216
277
  end
217
278
 
218
- def background(type)
219
- backgrounds[type] || BackgroundThemeConfig.new(
220
- type: type,
279
+ def background(key)
280
+ backgrounds[key] || BackgroundThemeConfig.new(
281
+ key: key,
221
282
  bg_color: '#000000',
222
- font_color: '#ffffff'
283
+ font_color: '#FFFFFF',
284
+ favourite: false
223
285
  )
224
286
  end
225
287
 
@@ -228,27 +290,32 @@ module DrawioDsl
228
290
 
229
291
  @backgrounds = {}
230
292
  source_config['backgrounds'].each do |background|
231
- @backgrounds[background['type'].to_sym] = BackgroundThemeConfig.new(
232
- type: background['type'].to_sym,
293
+ @backgrounds[background['key'].to_sym] = BackgroundThemeConfig.new(
294
+ key: background['key'].to_sym,
233
295
  bg_color: background['bg_color'],
234
- font_color: background['font_color']
296
+ font_color: background['font_color'],
297
+ favourite: background['favourite'] == 1
235
298
  )
236
299
  end
237
300
 
238
301
  @backgrounds
239
302
  end
240
303
 
241
- def background_types
304
+ def background_keys
242
305
  backgrounds.keys
243
306
  end
244
307
 
245
- def random_background_type
246
- backgrounds.values.sample.type
308
+ def favourite_background_keys
309
+ backgrounds.values.select(&:favourite).map(&:key)
310
+ end
311
+
312
+ def random_background_key
313
+ backgrounds.values.sample.key
247
314
  end
248
315
 
249
- def element(type)
250
- elements[type] || ElementThemeConfig.new(
251
- type: type,
316
+ def element(key)
317
+ elements[key] || ElementThemeConfig.new(
318
+ key: key,
252
319
  fill_color: '#ffffff',
253
320
  stroke_color: '#000000',
254
321
  font_color: '#000000',
@@ -261,8 +328,8 @@ module DrawioDsl
261
328
 
262
329
  @elements = {}
263
330
  source_config['elements'].each do |element|
264
- @elements[element['type'].to_sym] = ElementThemeConfig.new(
265
- type: element['type'].to_sym,
331
+ @elements[element['key'].to_sym] = ElementThemeConfig.new(
332
+ key: element['key'].to_sym,
266
333
  fill_color: element['fill_color'],
267
334
  stroke_color: element['stroke_color'],
268
335
  font_color: element['font_color'],
@@ -273,12 +340,12 @@ module DrawioDsl
273
340
  @elements
274
341
  end
275
342
 
276
- def element_types
343
+ def element_keys
277
344
  elements.keys
278
345
  end
279
346
 
280
- def random_element_type
281
- elements.values.sample.type
347
+ def random_element_key
348
+ elements.values.sample.key
282
349
  end
283
350
  end
284
351
  end
@@ -47,8 +47,8 @@ module DrawioDsl
47
47
  current_page.id = SecureRandom.alphanumeric(3) unless current_page.id
48
48
 
49
49
  # add anchor nodes
50
- page_anchor = DrawioDsl::Schema::Anchor.new(self, id: "page_root_#{current_page.id}", type: :page_root)
51
- node_anchor = DrawioDsl::Schema::Anchor.new(self, id: "node_root_#{current_page.id}", type: :node_root)
50
+ page_anchor = DrawioDsl::Schema::Anchor.new(self, id: "page_root_#{current_page.id}", key: :page_root)
51
+ node_anchor = DrawioDsl::Schema::Anchor.new(self, id: "node_root_#{current_page.id}", key: :node_root)
52
52
  page_anchor.add_node(node_anchor)
53
53
 
54
54
  @focus_node = node_anchor
@@ -15,7 +15,7 @@ module DrawioDsl
15
15
  def initialize(**args)
16
16
  @host = args[:host] || SecureRandom.alphanumeric(3)
17
17
  # TODO: assess and resolve this inconsistency
18
- @theme = args[:theme] || KConfig.configuration.drawio.theme.random_background_type
18
+ @theme = args[:theme] || KConfig.configuration.drawio.theme.random_background_key
19
19
  @bg_theme = args[:bg_theme] || :not_set
20
20
 
21
21
  @style = DrawioDsl::Schema::CommonStyle.new(**args) do
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DrawioDsl
4
+ module Schema
5
+ class EmbedCol200 < Element
6
+ configure_as(:embed_col200)
7
+ end
8
+ end
9
+ end
@@ -15,7 +15,7 @@ module DrawioDsl
15
15
  @gap = args[:gap] || 20
16
16
  @perpendicular_max = 0
17
17
 
18
- super(page, **args.merge(type: :flex_layout))
18
+ super(page, **args.merge(key: :flex_layout))
19
19
  end
20
20
 
21
21
  def position_shape(shape)
@@ -24,7 +24,7 @@ module DrawioDsl
24
24
  @v_align = args[:v_align] || :center
25
25
  @cell_no = 1
26
26
 
27
- super(page, **args.merge(type: :grid_layout))
27
+ super(page, **args.merge(key: :grid_layout))
28
28
  end
29
29
  # rubocop:enable Metrics/CyclomaticComplexity
30
30
 
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DrawioDsl
4
+ module Schema
5
+ class Solid < Line
6
+ configure_as(:solid)
7
+ end
8
+ end
9
+ end
@@ -9,7 +9,7 @@ module DrawioDsl
9
9
  attr_accessor :page
10
10
  attr_accessor :parent
11
11
  attr_accessor :classification
12
- attr_accessor :type
12
+ attr_accessor :key
13
13
  attr_accessor :nodes
14
14
 
15
15
  def initialize(page, **args)
@@ -17,7 +17,7 @@ module DrawioDsl
17
17
  @id = args[:id]
18
18
  @parent = args[:parent]
19
19
  @classification = args[:classification] || :unknown
20
- @type = args[:type] || :unknown
20
+ @key = args[:key] || :unknown
21
21
  @nodes = NodeList.new
22
22
  end
23
23
 
@@ -26,7 +26,7 @@ module DrawioDsl
26
26
  id: id,
27
27
  parent_id: parent&.id,
28
28
  classification: classification,
29
- type: type
29
+ key: key
30
30
  }
31
31
  result[:nodes] = nodes.to_h if nodes.any?
32
32
  result
@@ -58,11 +58,11 @@ module DrawioDsl
58
58
  end
59
59
 
60
60
  # rubocop:disable Metrics/ParameterLists
61
- def debug_row(classification, id, type = nil, x = nil, y = nil, width = nil, height = nil)
61
+ def debug_row(classification, id, key = nil, x = nil, y = nil, width = nil, height = nil)
62
62
  row = []
63
63
  row << classification.to_s.ljust(11)
64
64
  row << id.to_s.ljust(6)
65
- row << (type.nil? ? '' : type).to_s.ljust(15)
65
+ row << (key.nil? ? '' : key).to_s.ljust(15)
66
66
  row << (x.nil? ? '' : x).to_s.rjust(5)
67
67
  row << (y.nil? ? '' : y).to_s.rjust(5)
68
68
  row << (width.nil? ? '' : width).to_s.rjust(5)
@@ -46,7 +46,6 @@ module DrawioDsl
46
46
  @theme = args[:theme] || diagram.theme
47
47
  @bg_theme = args[:bg_theme] || diagram.bg_theme
48
48
 
49
- puts "Page has theme: #{theme}"
50
49
  # cursor positioning is used by the layout engine
51
50
  @position_x = 0
52
51
  @position_y = 0
@@ -75,7 +75,7 @@ module DrawioDsl
75
75
  @sketch = args[:sketch] || page.style.sketch
76
76
  @glass = args[:glass] || page.style.glass
77
77
 
78
- @type = args[:type] || shape_defaults.type
78
+ @key = args[:key] || shape_defaults.key
79
79
  @x = args[:x] || shape_defaults.x
80
80
  @y = args[:y] || shape_defaults.y
81
81
  @w = args[:w] || shape_defaults.w
@@ -83,9 +83,9 @@ module DrawioDsl
83
83
  @style_modifiers = args[:style_modifiers] || shape_defaults.style_modifiers
84
84
  end
85
85
 
86
- def format(type = nil)
87
- type ||= self.class.shape_key
88
- format_instance(type)
86
+ def format(key = nil)
87
+ key ||= self.class.shape_key
88
+ format_instance(key)
89
89
  end
90
90
 
91
91
  def style
@@ -108,7 +108,7 @@ module DrawioDsl
108
108
 
109
109
  def as_xml(xml)
110
110
  # log.error category
111
- # log.error type
111
+ # log.error key
112
112
  draw_element(xml) if is_a?(Element) || is_a?(Text)
113
113
  draw_line(xml) if is_a?(Line)
114
114
  end
@@ -130,7 +130,7 @@ module DrawioDsl
130
130
  id: id,
131
131
  parent_id: parent&.id,
132
132
  classification: classification,
133
- type: type,
133
+ key: key,
134
134
  x: x,
135
135
  y: y,
136
136
  w: w,
@@ -153,9 +153,9 @@ module DrawioDsl
153
153
  # :nocov:
154
154
  def debug(format: :detail)
155
155
  if format == :detail
156
- debug_detail({ id: id, classification: classification, type: type })
156
+ debug_detail({ id: id, classification: classification, key: key })
157
157
  else
158
- debug_row(classification, id, type, x, y, w, h)
158
+ debug_row(classification, id, key, x, y, w, h)
159
159
  end
160
160
  end
161
161
  # :nocov:
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DrawioDsl
4
+ module Schema
5
+ class P < Text
6
+ configure_as(:p)
7
+ end
8
+ end
9
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DrawioDsl
4
- VERSION = '0.10.0'
4
+ VERSION = '0.11.1'
5
5
  end
data/lib/drawio_dsl.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  require 'securerandom'
4
4
  require 'nokogiri'
5
-
5
+ require 'forwardable'
6
6
  require 'k_config'
7
7
  require 'k_log'
8
8
  require 'k_director'
@@ -15,7 +15,6 @@ module DrawioDsl
15
15
  end
16
16
 
17
17
  require_relative 'drawio_dsl/configuration_extension'
18
- require_relative 'drawio_dsl/configuration_shapes'
19
18
  require_relative 'drawio_dsl/configuration'
20
19
  require_relative 'drawio_dsl/version'
21
20
  require_relative 'drawio_dsl/formatters/_'
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "drawio_dsl",
3
- "version": "0.10.0",
3
+ "version": "0.11.1",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "drawio_dsl",
9
- "version": "0.10.0",
9
+ "version": "0.11.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.10.0",
3
+ "version": "0.11.1",
4
4
  "description": "DrawIO DSL can build DrawIO diagrams using a Domain Specific Language",
5
5
  "scripts": {
6
6
  "release": "semantic-release"