k_doc 0.0.32 → 0.0.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.builders/_.rb +1 -0
- data/.builders/boot.rb +90 -0
- data/.builders/generators/domain_diagram.rb +198 -0
- data/.builders/generators/project_plan.rb +42 -0
- data/.builders/setup.rb +14 -14
- data/.rubocop.yml +4 -0
- data/README.md +2 -1
- data/docs/class-diagram-dsl.png +0 -0
- data/docs/class-diagram.png +0 -0
- data/docs/domain-custom.drawio +97 -0
- data/docs/domain-custom.svg +1 -0
- data/docs/domain-modal.md +7 -0
- data/docs/domain.drawio +82 -0
- data/docs/domain_model.svg +3 -0
- data/docs/project-plan.drawio +29 -0
- data/docs/project-plan.md +24 -0
- data/docs/project_in_progress.svg +3 -0
- data/lib/k_doc/mixins/block_processor.rb +51 -2
- data/lib/k_doc/mixins/guarded.rb +1 -1
- data/lib/k_doc/mixins/taggable.rb +2 -0
- data/lib/k_doc/settings.rb +1 -0
- data/lib/k_doc/version.rb +1 -1
- metadata +16 -5
- data/.builders/initializers/_.rb +0 -7
- data/.builders/initializers/configure_builder.rb +0 -38
- data/.builders/initializers/handlebars_helpers.rb +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2ff429774f37872d457c34f5a43755bd194a51b05f77f73f76f2c6d3006f3c1
|
4
|
+
data.tar.gz: 507b5acc70b1a60f8f5bbedc9e5b1939c7d9df94e16ea87ede8425ded61e24d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c005846ffcf2497080ee1e0d3b4363863b22bdcf74ea9a56d22e10284fcf6ed5b864d497c818278b1c81665a503634d412b9b7b6893232cef4c23b3ddeb08a31
|
7
|
+
data.tar.gz: 4f4ef2b53a0b313b5b0e5334cc5609566a507481fc441b7d60523c57009d912b0c089241162b33d82d3477892c78c5a6323046891d316a756d7d3e1c272ac796
|
data/.builders/_.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# require_relative './path/here'
|
data/.builders/boot.rb
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
# Boot Sequence
|
2
|
+
|
3
|
+
include KLog::Logging
|
4
|
+
|
5
|
+
CONFIG_KEY = :k_doc
|
6
|
+
|
7
|
+
log.kv 'working folder', Dir.pwd
|
8
|
+
|
9
|
+
Handlebars::Helpers.configure do |config|
|
10
|
+
config.helper_config_file = File.join(Gem.loaded_specs['handlebars-helpers'].full_gem_path, '.handlebars_helpers.json')
|
11
|
+
config.string_formatter_config_file = File.join(Gem.loaded_specs['handlebars-helpers'].full_gem_path, '.handlebars_string_formatters.json')
|
12
|
+
end
|
13
|
+
|
14
|
+
def camel
|
15
|
+
require 'handlebars/helpers/string_formatting/camel'
|
16
|
+
Handlebars::Helpers::StringFormatting::Camel.new
|
17
|
+
end
|
18
|
+
|
19
|
+
def titleize
|
20
|
+
require 'handlebars/helpers/string_formatting/titleize'
|
21
|
+
Handlebars::Helpers::StringFormatting::Titleize.new
|
22
|
+
end
|
23
|
+
|
24
|
+
def pluralize
|
25
|
+
require 'handlebars/helpers/inflection/pluralize'
|
26
|
+
Handlebars::Helpers::Inflection::Pluralize.new
|
27
|
+
end
|
28
|
+
|
29
|
+
def singularize
|
30
|
+
require 'handlebars/helpers/inflection/singularize'
|
31
|
+
Handlebars::Helpers::Inflection::Singularize.new
|
32
|
+
end
|
33
|
+
|
34
|
+
def dasherize
|
35
|
+
require 'handlebars/helpers/string_formatting/dasherize'
|
36
|
+
Handlebars::Helpers::StringFormatting::Dasherize.new
|
37
|
+
end
|
38
|
+
|
39
|
+
def k_builder
|
40
|
+
@k_builder ||= KBuilder::BaseBuilder.init(KConfig.configuration(CONFIG_KEY))
|
41
|
+
end
|
42
|
+
|
43
|
+
KConfig.configure(CONFIG_KEY) do |config|
|
44
|
+
builder_folder = Dir.pwd
|
45
|
+
base_folder = File.expand_path('../', builder_folder)
|
46
|
+
global_template = File.expand_path('~/dev/kgems/k_templates/templates')
|
47
|
+
|
48
|
+
# Templates
|
49
|
+
config.template_folders.add(:global_template , global_template)
|
50
|
+
config.template_folders.add(:template , File.expand_path('.templates', Dir.pwd))
|
51
|
+
|
52
|
+
# Target Folders
|
53
|
+
config.target_folders.add(:app , base_folder)
|
54
|
+
config.target_folders.add(:docs , :app, 'docs')
|
55
|
+
config.target_folders.add(:lib , :app, 'lib', 'k_doc')
|
56
|
+
config.target_folders.add(:spec , :app, 'spec', 'k_doc')
|
57
|
+
config.target_folders.add(:builder , builder_folder)
|
58
|
+
config.target_folders.add(:data , :builder, '.data')
|
59
|
+
end
|
60
|
+
|
61
|
+
# Old config for k_doc
|
62
|
+
# KBuilder.reset(:gem)
|
63
|
+
# KConfig.configure(:gem) do |config|
|
64
|
+
# # config.template_folders.add(:global , '~/dev/kgems/k_templates/definitions/genesis')
|
65
|
+
# config.target_folders.add(:root , File.expand_path('..', Dir.getwd))
|
66
|
+
# config.target_folders.add(:lib , :root, 'lib', 'k_doc')
|
67
|
+
# config.target_folders.add(:spec , :root, 'spec', 'k_doc')
|
68
|
+
# end
|
69
|
+
|
70
|
+
# KBuilder.reset(:design_patterns)
|
71
|
+
# KConfig.configure(:design_patterns) do |config|
|
72
|
+
# config.template_folders.add(:global , '~/dev/kgems/k_templates/templates/ruby_design_patterns')
|
73
|
+
# config.target_folders.add(:root , File.expand_path('..', Dir.getwd))
|
74
|
+
# config.target_folders.add(:lib , :root, 'lib', 'k_doc')
|
75
|
+
# config.target_folders.add(:spec , :root, 'spec', 'k_doc')
|
76
|
+
# end
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
KConfig.configuration(CONFIG_KEY).debug
|
81
|
+
|
82
|
+
area = KManager.add_area(CONFIG_KEY)
|
83
|
+
resource_manager = area.resource_manager
|
84
|
+
resource_manager
|
85
|
+
.fileset
|
86
|
+
.glob('*.rb', exclude: ['boot.rb'])
|
87
|
+
.glob('generators/**/*.rb')
|
88
|
+
resource_manager.add_resources
|
89
|
+
|
90
|
+
KManager.boot
|
@@ -0,0 +1,198 @@
|
|
1
|
+
KManager.action :domain_diagram do
|
2
|
+
action do
|
3
|
+
|
4
|
+
DrawioDsl::Drawio
|
5
|
+
.init(k_builder, on_exist: :write, on_action: :execute)
|
6
|
+
.diagram(theme: :style_04)
|
7
|
+
.page('Style-Plain', margin_left: 0, margin_top: 0, rounded: 0, background: '#fafafa') do
|
8
|
+
grid_layout(wrap_at: 6)
|
9
|
+
|
10
|
+
klass do
|
11
|
+
format
|
12
|
+
.header('Container', description: 'A container acts a base data object for any data that requires tagging')
|
13
|
+
end
|
14
|
+
interface(theme: :style_02) do
|
15
|
+
format
|
16
|
+
.header('Block Processor', interface_type: 'MixIn', description: 'Provide data load events, dependency and import management')
|
17
|
+
end
|
18
|
+
interface(theme: :style_02) do
|
19
|
+
format
|
20
|
+
.header('Composable Components', interface_type: 'MixIn')
|
21
|
+
end
|
22
|
+
interface(theme: :style_02) do
|
23
|
+
format
|
24
|
+
.header('Datum', interface_type: 'MixIn', description: 'Data acts as a base data object containers')
|
25
|
+
end
|
26
|
+
interface(theme: :style_02) do
|
27
|
+
format
|
28
|
+
.header('Guarded', interface_type: 'MixIn', description: 'Guarded provides parameter warning and guarding')
|
29
|
+
end
|
30
|
+
interface(theme: :style_02) do
|
31
|
+
format
|
32
|
+
.header('Taggable', interface_type: 'MixIn', description: 'Provide tagging functionality to the underlying model')
|
33
|
+
end
|
34
|
+
|
35
|
+
square(title: 'Documents', theme: :style_01)
|
36
|
+
klass do
|
37
|
+
format
|
38
|
+
.header('Action', description: 'Action is a DSL for modeling JSON data objects')
|
39
|
+
end
|
40
|
+
klass do
|
41
|
+
format
|
42
|
+
.header('Container', description: 'A container acts a base data object for any data that requires tagging')
|
43
|
+
.field(:context, type: :open_struct)
|
44
|
+
.field(:owner, type: :object)
|
45
|
+
.field(:default_container_type)
|
46
|
+
.field(:default_data_type)
|
47
|
+
end
|
48
|
+
klass do
|
49
|
+
format
|
50
|
+
.header('CSV Doc', description: 'CsvDoc is a DSL for modeling CSV data objects')
|
51
|
+
.field(:file, type: :string)
|
52
|
+
.field(:loaded?)
|
53
|
+
.method(:load)
|
54
|
+
end
|
55
|
+
klass do
|
56
|
+
format
|
57
|
+
.header('JSON Doc', description: 'JsonDoc is a DSL for modeling JSON data objects')
|
58
|
+
.field(:file, type: :string)
|
59
|
+
.field(:loaded?)
|
60
|
+
.method(:load)
|
61
|
+
end
|
62
|
+
klass do
|
63
|
+
format
|
64
|
+
.header('YAML Doc', description: 'YamlDoc is a DSL for modeling YAML data objects')
|
65
|
+
.field(:file, type: :string)
|
66
|
+
.field(:loaded?)
|
67
|
+
.method(:load)
|
68
|
+
end
|
69
|
+
klass do
|
70
|
+
format
|
71
|
+
.header('Model')
|
72
|
+
.field(:odata, type: :open_struct)
|
73
|
+
.field(:oraw, type: :open_struct)
|
74
|
+
.method(:settings)
|
75
|
+
.method(:table)
|
76
|
+
end
|
77
|
+
klass do
|
78
|
+
format
|
79
|
+
.header('Settings')
|
80
|
+
.field(:parent, type: :object)
|
81
|
+
.field(:key, type: :string)
|
82
|
+
.field(:decorators, type: :array)
|
83
|
+
.field(:block, type: :proc)
|
84
|
+
.field(:context)
|
85
|
+
.field(:internal_data)
|
86
|
+
.method(:fire_eval)
|
87
|
+
end
|
88
|
+
klass do
|
89
|
+
format
|
90
|
+
.header('Table')
|
91
|
+
.field(:parent, type: :object)
|
92
|
+
.field(:key, type: :string)
|
93
|
+
.field(:decorators, type: :array)
|
94
|
+
.field(:block, type: :proc)
|
95
|
+
.field(:context)
|
96
|
+
.field(:internal_data)
|
97
|
+
.method(:fire_eval)
|
98
|
+
end
|
99
|
+
|
100
|
+
square(title: 'Mixins', theme: :style_01)
|
101
|
+
|
102
|
+
interface(theme: :style_02) do
|
103
|
+
format
|
104
|
+
.header('Block Processor', interface_type: 'MixIn', description: 'Provide data load events, dependency and import management')
|
105
|
+
.field(:block, type: :proc)
|
106
|
+
.field(:block_state, type: :symbol)
|
107
|
+
.field(:init_block, type: :proc)
|
108
|
+
.field(:action_block, type: :proc)
|
109
|
+
.field(:children, type: :array)
|
110
|
+
.field(:depend_on_tags, type: :array)
|
111
|
+
.field(:dependents, type: :array)
|
112
|
+
.method(:depend_on)
|
113
|
+
.method(:resolve_dependency)
|
114
|
+
.method(:import)
|
115
|
+
.method(:import_data)
|
116
|
+
.method(:dependencies_met)
|
117
|
+
.method(:execute_block)
|
118
|
+
.method(:block_execute)
|
119
|
+
.method(:new)
|
120
|
+
.method(:evaluated)
|
121
|
+
.method(:initialized)
|
122
|
+
.method(:children_evaluated)
|
123
|
+
.method(:actioned)
|
124
|
+
.method(:fire_eval)
|
125
|
+
.method(:init)
|
126
|
+
.method(:fire_init)
|
127
|
+
.method(:add_child)
|
128
|
+
.method(:fire_children)
|
129
|
+
.method(:action)
|
130
|
+
.method(:fire_action)
|
131
|
+
end
|
132
|
+
interface(theme: :style_02) do
|
133
|
+
format
|
134
|
+
.header('Composable Components', interface_type: 'MixIn')
|
135
|
+
end
|
136
|
+
# # Data acts as a base data object containers
|
137
|
+
# module Datum
|
138
|
+
# def default_data_type
|
139
|
+
# def set_data(value, data_action: :replace)
|
140
|
+
interface(theme: :style_02) do
|
141
|
+
format
|
142
|
+
.header('Datum', interface_type: 'MixIn', description: 'Data acts as a base data object containers')
|
143
|
+
.field(:default_data_type)
|
144
|
+
.method(:set_data)
|
145
|
+
end
|
146
|
+
interface(theme: :style_02) do
|
147
|
+
format
|
148
|
+
.header('Guarded', interface_type: 'MixIn', description: 'Guarded provides parameter warning and guarding')
|
149
|
+
.field(:errors)
|
150
|
+
.field(:error_messages)
|
151
|
+
.field(:error_hash)
|
152
|
+
.field(:valid?)
|
153
|
+
.method(:guard)
|
154
|
+
.method(:warn)
|
155
|
+
end
|
156
|
+
interface(theme: :style_02) do
|
157
|
+
format
|
158
|
+
.header('Taggable', interface_type: 'MixIn', description: 'Provide tagging functionality to the underlying model')
|
159
|
+
.field(:tag_options)
|
160
|
+
.field(:tag)
|
161
|
+
.field(:key)
|
162
|
+
.field(:type)
|
163
|
+
.field(:project)
|
164
|
+
.field(:namespace)
|
165
|
+
end
|
166
|
+
|
167
|
+
square(title: 'Decorators', theme: :style_01)
|
168
|
+
|
169
|
+
klass do
|
170
|
+
format
|
171
|
+
.header('Settings Decorator')
|
172
|
+
end
|
173
|
+
klass do
|
174
|
+
format
|
175
|
+
.header('Table Decorator')
|
176
|
+
.method(:update)
|
177
|
+
.method(:update_fields)
|
178
|
+
.method(:update_rows)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
.cd(:docs)
|
182
|
+
.save('domain.drawio')
|
183
|
+
.export_svg('domain_model', page: 1)
|
184
|
+
|
185
|
+
# TODO: move to project-plan
|
186
|
+
# .save('./domain/domain.drawio')
|
187
|
+
# .export_svg('./domain/domain_model', page: 1)
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
KManager.opts.app_name = 'domain_diagram'
|
192
|
+
KManager.opts.sleep = 2
|
193
|
+
KManager.opts.reboot_on_kill = 0
|
194
|
+
KManager.opts.reboot_sleep = 4
|
195
|
+
KManager.opts.exception_style = :short
|
196
|
+
KManager.opts.show.time_taken = true
|
197
|
+
KManager.opts.show.finished = true
|
198
|
+
KManager.opts.show.finished_message = 'FINISHED :)'
|
@@ -0,0 +1,42 @@
|
|
1
|
+
KManager.action :project_plan do
|
2
|
+
action do
|
3
|
+
DrawioDsl::Drawio
|
4
|
+
.init(k_builder, on_exist: :write, on_action: :execute)
|
5
|
+
.diagram(rounded: 1, glass: 1)
|
6
|
+
.page('In progress', theme: :style_03, margin_left: 0, margin_top: 0) do
|
7
|
+
|
8
|
+
# h5(x: 300, y: 0, w: 400, h: 80, title: 'DrawIO DSL')
|
9
|
+
# p(x: 350, y: 40, w: 400, h: 80, title: 'Project plan - In progress')
|
10
|
+
|
11
|
+
grid_layout(y:90, direction: :horizontal, grid_h: 80, grid_w: 320, wrap_at: 3, grid: 0)
|
12
|
+
|
13
|
+
todo(title: 'create a domain model')
|
14
|
+
end
|
15
|
+
.page('To Do', theme: :style_02, margin_left: 0, margin_top: 0) do
|
16
|
+
|
17
|
+
# h5(x: 300, y: 0, w: 400, h: 80, title: 'DrawIO DSL')
|
18
|
+
# p(x: 350, y: 40, w: 400, h: 80, title: 'Project plan')
|
19
|
+
|
20
|
+
grid_layout(y:90, direction: :horizontal, grid_h: 80, grid_w: 320, wrap_at: 3, grid: 0)
|
21
|
+
|
22
|
+
end
|
23
|
+
.page('Done', theme: :style_06, margin_left: 0, margin_top: 0) do
|
24
|
+
|
25
|
+
# h5(x: 300, y: 0, w: 400, h: 80, title: 'DrawIO DSL')
|
26
|
+
# p(x: 350, y: 40, w: 400, h: 80, title: 'Done')
|
27
|
+
|
28
|
+
grid_layout(y:90, direction: :horizontal, grid_h: 80, grid_w: 320, wrap_at: 3, grid: 0)
|
29
|
+
|
30
|
+
end
|
31
|
+
.cd(:docs)
|
32
|
+
.save('project-plan.drawio')
|
33
|
+
.export_svg('project_in_progress', page: 1)
|
34
|
+
.export_svg('project_todo' , page: 2)
|
35
|
+
.export_svg('project_done' , page: 3)
|
36
|
+
|
37
|
+
# TODO: move to ./project-plan
|
38
|
+
# .save('project-plan/project.drawio')
|
39
|
+
# .export_svg('project-plan/project_in_progress', page: 1)
|
40
|
+
|
41
|
+
end
|
42
|
+
end
|
data/.builders/setup.rb
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
require 'initializers/_'
|
2
|
-
require 'directors/_'
|
1
|
+
# require 'initializers/_'
|
2
|
+
# require 'directors/_'
|
3
3
|
|
4
|
-
klue
|
5
|
-
|
6
|
-
|
4
|
+
# klue
|
5
|
+
# .reset
|
6
|
+
# .register(:design_patterns , DesignPatternDirector)
|
7
7
|
|
8
|
-
klue
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
8
|
+
# klue
|
9
|
+
# .with(:design_patterns) do
|
10
|
+
# composite(
|
11
|
+
# relative_path: 'mixins',
|
12
|
+
# name: :composite_spec,
|
13
|
+
# namespace: 'KDoc',
|
14
|
+
# children_name: :child,
|
15
|
+
# children_name_plural: :children)
|
16
|
+
# end
|
17
17
|
|
18
18
|
puts '...'
|
data/.rubocop.yml
CHANGED
@@ -62,6 +62,10 @@ Metrics/ClassLength:
|
|
62
62
|
Metrics/ModuleLength:
|
63
63
|
Exclude:
|
64
64
|
- "**/spec/**/*"
|
65
|
+
- "lib/k_doc/mixins/block_processor.rb"
|
66
|
+
Naming/MethodParameterName:
|
67
|
+
AllowedNames:
|
68
|
+
- as
|
65
69
|
Naming/MemoizedInstanceVariableName:
|
66
70
|
Enabled: false
|
67
71
|
Naming/VariableNumber:
|
data/README.md
CHANGED
Binary file
|
Binary file
|
@@ -0,0 +1,97 @@
|
|
1
|
+
<mxfile host="65bd71144e">
|
2
|
+
<diagram id="OyH" name="Style-Plain">
|
3
|
+
<mxGraphModel dx="2147" dy="777" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" background="#fafafa" math="0" shadow="0">
|
4
|
+
<root>
|
5
|
+
<mxCell id="page_root_OyH"/>
|
6
|
+
<mxCell id="node_root_OyH" parent="page_root_OyH"/>
|
7
|
+
<mxCell id="1" value="" style="group" parent="node_root_OyH" vertex="1" connectable="0">
|
8
|
+
<mxGeometry x="360" y="703" width="415" height="263" as="geometry"/>
|
9
|
+
</mxCell>
|
10
|
+
<mxCell id="OyH-17" value="Decorators" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;verticalAlign=top;fontSize=30;" parent="1" vertex="1">
|
11
|
+
<mxGeometry width="415" height="263" as="geometry"/>
|
12
|
+
</mxCell>
|
13
|
+
<mxCell id="SpUEBCKOFSfBhqVF4tDH-6" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Settings Decorator</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="1" vertex="1">
|
14
|
+
<mxGeometry x="29" y="69" width="160" height="160" as="geometry"/>
|
15
|
+
</mxCell>
|
16
|
+
<mxCell id="SpUEBCKOFSfBhqVF4tDH-7" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Table Decorator</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">update()</p><p style="margin:0px;margin-left:4px;margin-top:4px">update_fields()</p><p style="margin:0px;margin-left:4px;margin-top:4px">update_rows()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="1" vertex="1">
|
17
|
+
<mxGeometry x="217" y="69" width="160" height="160" as="geometry"/>
|
18
|
+
</mxCell>
|
19
|
+
<mxCell id="15" value="" style="group" parent="node_root_OyH" vertex="1" connectable="0">
|
20
|
+
<mxGeometry x="29" y="655" width="232" height="306" as="geometry"/>
|
21
|
+
</mxCell>
|
22
|
+
<mxCell id="9" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Container</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="15" vertex="1">
|
23
|
+
<mxGeometry width="160" height="306" as="geometry"/>
|
24
|
+
</mxCell>
|
25
|
+
<mxCell id="10" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Block Processor</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="15" vertex="1">
|
26
|
+
<mxGeometry x="72" y="37" width="160" height="52" as="geometry"/>
|
27
|
+
</mxCell>
|
28
|
+
<mxCell id="12" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Datum</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="15" vertex="1">
|
29
|
+
<mxGeometry x="72" y="103" width="160" height="54" as="geometry"/>
|
30
|
+
</mxCell>
|
31
|
+
<mxCell id="13" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Guarded</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="15" vertex="1">
|
32
|
+
<mxGeometry x="72" y="171" width="160" height="54" as="geometry"/>
|
33
|
+
</mxCell>
|
34
|
+
<mxCell id="14" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Taggable</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="15" vertex="1">
|
35
|
+
<mxGeometry x="72" y="239" width="160" height="54" as="geometry"/>
|
36
|
+
</mxCell>
|
37
|
+
<mxCell id="OyH-11" value="Mixins" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;verticalAlign=top;fontSize=30;" parent="node_root_OyH" vertex="1">
|
38
|
+
<mxGeometry x="28" y="997" width="767" height="244" as="geometry"/>
|
39
|
+
</mxCell>
|
40
|
+
<mxCell id="OyH-12" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Block Processor</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">block: proc</p><p style="margin:0px;margin-left:4px;margin-top:4px">block_state: symbol</p><p style="margin:0px;margin-left:4px;margin-top:4px">init_block: proc</p><p style="margin:0px;margin-left:4px;margin-top:4px">action_block: proc</p><p style="margin:0px;margin-left:4px;margin-top:4px">children: array</p><p style="margin:0px;margin-left:4px;margin-top:4px">depend_on_tags: array</p><p style="margin:0px;margin-left:4px;margin-top:4px">dependents: array</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">depend_on()</p><p style="margin:0px;margin-left:4px;margin-top:4px">resolve_dependency()</p><p style="margin:0px;margin-left:4px;margin-top:4px">import()</p><p style="margin:0px;margin-left:4px;margin-top:4px">import_data()</p><p style="margin:0px;margin-left:4px;margin-top:4px">dependencies_met()</p><p style="margin:0px;margin-left:4px;margin-top:4px">execute_block()</p><p style="margin:0px;margin-left:4px;margin-top:4px">block_execute()</p><p style="margin:0px;margin-left:4px;margin-top:4px">new()</p><p style="margin:0px;margin-left:4px;margin-top:4px">evaluated()</p><p style="margin:0px;margin-left:4px;margin-top:4px">initialized()</p><p style="margin:0px;margin-left:4px;margin-top:4px">children_evaluated()</p><p style="margin:0px;margin-left:4px;margin-top:4px">actioned()</p><p style="margin:0px;margin-left:4px;margin-top:4px">fire_eval()</p><p style="margin:0px;margin-left:4px;margin-top:4px">init()</p><p style="margin:0px;margin-left:4px;margin-top:4px">fire_init()</p><p style="margin:0px;margin-left:4px;margin-top:4px">add_child()</p><p style="margin:0px;margin-left:4px;margin-top:4px">fire_children()</p><p style="margin:0px;margin-left:4px;margin-top:4px">action()</p><p style="margin:0px;margin-left:4px;margin-top:4px">fire_action()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
41
|
+
<mxGeometry x="54" y="1053" width="160" height="533" as="geometry"/>
|
42
|
+
</mxCell>
|
43
|
+
<mxCell id="OyH-14" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Datum</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">default_data_type</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">set_data()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
44
|
+
<mxGeometry x="240" y="1053" width="160" height="160" as="geometry"/>
|
45
|
+
</mxCell>
|
46
|
+
<mxCell id="OyH-15" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Guarded</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">errors</p><p style="margin:0px;margin-left:4px;margin-top:4px">error_messages</p><p style="margin:0px;margin-left:4px;margin-top:4px">error_hash</p><p style="margin:0px;margin-left:4px;margin-top:4px">valid?</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">guard()</p><p style="margin:0px;margin-left:4px;margin-top:4px">warn()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
47
|
+
<mxGeometry x="424" y="1053" width="160" height="160" as="geometry"/>
|
48
|
+
</mxCell>
|
49
|
+
<mxCell id="OyH-16" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Taggable</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">tag_options</p><p style="margin:0px;margin-left:4px;margin-top:4px">tag</p><p style="margin:0px;margin-left:4px;margin-top:4px">key</p><p style="margin:0px;margin-left:4px;margin-top:4px">type</p><p style="margin:0px;margin-left:4px;margin-top:4px">project</p><p style="margin:0px;margin-left:4px;margin-top:4px">namespace</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
50
|
+
<mxGeometry x="608" y="1053" width="160" height="160" as="geometry"/>
|
51
|
+
</mxCell>
|
52
|
+
<mxCell id="OyH-2" value="Documents" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;verticalAlign=top;fontSize=30;dashed=1;opacity=10;gradientColor=#ffffff;" parent="node_root_OyH" vertex="1">
|
53
|
+
<mxGeometry x="39" y="105" width="745" height="525" as="geometry"/>
|
54
|
+
</mxCell>
|
55
|
+
<mxCell id="16" style="html=1;exitX=0;exitY=0.75;exitDx=0;exitDy=0;shape=link;fillColor=#f0a30a;strokeColor=#BD7000;elbow=vertical;edgeStyle=orthogonalEdgeStyle;startArrow=none;startFill=0;strokeWidth=1;shadow=0;rounded=1;sketch=1;" edge="1" parent="node_root_OyH" source="OyH-4" target="OyH-6">
|
56
|
+
<mxGeometry relative="1" as="geometry"/>
|
57
|
+
</mxCell>
|
58
|
+
<mxCell id="18" style="shape=link;rounded=1;sketch=1;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;shadow=0;labelBackgroundColor=default;fontFamily=Helvetica;fontSize=11;fontColor=default;startArrow=none;startFill=0;endArrow=classic;strokeColor=#BD7000;strokeWidth=1;fillColor=#f0a30a;elbow=vertical;edgeStyle=orthogonalEdgeStyle;curved=1;" edge="1" parent="node_root_OyH" source="OyH-4" target="OyH-8">
|
59
|
+
<mxGeometry relative="1" as="geometry"/>
|
60
|
+
</mxCell>
|
61
|
+
<mxCell id="21" style="edgeStyle=orthogonalEdgeStyle;shape=link;curved=1;rounded=1;sketch=1;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;shadow=0;labelBackgroundColor=default;fontFamily=Helvetica;fontSize=11;fontColor=default;startArrow=none;startFill=0;endArrow=classic;strokeColor=#BD7000;strokeWidth=1;fillColor=#f0a30a;elbow=vertical;" edge="1" parent="node_root_OyH" source="OyH-4" target="OyH-3">
|
62
|
+
<mxGeometry relative="1" as="geometry"/>
|
63
|
+
</mxCell>
|
64
|
+
<mxCell id="OyH-4" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Container</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">context: open_struct</p><p style="margin:0px;margin-left:4px;margin-top:4px">owner: object</p><p style="margin:0px;margin-left:4px;margin-top:4px">default_container_type</p><p style="margin:0px;margin-left:4px;margin-top:4px">default_data_type</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
65
|
+
<mxGeometry x="306" y="193" width="160" height="160" as="geometry"/>
|
66
|
+
</mxCell>
|
67
|
+
<mxCell id="OyH-6" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>JSON Doc</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">file: string</p><p style="margin:0px;margin-left:4px;margin-top:4px">loaded?</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">load()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
68
|
+
<mxGeometry x="74" y="365" width="160" height="97" as="geometry"/>
|
69
|
+
</mxCell>
|
70
|
+
<mxCell id="19" style="edgeStyle=orthogonalEdgeStyle;shape=link;curved=1;rounded=1;sketch=1;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;shadow=0;labelBackgroundColor=default;fontFamily=Helvetica;fontSize=11;fontColor=default;startArrow=none;startFill=0;endArrow=classic;strokeColor=#BD7000;strokeWidth=1;fillColor=#f0a30a;elbow=vertical;" edge="1" parent="node_root_OyH" source="OyH-8" target="OyH-9">
|
71
|
+
<mxGeometry relative="1" as="geometry"/>
|
72
|
+
</mxCell>
|
73
|
+
<mxCell id="20" style="edgeStyle=orthogonalEdgeStyle;shape=link;curved=1;rounded=1;sketch=1;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;shadow=0;labelBackgroundColor=default;fontFamily=Helvetica;fontSize=11;fontColor=default;startArrow=none;startFill=0;endArrow=classic;strokeColor=#BD7000;strokeWidth=1;fillColor=#f0a30a;elbow=vertical;" edge="1" parent="node_root_OyH" source="OyH-8" target="OyH-10">
|
74
|
+
<mxGeometry relative="1" as="geometry"/>
|
75
|
+
</mxCell>
|
76
|
+
<mxCell id="OyH-8" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Model</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">odata: open_struct</p><p style="margin:0px;margin-left:4px;margin-top:4px">oraw: open_struct</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">settings()</p><p style="margin:0px;margin-left:4px;margin-top:4px">table()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
77
|
+
<mxGeometry x="523" y="193" width="160" height="160" as="geometry"/>
|
78
|
+
</mxCell>
|
79
|
+
<mxCell id="OyH-9" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Settings</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">parent: object</p><p style="margin:0px;margin-left:4px;margin-top:4px">key: string</p><p style="margin:0px;margin-left:4px;margin-top:4px">decorators: array</p><p style="margin:0px;margin-left:4px;margin-top:4px">block: proc</p><p style="margin:0px;margin-left:4px;margin-top:4px">context</p><p style="margin:0px;margin-left:4px;margin-top:4px">internal_data</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">fire_eval()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
80
|
+
<mxGeometry x="433" y="420" width="160" height="170" as="geometry"/>
|
81
|
+
</mxCell>
|
82
|
+
<mxCell id="OyH-10" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Table</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">parent: object</p><p style="margin:0px;margin-left:4px;margin-top:4px">key: string</p><p style="margin:0px;margin-left:4px;margin-top:4px">decorators: array</p><p style="margin:0px;margin-left:4px;margin-top:4px">block: proc</p><p style="margin:0px;margin-left:4px;margin-top:4px">context</p><p style="margin:0px;margin-left:4px;margin-top:4px">internal_data</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">fire_eval()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
83
|
+
<mxGeometry x="611" y="420" width="160" height="170" as="geometry"/>
|
84
|
+
</mxCell>
|
85
|
+
<mxCell id="OyH-5" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>CSV Doc</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">file: string</p><p style="margin:0px;margin-left:4px;margin-top:4px">loaded?</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">load()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
86
|
+
<mxGeometry x="142" y="403" width="160" height="99" as="geometry"/>
|
87
|
+
</mxCell>
|
88
|
+
<mxCell id="OyH-7" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>YAML Doc</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">file: string</p><p style="margin:0px;margin-left:4px;margin-top:4px">loaded?</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">load()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
89
|
+
<mxGeometry x="208" y="442" width="160" height="99" as="geometry"/>
|
90
|
+
</mxCell>
|
91
|
+
<mxCell id="OyH-3" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Action</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" parent="node_root_OyH" vertex="1">
|
92
|
+
<mxGeometry x="74" y="190" width="160" height="56" as="geometry"/>
|
93
|
+
</mxCell>
|
94
|
+
</root>
|
95
|
+
</mxGraphModel>
|
96
|
+
</diagram>
|
97
|
+
</mxfile>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="768px" height="1140px" viewBox="-0.5 -0.5 768 1140" content="<mxfile><diagram id="OyH" name="Style-Plain">7V1Zc+I4EP41VO0+pMoHGHjkmCR7zM5WMTtb++QStmy0sS2PLAbYX7+SLQGOHfBMAMmJw0Nw+1Cr1f11q9UyPXsWbx8ISFcfsQ+jnmX4254971mWZVsj9o9TdgXFNPtWQQkJ8guacSAs0H9QXCipa+TDTNAKEsU4oigtEz2cJNCjJRogBG/KlwU48kuEFISwQlh4IKpS/0Y+XcluOOPDiUeIwpVoemQNixNL4D2FBK8T0V7PsgPAP8XpGMhniY5mK+DjzRHJ/tCzZwRjWnyLtzMYceFKsfGWXX7e/bR7zJ9x/8KVCRuW8pWMbQIT+r0Psoubv4FoDWWvct7pTsqLdzkVl0FC4bZulMBSXm5U2alwK3h5gDiGlOzY5VK9hHIJ3RqPheg3h4EaOoK2Ohojq98XCiKUI9w/+tB59kX0v14WjLk706wI5CPaoiSriGWzQhQuUuDx4w2zlZ49XdGYPXxusq+5nkD+ZIMdBSiKZjjCJL/XDgb8w+gZJfgJHp1x8j9+B07oEb34Y3Q+BIgp8yRCYcLOUZyKq4Wl2by96hjYL4xgdShuJ2urRvmciDUzTUuydr6uuc1MY0BCxDo9MdLt/vAuggE7Oekf03KpCBLrL70DhbgmHhMIJIdHsm+h+J83jI4IIOaijeqODKYUvyQ9ruziRPmm0jOZLNDzdhgtfU5T1umlJEwj7D0xLv4k2INZhskRu8smXVgR3gcJ+bI987jp++t1u9LBZd4fe8JtgXXpNsKv58LNKKCw4CXbxUscKeIGJYi6eggGeBThRBNmvBWKfIaXBSMs0AA7RZz4MIWJ7zLJUBBmuvDDMKQpL5qhwF6eP/2sSIIEZjj6Bl0pSW+njBUUp5hQxc27PqBAGQ/7UUAwc1nkoowRuIXemsICAJVxUbgnwYsyLhK4UTcOPAJl3tlXZxbMKSMWrv2nkAfpAF314igCA4UMBIjAXA5KNUJt95VyAHzfzRVSrQykTSi2BLVCOM3DBdMiPoCjwOvVpUW8EVwGvZfTImKqOy/6N8XfIAmiPPnG2+iVMiSmJY7vQYwinmp6hCw642mV1+RNZArLKaWwBk4lg2U6RjWrsie+OqvS77Iq17GOH82qzAFdx0cstjGT4sMArKMicHfpLoUt4j2DpyccHYI9QzCZmFUGYYMOwvSCsIc1IFzp2w1ikBBMMkWhVN64G8MsAyFUy8QKZCtFDDCT5pZ+3yKtCbnuK4vAN4B0oXdDx2WPVcfeTue49HJcn0EY5rUJ7fZcFIQuTvk0XJXnYBwoavkJqlr4OjfPuWLTKcH/8uInRcl4wOKU3JF0fqeB3xmMDHV+p1qwpLSCy3bKshgadkUYfTnBK5UVOfaFnPCwIpE59DABNA/+213GZb4wjCfLuK4n70X614fp7LdP94tguvr65b5P5493GgZBe5+/gJSiJGR6YOyV4rqxwSX1LYCOVwuW/nC8NAwVYNlcIWV2aVzCB1l1exOsrFXXKlzoo66fi9j1Vrp69cBinfpAYZFB0bwbIBj5mWoueCX7DWb2bwM0pFNXgRojvSIsyY/cf2FYFVkM+zUOf2ANLhNgVcu259hbx3mBYMvDq9ELY3i6Sv6q0tZwOXfveWZMoAAlsO1uiRkoF0AvL2/FKUxcpnJrZdNvvOEiLZhZKkwDyEVfTw7z2ZVf9SvQb9xzNgeofTlK2XOORjf0nBy/dJ4N/rr49AePrkubDtoIYEyrYAEYTFfZ/FaRjUYY5NbUpuU9zvM7DcO/G0zsQQlLLIkR58BEbuN8LZbUReK6YInYKd1qGMHcuWoTBRGw+S5eNBNmJlKNyvIM+YSzg7Zm0NYfWeVptdUQ2y4WKI01BrdD2rzV+CY1RPnMiq9pqw/X/MOymPJNpppsAhaJADWtI26NCYjyOW6LzOrsbqnO2TwvVOuXnI0tF2jPOpvhpSrVDI29zec3ULHVuZrO1XSupnM1ql3NYGgpdjUabubZO5TZ4kuX/+3yvx2YNAMTUxZzygTwuOFq0nh8GSzRuVbrn8nH3zsw6cCkA5OGYOKUK0Ftu/qyz6uCSd27T3UBk0n+zo3rAkmnkCdXN0cNA2W52+NVmzjqgmSVNYbPirQHVVlYtlWVhW1cQBg6L4TcqOLtDZpmjc6WSoIH9Qp5zvouonE6ZkPf977dG7+J+IL2psuOxh+0N3HH86xRw9BsYF3AGK3OGPUyxhu8wKozwNMGaNZso623wAu8nN/UcGb0vi3wJu9f6mzwjA0OzRvaoIb7ft63Dd7mVTKdEZ42QstuuPXzB4yQHR5+nSk/93D4DSz7w/8=</diagram></mxfile>" style="background-color: rgb(250, 250, 250);"><defs/><g><rect x="0" y="895" width="767" height="244" fill="#f5f5f5" stroke="#666666" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 765px; height: 1px; padding-top: 902px; margin-left: 1px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 30px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;">Mixins</div></div></div></foreignObject><text x="384" y="932" fill="#333333" font-family="Helvetica" font-size="30px" text-anchor="middle">Mixins</text></switch></g><rect x="26" y="951" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 951px; margin-left: 26px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Block Processor</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">block: proc</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">block_state: symbol</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">init_block: proc</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">action_block: proc</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">children: array</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">depend_on_tags: array</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">dependents: array</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">depend_on()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">resolve_dependency()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">import()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">import_data()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">dependencies_met()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">execute_block()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">block_execute()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">new()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">evaluated()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">initialized()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">children_evaluated()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">actioned()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_eval()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">init()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_init()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">add_child()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_children()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">action()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_action()</p></div></div></div></foreignObject><text x="26" y="1035" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="212" y="951" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 951px; margin-left: 212px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Datum</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">default_data_type</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">set_data()</p></div></div></div></foreignObject><text x="212" y="1035" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="396" y="951" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 951px; margin-left: 396px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Guarded</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">errors</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">error_messages</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">error_hash</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">valid?</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">guard()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">warn()</p></div></div></div></foreignObject><text x="396" y="1035" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="580" y="951" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 951px; margin-left: 580px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Taggable</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">tag_options</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">tag</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">key</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">type</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">project</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">namespace</p></div></div></div></foreignObject><text x="580" y="1035" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="332" y="601" width="415" height="263" fill="#f5f5f5" stroke="#666666" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 413px; height: 1px; padding-top: 608px; margin-left: 333px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 30px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;">Decorators</div></div></div></foreignObject><text x="540" y="638" fill="#333333" font-family="Helvetica" font-size="30px" text-anchor="middle">Decorators</text></switch></g><rect x="361" y="670" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 670px; margin-left: 361px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Settings Decorator</b></p><hr size="1" /></div></div></div></foreignObject><text x="361" y="754" fill="#333333" font-family="Helvetica" font-size="12px">Settings Decorator</text></switch></g><rect x="549" y="670" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 670px; margin-left: 549px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Table Decorator</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">update()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">update_fields()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">update_rows()</p></div></div></div></foreignObject><text x="549" y="754" fill="#333333" font-family="Helvetica" font-size="12px">Table Decorator...</text></switch></g><rect x="0" y="0" width="745" height="525" fill="#f5f5f5" stroke="#666666" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 743px; height: 1px; padding-top: 7px; margin-left: 1px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 30px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;">Documents</div></div></div></foreignObject><text x="373" y="37" fill="#333333" font-family="Helvetica" font-size="30px" text-anchor="middle">Documents</text></switch></g><rect x="267" y="88" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 88px; margin-left: 267px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Container</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">context: open_struct</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">owner: object</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">default_container_type</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">default_data_type</p></div></div></div></foreignObject><text x="267" y="172" fill="#333333" font-family="Helvetica" font-size="12px">Container...</text></switch></g><rect x="35" y="260" width="160" height="97" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 97px; padding-top: 260px; margin-left: 35px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 97px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>JSON Doc</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">file: string</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">loaded?</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">load()</p></div></div></div></foreignObject><text x="35" y="312" fill="#333333" font-family="Helvetica" font-size="12px">JSON Doc...</text></switch></g><rect x="482" y="120" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 120px; margin-left: 482px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Model</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">odata: open_struct</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">oraw: open_struct</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">settings()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">table()</p></div></div></div></foreignObject><text x="482" y="204" fill="#333333" font-family="Helvetica" font-size="12px">Model...</text></switch></g><rect x="394" y="315" width="160" height="170" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 170px; padding-top: 315px; margin-left: 394px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 170px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Settings</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">parent: object</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">key: string</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">decorators: array</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">block: proc</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">context</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">internal_data</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_eval()</p></div></div></div></foreignObject><text x="394" y="404" fill="#333333" font-family="Helvetica" font-size="12px">Settings...</text></switch></g><rect x="572" y="315" width="160" height="170" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 170px; padding-top: 315px; margin-left: 572px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 170px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Table</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">parent: object</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">key: string</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">decorators: array</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">block: proc</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">context</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">internal_data</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_eval()</p></div></div></div></foreignObject><text x="572" y="404" fill="#333333" font-family="Helvetica" font-size="12px">Table...</text></switch></g><rect x="103" y="298" width="160" height="99" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 99px; padding-top: 298px; margin-left: 103px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 99px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>CSV Doc</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">file: string</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">loaded?</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">load()</p></div></div></div></foreignObject><text x="103" y="351" fill="#333333" font-family="Helvetica" font-size="12px">CSV Doc...</text></switch></g><rect x="169" y="337" width="160" height="99" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 99px; padding-top: 337px; margin-left: 169px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 99px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>YAML Doc</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">file: string</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">loaded?</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">load()</p></div></div></div></foreignObject><text x="169" y="390" fill="#333333" font-family="Helvetica" font-size="12px">YAML Doc...</text></switch></g><rect x="35" y="85" width="160" height="56" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 56px; padding-top: 85px; margin-left: 35px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 56px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Action</b></p><hr size="1" /></div></div></div></foreignObject><text x="35" y="117" fill="#333333" font-family="Helvetica" font-size="12px">Action</text></switch></g><rect x="1" y="553" width="160" height="306" fill="#ffe6cc" stroke="#d79b00" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 306px; padding-top: 553px; margin-left: 1px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 306px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Container</b></p><hr size="1" /></div></div></div></foreignObject><text x="1" y="710" fill="#333333" font-family="Helvetica" font-size="12px">Container</text></switch></g><rect x="73" y="590" width="160" height="52" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 52px; padding-top: 590px; margin-left: 73px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 52px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Block Processor</b></p><hr size="1" /></div></div></div></foreignObject><text x="73" y="620" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="73" y="656" width="160" height="54" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 54px; padding-top: 656px; margin-left: 73px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 54px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Datum</b></p><hr size="1" /></div></div></div></foreignObject><text x="73" y="687" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="73" y="724" width="160" height="54" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 54px; padding-top: 724px; margin-left: 73px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 54px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Guarded</b></p><hr size="1" /></div></div></div></foreignObject><text x="73" y="755" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="73" y="792" width="160" height="54" fill="#dae8fc" stroke="#6c8ebf" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 54px; padding-top: 792px; margin-left: 73px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 54px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: none; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Taggable</b></p><hr size="1" /></div></div></div></foreignObject><text x="73" y="823" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Viewer does not support full SVG 1.1</text></a></switch></svg>
|
data/docs/domain.drawio
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
<mxfile host="UKo">
|
2
|
+
<diagram id="JX8" name="Style-Plain">
|
3
|
+
<mxGraphModel dx="0" dy="0" background="#fafafa" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
|
4
|
+
<root>
|
5
|
+
<mxCell id="page_root_JX8" parent="JX8"/>
|
6
|
+
<mxCell id="node_root_JX8" parent="page_root_JX8"/>
|
7
|
+
<mxCell id="JX8-2" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Container</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
8
|
+
<mxGeometry x="30" y="30" width="160" height="160" as="geometry"/>
|
9
|
+
</mxCell>
|
10
|
+
<mxCell id="JX8-3" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Block Processor</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
11
|
+
<mxGeometry x="250" y="30" width="160" height="160" as="geometry"/>
|
12
|
+
</mxCell>
|
13
|
+
<mxCell id="JX8-4" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Composable Components</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
14
|
+
<mxGeometry x="470" y="30" width="160" height="160" as="geometry"/>
|
15
|
+
</mxCell>
|
16
|
+
<mxCell id="JX8-5" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Datum</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
17
|
+
<mxGeometry x="690" y="30" width="160" height="160" as="geometry"/>
|
18
|
+
</mxCell>
|
19
|
+
<mxCell id="JX8-6" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Guarded</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
20
|
+
<mxGeometry x="910" y="30" width="160" height="160" as="geometry"/>
|
21
|
+
</mxCell>
|
22
|
+
<mxCell id="JX8-7" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Taggable</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
23
|
+
<mxGeometry x="1130" y="30" width="160" height="160" as="geometry"/>
|
24
|
+
</mxCell>
|
25
|
+
<mxCell id="JX8-8" value="Documents" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333" vertex="1" parent="node_root_JX8">
|
26
|
+
<mxGeometry x="30" y="250" width="160" height="160" as="geometry"/>
|
27
|
+
</mxCell>
|
28
|
+
<mxCell id="JX8-9" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Action</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
29
|
+
<mxGeometry x="250" y="250" width="160" height="160" as="geometry"/>
|
30
|
+
</mxCell>
|
31
|
+
<mxCell id="JX8-10" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Container</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">context: open_struct</p><p style="margin:0px;margin-left:4px;margin-top:4px">owner: object</p><p style="margin:0px;margin-left:4px;margin-top:4px">default_container_type</p><p style="margin:0px;margin-left:4px;margin-top:4px">default_data_type</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
32
|
+
<mxGeometry x="470" y="250" width="160" height="160" as="geometry"/>
|
33
|
+
</mxCell>
|
34
|
+
<mxCell id="JX8-11" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>CSV Doc</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">file: string</p><p style="margin:0px;margin-left:4px;margin-top:4px">loaded?</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">load()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
35
|
+
<mxGeometry x="690" y="250" width="160" height="160" as="geometry"/>
|
36
|
+
</mxCell>
|
37
|
+
<mxCell id="JX8-12" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>JSON Doc</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">file: string</p><p style="margin:0px;margin-left:4px;margin-top:4px">loaded?</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">load()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
38
|
+
<mxGeometry x="910" y="250" width="160" height="160" as="geometry"/>
|
39
|
+
</mxCell>
|
40
|
+
<mxCell id="JX8-13" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>YAML Doc</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">file: string</p><p style="margin:0px;margin-left:4px;margin-top:4px">loaded?</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">load()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
41
|
+
<mxGeometry x="1130" y="250" width="160" height="160" as="geometry"/>
|
42
|
+
</mxCell>
|
43
|
+
<mxCell id="JX8-14" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Model</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">odata: open_struct</p><p style="margin:0px;margin-left:4px;margin-top:4px">oraw: open_struct</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">settings()</p><p style="margin:0px;margin-left:4px;margin-top:4px">table()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
44
|
+
<mxGeometry x="30" y="470" width="160" height="160" as="geometry"/>
|
45
|
+
</mxCell>
|
46
|
+
<mxCell id="JX8-15" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Settings</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">parent: object</p><p style="margin:0px;margin-left:4px;margin-top:4px">key: string</p><p style="margin:0px;margin-left:4px;margin-top:4px">decorators: array</p><p style="margin:0px;margin-left:4px;margin-top:4px">block: proc</p><p style="margin:0px;margin-left:4px;margin-top:4px">context</p><p style="margin:0px;margin-left:4px;margin-top:4px">internal_data</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">fire_eval()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
47
|
+
<mxGeometry x="250" y="470" width="160" height="160" as="geometry"/>
|
48
|
+
</mxCell>
|
49
|
+
<mxCell id="JX8-16" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Table</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">parent: object</p><p style="margin:0px;margin-left:4px;margin-top:4px">key: string</p><p style="margin:0px;margin-left:4px;margin-top:4px">decorators: array</p><p style="margin:0px;margin-left:4px;margin-top:4px">block: proc</p><p style="margin:0px;margin-left:4px;margin-top:4px">context</p><p style="margin:0px;margin-left:4px;margin-top:4px">internal_data</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">fire_eval()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
50
|
+
<mxGeometry x="470" y="470" width="160" height="160" as="geometry"/>
|
51
|
+
</mxCell>
|
52
|
+
<mxCell id="JX8-17" value="Mixins" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333" vertex="1" parent="node_root_JX8">
|
53
|
+
<mxGeometry x="690" y="470" width="160" height="160" as="geometry"/>
|
54
|
+
</mxCell>
|
55
|
+
<mxCell id="JX8-18" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Block Processor</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">block: proc</p><p style="margin:0px;margin-left:4px;margin-top:4px">block_state: symbol</p><p style="margin:0px;margin-left:4px;margin-top:4px">init_block: proc</p><p style="margin:0px;margin-left:4px;margin-top:4px">action_block: proc</p><p style="margin:0px;margin-left:4px;margin-top:4px">children: array</p><p style="margin:0px;margin-left:4px;margin-top:4px">depend_on_tags: array</p><p style="margin:0px;margin-left:4px;margin-top:4px">dependents: array</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">depend_on()</p><p style="margin:0px;margin-left:4px;margin-top:4px">resolve_dependency()</p><p style="margin:0px;margin-left:4px;margin-top:4px">import()</p><p style="margin:0px;margin-left:4px;margin-top:4px">import_data()</p><p style="margin:0px;margin-left:4px;margin-top:4px">dependencies_met()</p><p style="margin:0px;margin-left:4px;margin-top:4px">execute_block()</p><p style="margin:0px;margin-left:4px;margin-top:4px">block_execute()</p><p style="margin:0px;margin-left:4px;margin-top:4px">new()</p><p style="margin:0px;margin-left:4px;margin-top:4px">evaluated()</p><p style="margin:0px;margin-left:4px;margin-top:4px">initialized()</p><p style="margin:0px;margin-left:4px;margin-top:4px">children_evaluated()</p><p style="margin:0px;margin-left:4px;margin-top:4px">actioned()</p><p style="margin:0px;margin-left:4px;margin-top:4px">fire_eval()</p><p style="margin:0px;margin-left:4px;margin-top:4px">init()</p><p style="margin:0px;margin-left:4px;margin-top:4px">fire_init()</p><p style="margin:0px;margin-left:4px;margin-top:4px">add_child()</p><p style="margin:0px;margin-left:4px;margin-top:4px">fire_children()</p><p style="margin:0px;margin-left:4px;margin-top:4px">action()</p><p style="margin:0px;margin-left:4px;margin-top:4px">fire_action()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
56
|
+
<mxGeometry x="910" y="470" width="160" height="160" as="geometry"/>
|
57
|
+
</mxCell>
|
58
|
+
<mxCell id="JX8-19" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Composable Components</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
59
|
+
<mxGeometry x="1130" y="470" width="160" height="160" as="geometry"/>
|
60
|
+
</mxCell>
|
61
|
+
<mxCell id="JX8-20" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Datum</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">default_data_type</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">set_data()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
62
|
+
<mxGeometry x="30" y="690" width="160" height="160" as="geometry"/>
|
63
|
+
</mxCell>
|
64
|
+
<mxCell id="JX8-21" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Guarded</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">errors</p><p style="margin:0px;margin-left:4px;margin-top:4px">error_messages</p><p style="margin:0px;margin-left:4px;margin-top:4px">error_hash</p><p style="margin:0px;margin-left:4px;margin-top:4px">valid?</p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">guard()</p><p style="margin:0px;margin-left:4px;margin-top:4px">warn()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
65
|
+
<mxGeometry x="250" y="690" width="160" height="160" as="geometry"/>
|
66
|
+
</mxCell>
|
67
|
+
<mxCell id="JX8-22" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><i>&lt;&lt; MixIn &gt;&gt;</i></p><p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Taggable</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">tag_options</p><p style="margin:0px;margin-left:4px;margin-top:4px">tag</p><p style="margin:0px;margin-left:4px;margin-top:4px">key</p><p style="margin:0px;margin-left:4px;margin-top:4px">type</p><p style="margin:0px;margin-left:4px;margin-top:4px">project</p><p style="margin:0px;margin-left:4px;margin-top:4px">namespace</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#dae8fc;strokeColor=#6c8ebf;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
68
|
+
<mxGeometry x="470" y="690" width="160" height="160" as="geometry"/>
|
69
|
+
</mxCell>
|
70
|
+
<mxCell id="JX8-23" value="Decorators" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333" vertex="1" parent="node_root_JX8">
|
71
|
+
<mxGeometry x="690" y="690" width="160" height="160" as="geometry"/>
|
72
|
+
</mxCell>
|
73
|
+
<mxCell id="JX8-24" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Settings Decorator</b></p><hr size="1"/>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
74
|
+
<mxGeometry x="910" y="690" width="160" height="160" as="geometry"/>
|
75
|
+
</mxCell>
|
76
|
+
<mxCell id="JX8-25" value="<p style="margin:0px;margin-left:4px;margin-top:4px;text-align:center"><b>Table Decorator</b></p><hr size="1"/><p style="margin:0px;margin-left:4px;margin-top:4px">update()</p><p style="margin:0px;margin-left:4px;margin-top:4px">update_fields()</p><p style="margin:0px;margin-left:4px;margin-top:4px">update_rows()</p>" style="whiteSpace=wrap;html=1;rounded=0;fillColor=#ffe6cc;strokeColor=#d79b00;fontColor=#333333;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica" vertex="1" parent="node_root_JX8">
|
77
|
+
<mxGeometry x="1130" y="690" width="160" height="160" as="geometry"/>
|
78
|
+
</mxCell>
|
79
|
+
</root>
|
80
|
+
</mxGraphModel>
|
81
|
+
</diagram>
|
82
|
+
</mxfile>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1262px" height="822px" viewBox="-0.5 -0.5 1262 822"><defs/><g><rect x="0" y="0" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 0px; margin-left: 0px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Container</b></p><hr size="1" /></div></div></div></foreignObject><text x="0" y="84" fill="#333333" font-family="Helvetica" font-size="12px">Container</text></switch></g><rect x="220" y="0" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 0px; margin-left: 220px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Block Processor</b></p><hr size="1" /></div></div></div></foreignObject><text x="220" y="84" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="440" y="0" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 0px; margin-left: 440px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Composable Components</b></p><hr size="1" /></div></div></div></foreignObject><text x="440" y="84" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="660" y="0" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 0px; margin-left: 660px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Datum</b></p><hr size="1" /></div></div></div></foreignObject><text x="660" y="84" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="880" y="0" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 0px; margin-left: 880px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Guarded</b></p><hr size="1" /></div></div></div></foreignObject><text x="880" y="84" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="1100" y="0" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 0px; margin-left: 1100px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Taggable</b></p><hr size="1" /></div></div></div></foreignObject><text x="1100" y="84" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="0" y="220" width="160" height="160" fill="#f5f5f5" stroke="#666666" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 300px; margin-left: 1px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Documents</div></div></div></foreignObject><text x="80" y="304" fill="#333333" font-family="Helvetica" font-size="12px" text-anchor="middle">Documents</text></switch></g><rect x="220" y="220" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 220px; margin-left: 220px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Action</b></p><hr size="1" /></div></div></div></foreignObject><text x="220" y="304" fill="#333333" font-family="Helvetica" font-size="12px">Action</text></switch></g><rect x="440" y="220" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 220px; margin-left: 440px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Container</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">context: open_struct</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">owner: object</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">default_container_type</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">default_data_type</p></div></div></div></foreignObject><text x="440" y="304" fill="#333333" font-family="Helvetica" font-size="12px">Container...</text></switch></g><rect x="660" y="220" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 220px; margin-left: 660px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>CSV Doc</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">file: string</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">loaded?</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">load()</p></div></div></div></foreignObject><text x="660" y="304" fill="#333333" font-family="Helvetica" font-size="12px">CSV Doc...</text></switch></g><rect x="880" y="220" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 220px; margin-left: 880px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>JSON Doc</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">file: string</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">loaded?</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">load()</p></div></div></div></foreignObject><text x="880" y="304" fill="#333333" font-family="Helvetica" font-size="12px">JSON Doc...</text></switch></g><rect x="1100" y="220" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 220px; margin-left: 1100px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>YAML Doc</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">file: string</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">loaded?</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">load()</p></div></div></div></foreignObject><text x="1100" y="304" fill="#333333" font-family="Helvetica" font-size="12px">YAML Doc...</text></switch></g><rect x="0" y="440" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 440px; margin-left: 0px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Model</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">odata: open_struct</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">oraw: open_struct</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">settings()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">table()</p></div></div></div></foreignObject><text x="0" y="524" fill="#333333" font-family="Helvetica" font-size="12px">Model...</text></switch></g><rect x="220" y="440" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 440px; margin-left: 220px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Settings</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">parent: object</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">key: string</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">decorators: array</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">block: proc</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">context</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">internal_data</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_eval()</p></div></div></div></foreignObject><text x="220" y="524" fill="#333333" font-family="Helvetica" font-size="12px">Settings...</text></switch></g><rect x="440" y="440" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 440px; margin-left: 440px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Table</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">parent: object</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">key: string</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">decorators: array</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">block: proc</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">context</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">internal_data</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_eval()</p></div></div></div></foreignObject><text x="440" y="524" fill="#333333" font-family="Helvetica" font-size="12px">Table...</text></switch></g><rect x="660" y="440" width="160" height="160" fill="#f5f5f5" stroke="#666666" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 520px; margin-left: 661px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Mixins</div></div></div></foreignObject><text x="740" y="524" fill="#333333" font-family="Helvetica" font-size="12px" text-anchor="middle">Mixins</text></switch></g><rect x="880" y="440" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 440px; margin-left: 880px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Block Processor</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">block: proc</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">block_state: symbol</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">init_block: proc</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">action_block: proc</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">children: array</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">depend_on_tags: array</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">dependents: array</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">depend_on()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">resolve_dependency()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">import()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">import_data()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">dependencies_met()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">execute_block()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">block_execute()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">new()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">evaluated()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">initialized()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">children_evaluated()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">actioned()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_eval()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">init()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_init()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">add_child()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_children()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">action()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">fire_action()</p></div></div></div></foreignObject><text x="880" y="524" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="1100" y="440" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 440px; margin-left: 1100px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Composable Components</b></p><hr size="1" /></div></div></div></foreignObject><text x="1100" y="524" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="0" y="660" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 660px; margin-left: 0px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Datum</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">default_data_type</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">set_data()</p></div></div></div></foreignObject><text x="0" y="744" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="220" y="660" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 660px; margin-left: 220px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Guarded</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">errors</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">error_messages</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">error_hash</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">valid?</p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">guard()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">warn()</p></div></div></div></foreignObject><text x="220" y="744" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="440" y="660" width="160" height="160" fill="#dae8fc" stroke="#6c8ebf" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 660px; margin-left: 440px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><i><< MixIn >></i></p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Taggable</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">tag_options</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">tag</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">key</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">type</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">project</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">namespace</p></div></div></div></foreignObject><text x="440" y="744" fill="#333333" font-family="Helvetica" font-size="12px"><< MixIn >>...</text></switch></g><rect x="660" y="660" width="160" height="160" fill="#f5f5f5" stroke="#666666" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 740px; margin-left: 661px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Decorators</div></div></div></foreignObject><text x="740" y="744" fill="#333333" font-family="Helvetica" font-size="12px" text-anchor="middle">Decorators</text></switch></g><rect x="880" y="660" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 660px; margin-left: 880px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Settings Decorator</b></p><hr size="1" /></div></div></div></foreignObject><text x="880" y="744" fill="#333333" font-family="Helvetica" font-size="12px">Settings Decorator</text></switch></g><rect x="1100" y="660" width="160" height="160" fill="#ffe6cc" stroke="#d79b00" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 162px; height: 160px; padding-top: 660px; margin-left: 1100px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: left; width: 160px; height: 160px; overflow: hidden;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; width: 100%; height: 100%; white-space: normal; overflow-wrap: normal;"><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px ; text-align: center"><b>Table Decorator</b></p><hr size="1" /><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">update()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">update_fields()</p><p style="margin: 0px ; margin-left: 4px ; margin-top: 4px">update_rows()</p></div></div></div></foreignObject><text x="1100" y="744" fill="#333333" font-family="Helvetica" font-size="12px">Table Decorator...</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
<mxfile host="KVw">
|
2
|
+
<diagram id="CJG" name="In progress">
|
3
|
+
<mxGraphModel dx="0" dy="0" background="#FFFACD" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
|
4
|
+
<root>
|
5
|
+
<mxCell id="page_root_CJG" parent="CJG"/>
|
6
|
+
<mxCell id="node_root_CJG" parent="page_root_CJG"/>
|
7
|
+
<mxCell id="CJG-2" value="create a domain model" style="whiteSpace=wrap;html=1;rounded=1;glass=1;fillColor=#d5e8d4;strokeColor=#82b366;fontColor=#333333" vertex="1" parent="node_root_CJG">
|
8
|
+
<mxGeometry x="10" y="10" width="300" height="60" as="geometry"/>
|
9
|
+
</mxCell>
|
10
|
+
</root>
|
11
|
+
</mxGraphModel>
|
12
|
+
</diagram>
|
13
|
+
<diagram id="O1V" name="To Do">
|
14
|
+
<mxGraphModel dx="0" dy="0" background="#FFFACD" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
|
15
|
+
<root>
|
16
|
+
<mxCell id="page_root_O1V" parent="O1V"/>
|
17
|
+
<mxCell id="node_root_O1V" parent="page_root_O1V"/>
|
18
|
+
</root>
|
19
|
+
</mxGraphModel>
|
20
|
+
</diagram>
|
21
|
+
<diagram id="EnY" name="Done">
|
22
|
+
<mxGraphModel dx="0" dy="0" background="#FFFACD" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
|
23
|
+
<root>
|
24
|
+
<mxCell id="page_root_EnY" parent="EnY"/>
|
25
|
+
<mxCell id="node_root_EnY" parent="page_root_EnY"/>
|
26
|
+
</root>
|
27
|
+
</mxGraphModel>
|
28
|
+
</diagram>
|
29
|
+
</mxfile>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Drawio Dsl - Project Plan
|
2
|
+
|
3
|
+
## In Progress
|
4
|
+
|
5
|
+
The next ticket to work on
|
6
|
+
|
7
|
+
![](docs/../project_in_progress.svg)
|
8
|
+
|
9
|
+
## To Do
|
10
|
+
|
11
|
+
List of tickets to do
|
12
|
+
|
13
|
+
![](docs/../project_todo.svg)
|
14
|
+
|
15
|
+
## Complete
|
16
|
+
|
17
|
+
List of completed tickets
|
18
|
+
|
19
|
+
![](docs/../project_done.svg)
|
20
|
+
|
21
|
+
|
22
|
+
## Copyright
|
23
|
+
|
24
|
+
Copyright (c) David Cruwys. See [MIT License](LICENSE.txt) for further details.
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
3
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="302px" height="62px" viewBox="-0.5 -0.5 302 62"><defs><linearGradient x1="0%" y1="0%" x2="0%" y2="100%" id="mx-gradient-ffffff-0.9-ffffff-0.1-s-0"><stop offset="0%" style="stop-color: rgb(255, 255, 255); stop-opacity: 0.9;"/><stop offset="100%" style="stop-color: rgb(255, 255, 255); stop-opacity: 0.1;"/></linearGradient></defs><g><rect x="0" y="0" width="300" height="60" rx="9" ry="9" fill="#d5e8d4" stroke="#82b366" pointer-events="all"/><path d="M 10.15 -1 Q -1 -1 -1 10.15 L -1 24 Q 150 42 301 24 L 301 10.15 Q 301 -1 289.85 -1 Z" fill="url(#mx-gradient-ffffff-0.9-ffffff-0.1-s-0)" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 298px; height: 1px; padding-top: 30px; margin-left: 1px;"><div data-drawio-colors="color: #333333; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(51, 51, 51); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">create a domain model</div></div></div></foreignObject><text x="150" y="34" fill="#333333" font-family="Helvetica" font-size="12px" text-anchor="middle">create a domain model</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module KDoc
|
4
|
+
# Provide data load events, dependency and import management
|
5
|
+
#
|
4
6
|
# A container acts a base data object for any data that requires tagging
|
5
7
|
# such as unique key, type and namespace.
|
6
8
|
#
|
@@ -26,6 +28,10 @@ module KDoc
|
|
26
28
|
attr_reader :action_block
|
27
29
|
attr_reader :children
|
28
30
|
|
31
|
+
# TODO: Can dependencies be extracted to their own module?
|
32
|
+
attr_reader :depend_on_tags
|
33
|
+
attr_reader :dependents
|
34
|
+
|
29
35
|
def initialize_block_processor(_opts, &block)
|
30
36
|
@block = block if block_given?
|
31
37
|
@block_state = :new
|
@@ -33,20 +39,63 @@ module KDoc
|
|
33
39
|
@init_block = nil
|
34
40
|
@action_block = nil
|
35
41
|
@children = []
|
42
|
+
|
43
|
+
@depend_on_tags = []
|
44
|
+
@dependents = {}
|
45
|
+
@block_executed = false
|
46
|
+
end
|
47
|
+
|
48
|
+
def depend_on(*document_tags)
|
49
|
+
document_tags.each do |document_tag|
|
50
|
+
@depend_on_tags << document_tag
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
def resolve_dependency(document)
|
55
|
+
@dependents[document.tag] = document
|
56
|
+
end
|
57
|
+
|
58
|
+
def import(tag)
|
59
|
+
@dependents[tag]
|
60
|
+
end
|
61
|
+
|
62
|
+
def import_data(tag, as: :document)
|
63
|
+
doc = import(tag)
|
64
|
+
|
65
|
+
return nil unless doc&.data
|
66
|
+
|
67
|
+
# log.error 'about to import'
|
68
|
+
doc.debug(include_header: true)
|
69
|
+
|
70
|
+
return KUtil.data.to_open_struct(doc.data) if %i[open_struct ostruct].include?(as)
|
71
|
+
|
72
|
+
doc.data
|
73
|
+
end
|
74
|
+
|
75
|
+
def dependencies_met?
|
76
|
+
depend_on_tags.all? { |tag| dependents[tag] }
|
36
77
|
end
|
37
78
|
|
38
79
|
def execute_block(run_actions: false)
|
80
|
+
block_execute
|
81
|
+
fire_action if run_actions
|
82
|
+
end
|
83
|
+
|
84
|
+
def block_execute
|
85
|
+
return if @block_executed
|
86
|
+
|
39
87
|
# Evaluate the main block of code
|
40
88
|
fire_eval # aka primary eval
|
41
89
|
|
90
|
+
return unless dependencies_met?
|
91
|
+
|
42
92
|
# Call the block of code attached to the init method
|
43
93
|
fire_init
|
44
94
|
|
45
95
|
# Call the each block in the child array of blocks in the order of creation (FIFO)
|
46
96
|
fire_children
|
47
97
|
|
48
|
-
|
49
|
-
fire_action if run_actions
|
98
|
+
@block_executed = true
|
50
99
|
end
|
51
100
|
|
52
101
|
# The underlying container is created and in the case of k_manager, registered
|
data/lib/k_doc/mixins/guarded.rb
CHANGED
data/lib/k_doc/settings.rb
CHANGED
data/lib/k_doc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: k_doc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Cruwys
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -88,14 +88,15 @@ executables: []
|
|
88
88
|
extensions: []
|
89
89
|
extra_rdoc_files: []
|
90
90
|
files:
|
91
|
+
- ".builders/_.rb"
|
92
|
+
- ".builders/boot.rb"
|
91
93
|
- ".builders/directors/_.rb"
|
92
94
|
- ".builders/directors/build_actions.rb"
|
93
95
|
- ".builders/directors/design_pattern_director.rb"
|
94
96
|
- ".builders/directors/director.rb"
|
95
97
|
- ".builders/directors/klue_director.rb"
|
96
|
-
- ".builders/
|
97
|
-
- ".builders/
|
98
|
-
- ".builders/initializers/handlebars_helpers.rb"
|
98
|
+
- ".builders/generators/domain_diagram.rb"
|
99
|
+
- ".builders/generators/project_plan.rb"
|
99
100
|
- ".builders/setup.rb"
|
100
101
|
- ".github/workflows/main.yml"
|
101
102
|
- ".gitignore"
|
@@ -115,6 +116,16 @@ files:
|
|
115
116
|
- bin/kgitsync
|
116
117
|
- bin/khotfix
|
117
118
|
- bin/setup
|
119
|
+
- docs/class-diagram-dsl.png
|
120
|
+
- docs/class-diagram.png
|
121
|
+
- docs/domain-custom.drawio
|
122
|
+
- docs/domain-custom.svg
|
123
|
+
- docs/domain-modal.md
|
124
|
+
- docs/domain.drawio
|
125
|
+
- docs/domain_model.svg
|
126
|
+
- docs/project-plan.drawio
|
127
|
+
- docs/project-plan.md
|
128
|
+
- docs/project_in_progress.svg
|
118
129
|
- hooks/pre-commit
|
119
130
|
- hooks/update-version
|
120
131
|
- k_doc.gemspec
|
data/.builders/initializers/_.rb
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
KBuilder.reset(:gem)
|
2
|
-
KConfig.configure(:gem) do |config|
|
3
|
-
# config.template_folders.add(:global , '~/dev/kgems/k_templates/definitions/genesis')
|
4
|
-
config.target_folders.add(:root , File.expand_path('..', Dir.getwd))
|
5
|
-
config.target_folders.add(:lib , :root, 'lib', 'k_doc')
|
6
|
-
config.target_folders.add(:spec , :root, 'spec', 'k_doc')
|
7
|
-
end
|
8
|
-
|
9
|
-
KBuilder.reset(:design_patterns)
|
10
|
-
KConfig.configure(:design_patterns) do |config|
|
11
|
-
config.template_folders.add(:global , '~/dev/kgems/k_templates/templates/ruby_design_patterns')
|
12
|
-
config.target_folders.add(:root , File.expand_path('..', Dir.getwd))
|
13
|
-
config.target_folders.add(:lib , :root, 'lib', 'k_doc')
|
14
|
-
config.target_folders.add(:spec , :root, 'spec', 'k_doc')
|
15
|
-
end
|
16
|
-
|
17
|
-
# KConfig.configuration(:gem).debug
|
18
|
-
|
19
|
-
# def builder
|
20
|
-
# @builder ||= KBuilder::BaseBuilder.init
|
21
|
-
# end
|
22
|
-
|
23
|
-
puts ':)'
|
24
|
-
|
25
|
-
# Setup.configure(:microapp) do |config|
|
26
|
-
# config.template_folders.add(:microapp , '~/dev/kgems/k_templates/definitions/microapp')
|
27
|
-
# config.target_folders.add(:root , Dir.getwd)
|
28
|
-
# end
|
29
|
-
|
30
|
-
# Setup.configure(:data) do |config|
|
31
|
-
# # config.template_folders.add(:microapp , '~/dev/kgems/k_templates/definitions/microapp')
|
32
|
-
# config.target_folders.add(:root , File.expand_path('..', Dir.getwd), '.data')
|
33
|
-
# end
|
34
|
-
|
35
|
-
# Setup.configure(:actual_app) do |config|
|
36
|
-
# # config.template_folders.add(:microapp , '~/dev/kgems/k_templates/definitions/microapp')
|
37
|
-
# config.target_folders.add(:root , File.expand_path('..', Dir.getwd))
|
38
|
-
# end
|
@@ -1,27 +0,0 @@
|
|
1
|
-
Handlebars::Helpers.configure do |config|
|
2
|
-
config_file = File.join(Gem.loaded_specs['handlebars-helpers'].full_gem_path, '.handlebars_helpers.json')
|
3
|
-
config.helper_config_file = config_file
|
4
|
-
|
5
|
-
string_config_file = File.join(Gem.loaded_specs['handlebars-helpers'].full_gem_path, '.handlebars_string_formatters.json')
|
6
|
-
config.string_formatter_config_file = string_config_file
|
7
|
-
end
|
8
|
-
|
9
|
-
def camel
|
10
|
-
require 'handlebars/helpers/string_formatting/camel'
|
11
|
-
Handlebars::Helpers::StringFormatting::Camel.new
|
12
|
-
end
|
13
|
-
|
14
|
-
def titleize
|
15
|
-
require 'handlebars/helpers/string_formatting/titleize'
|
16
|
-
Handlebars::Helpers::StringFormatting::Titleize.new
|
17
|
-
end
|
18
|
-
|
19
|
-
def pluralize
|
20
|
-
require 'handlebars/helpers/inflection/pluralize'
|
21
|
-
Handlebars::Helpers::Inflection::Pluralize.new
|
22
|
-
end
|
23
|
-
|
24
|
-
def singularize
|
25
|
-
require 'handlebars/helpers/inflection/singularize'
|
26
|
-
Handlebars::Helpers::Inflection::Singularize.new
|
27
|
-
end
|