ea 0.6.151 → 0.6.153

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,32 +2,17 @@
2
2
 
3
3
  module Ea
4
4
  module Theme
5
- # Loads theme Definition objects from YAML files.
6
- #
7
- # YAML format (see config/themes/119.yml):
8
- #
9
- # id: "119"
10
- # name: EA White Theme
11
- # font: { family: Carlito, size: 7, unit: pt, weight_normal: 400, ... }
12
- # element_font: { size: 9, unit: pt }
13
- # label_font: { family: Cambria, size: 7, unit: pt }
14
- # colors: { text: "#000000", attribute_text: "#336699", ... }
15
- # strokes: { element_border: 2, connector_line: 2, ... }
16
- # text_metrics: { width_factor: 0.65 }
17
- # canvas: { inset_left: 35, inset_right: 50, ... }
18
- # frame: { inset: 6, tab_height: 20, ... }
19
- # compartments: { header_line_offset: 4, ... }
20
- # attribute: { visibility_x_offset: 5, content_x_offset: 20 }
21
- # markers: { diamond_half_width: 5, ... }
22
- # package: { tab_height: 20, ... }
23
- # note: { fold_size: 12, ... }
24
- # fills: {}
5
+ # Loads theme YAML files into Ea::Theme::Definition.
25
6
  #
7
+ # The YAML wire shape is parsed by {ThemeDocument} through
8
+ # lutaml-model mappings (group classes declared under Definition);
9
+ # this loader flattens the parsed groups into Definition
10
+ # constructor arguments, applying the same group coalescing
11
+ # defaults the renderer contract has always used.
26
12
  class Loader
27
13
  class << self
28
14
  def load_file(path)
29
- data = YAML.load_file(path)
30
- from_hash(data)
15
+ from_document(ThemeDocument.from_yaml(File.read(path)))
31
16
  end
32
17
 
33
18
  def load_dir(dir)
@@ -36,95 +21,132 @@ module Ea
36
21
 
37
22
  private
38
23
 
39
- def from_hash(data)
40
- font = data["font"] || {}
41
- elem_font = data["element_font"] || {}
42
- label_font = data["label_font"] || {}
43
- colors = data["colors"] || {}
44
- strokes = data["strokes"] || {}
45
- text_metrics = data["text_metrics"] || {}
46
- canvas = data["canvas"] || {}
47
- frame = data["frame"] || {}
48
- comps = data["compartments"] || {}
49
- attr_cfg = data["attribute"] || {}
50
- marker_cfg = data["markers"] || {}
51
- pkg_cfg = data["package"] || {}
52
- note_cfg = data["note"] || {}
24
+ # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
25
+ def from_document(doc)
26
+ font = doc.font || Definition::FontSpec.new
27
+ label_font = doc.label_font || Definition::FontSpec.new
28
+ element_font = doc.element_font || Definition::FontSpec.new
29
+ colors = doc.colors || Definition::ColorsSpec.new
30
+ strokes = doc.strokes || Definition::StrokesSpec.new
31
+ text_metrics = doc.text_metrics || Definition::TextMetricsSpec.new
53
32
 
54
33
  Definition.new(
55
- id: data["id"],
56
- name: data["name"],
57
- font_family: font["family"],
58
- label_font_family: label_font["family"],
59
- label_font_size: label_font["size"],
60
- label_font_size_unit: label_font["unit"],
61
- font_size: font["size"],
62
- font_size_unit: font["unit"] || "pt",
63
- text_weight_normal: font["weight_normal"] || 400,
64
- text_weight_bold: font["weight_bold"] || 700,
65
- element_font_family: elem_font["family"],
66
- element_font_size: elem_font["size"] || 9,
67
- element_font_unit: elem_font["unit"] || "pt",
68
- text_color: colors["text"] || "#000000",
69
- attribute_text_color: colors["attribute_text"] || colors["text"] || "#000000",
70
- method_text_color: colors["method_text"],
71
- border_color: colors["border"] || "#000000",
72
- fill_color: colors["fill"] || "#FFFFFF",
73
- background_color: colors["background"] || "#FFFFFF",
74
- stroke_in_text_color: colors["stroke_in_text"] || "#000000",
75
- element_border_width: strokes["element_border"] || 2,
76
- connector_line_width: strokes["connector_line"] || 2,
77
- divider_stroke_width: strokes["divider"] || 2,
78
- marker_stroke_width: strokes["marker"] || 2,
79
- text_width_factor: text_metrics["width_factor"] || 0.65,
80
- geometry: canvas.empty? ? nil : Definition::Geometry.new(
81
- inset_left: canvas["inset_left"] || 35,
82
- inset_right: canvas["inset_right"] || 50,
83
- inset_top: canvas["inset_top"] || 40,
84
- inset_bottom: canvas["inset_bottom"] || 57
85
- ),
86
- frame: frame.empty? ? nil : Definition::FrameSpec.new(
87
- inset: frame["inset"] || 6,
88
- tab_height: frame["tab_height"] || 20,
89
- tab_slant: frame["tab_slant"] || 13,
90
- tab_label_x: frame["tab_label_x"] || 11,
91
- tab_label_y: frame["tab_label_y"] || 19,
92
- tab_padding: frame["tab_padding"] || 7
93
- ),
94
- compartments: comps.empty? ? nil : Definition::CompartmentSpec.new(
95
- header_top_padding: comps["header_top_padding"] || 12,
96
- header_line_offset: comps["header_line_offset"] || 6,
97
- divider_offset: comps["divider_offset"] || 8,
98
- attr_line_offset: comps["attr_line_offset"] || 7,
99
- attr_first_offset: comps["attr_first_offset"] || 7,
100
- op_line_offset: comps["op_line_offset"] || 4
101
- ),
102
- attribute_spec: attr_cfg.empty? ? nil : Definition::AttrSpec.new(
103
- visibility_x_offset: attr_cfg["visibility_x_offset"] || 5,
104
- content_x_offset: attr_cfg["content_x_offset"] || 26
105
- ),
106
- markers: marker_cfg.empty? ? nil : Definition::MarkerSpec.new(
107
- diamond_half_width: marker_cfg["diamond_half_width"] || 5,
108
- diamond_half_height: marker_cfg["diamond_half_height"] || 10,
109
- triangle_half_base: marker_cfg["triangle_half_base"] || 6,
110
- triangle_height: marker_cfg["triangle_height"] || 11,
111
- arrow_half_base: marker_cfg["arrow_half_base"] || 6,
112
- arrow_height: marker_cfg["arrow_height"] || 11
113
- ),
114
- package: pkg_cfg.empty? ? nil : Definition::PackageSpec.new(
115
- tab_height: pkg_cfg["tab_height"] || 20,
116
- tab_label_padding: pkg_cfg["tab_label_padding"] || 10,
117
- default_tab_width: pkg_cfg["default_tab_width"] || 105
118
- ),
119
- note: note_cfg.empty? ? nil : Definition::NoteSpec.new(
120
- fold_size: note_cfg["fold_size"] || 12,
121
- text_x_offset: note_cfg["text_x_offset"] || 5,
122
- text_y_offset: note_cfg["text_y_offset"] || 12,
123
- line_height: note_cfg["line_height"] || 12
124
- ),
125
- fills: data["fills"] || {}
34
+ id: doc.id,
35
+ name: doc.name,
36
+ font_family: font.family,
37
+ label_font_family: label_font.family,
38
+ label_font_size: label_font.size,
39
+ label_font_size_unit: label_font.unit,
40
+ font_size: font.size,
41
+ font_size_unit: font.unit || "pt",
42
+ text_weight_normal: font.weight_normal || 400,
43
+ text_weight_bold: font.weight_bold || 700,
44
+ element_font_family: element_font.family,
45
+ element_font_size: element_font.size || 9,
46
+ element_font_unit: element_font.unit || "pt",
47
+ text_color: colors.text || "#000000",
48
+ attribute_text_color: colors.attribute_text || colors.text || "#000000",
49
+ method_text_color: colors.method_text,
50
+ border_color: colors.border || "#000000",
51
+ fill_color: colors.fill || "#FFFFFF",
52
+ background_color: colors.background || "#FFFFFF",
53
+ stroke_in_text_color: colors.stroke_in_text || "#000000",
54
+ element_border_width: strokes.element_border || 2,
55
+ connector_line_width: strokes.connector_line || 2,
56
+ divider_stroke_width: strokes.divider || 2,
57
+ marker_stroke_width: strokes.marker || 2,
58
+ text_width_factor: text_metrics.width_factor || 0.65,
59
+ geometry: geometry_from(doc.canvas),
60
+ frame: frame_from(doc.frame),
61
+ compartments: compartments_from(doc.compartments),
62
+ attribute_spec: attribute_spec_from(doc.attribute),
63
+ markers: markers_from(doc.markers),
64
+ package: package_from(doc.package),
65
+ note: note_from(doc.note),
66
+ fills: doc.fills || {}
67
+ )
68
+ end
69
+
70
+ def geometry_from(canvas)
71
+ return unless canvas
72
+
73
+ Definition::Geometry.new(
74
+ inset_left: canvas.inset_left || 35,
75
+ inset_right: canvas.inset_right || 50,
76
+ inset_top: canvas.inset_top || 40,
77
+ inset_bottom: canvas.inset_bottom || 57
78
+ )
79
+ end
80
+
81
+ def frame_from(frame)
82
+ return unless frame
83
+
84
+ Definition::FrameSpec.new(
85
+ inset: frame.inset || 6,
86
+ tab_height: frame.tab_height || 20,
87
+ tab_slant: frame.tab_slant || 13,
88
+ tab_label_x: frame.tab_label_x || 11,
89
+ tab_label_y: frame.tab_label_y || 19,
90
+ tab_padding: frame.tab_padding || 7
91
+ )
92
+ end
93
+
94
+ def compartments_from(comps)
95
+ return unless comps
96
+
97
+ Definition::CompartmentSpec.new(
98
+ header_top_padding: comps.header_top_padding || 12,
99
+ header_line_offset: comps.header_line_offset || 6,
100
+ divider_offset: comps.divider_offset || 8,
101
+ attr_line_offset: comps.attr_line_offset || 7,
102
+ attr_first_offset: comps.attr_first_offset || 7,
103
+ op_line_offset: comps.op_line_offset || 4
104
+ )
105
+ end
106
+
107
+ def attribute_spec_from(attr_cfg)
108
+ return unless attr_cfg
109
+
110
+ Definition::AttrSpec.new(
111
+ visibility_x_offset: attr_cfg.visibility_x_offset || 5,
112
+ content_x_offset: attr_cfg.content_x_offset || 26
113
+ )
114
+ end
115
+
116
+ def markers_from(marker_cfg)
117
+ return unless marker_cfg
118
+
119
+ Definition::MarkerSpec.new(
120
+ diamond_half_width: marker_cfg.diamond_half_width || 5,
121
+ diamond_half_height: marker_cfg.diamond_half_height || 10,
122
+ triangle_half_base: marker_cfg.triangle_half_base || 6,
123
+ triangle_height: marker_cfg.triangle_height || 11,
124
+ arrow_half_base: marker_cfg.arrow_half_base || 6,
125
+ arrow_height: marker_cfg.arrow_height || 11
126
+ )
127
+ end
128
+
129
+ def package_from(pkg_cfg)
130
+ return unless pkg_cfg
131
+
132
+ Definition::PackageSpec.new(
133
+ tab_height: pkg_cfg.tab_height || 20,
134
+ tab_label_padding: pkg_cfg.tab_label_padding || 10,
135
+ default_tab_width: pkg_cfg.default_tab_width || 105
136
+ )
137
+ end
138
+
139
+ def note_from(note_cfg)
140
+ return unless note_cfg
141
+
142
+ Definition::NoteSpec.new(
143
+ fold_size: note_cfg.fold_size || 12,
144
+ text_x_offset: note_cfg.text_x_offset || 5,
145
+ text_y_offset: note_cfg.text_y_offset || 12,
146
+ line_height: note_cfg.line_height || 12
126
147
  )
127
148
  end
149
+ # rubocop:enable Metrics/AbcSize, Metrics/MethodLength
128
150
  end
129
151
  end
130
152
  end
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "lutaml/model"
4
+
5
+ module Ea
6
+ module Theme
7
+ # Framework-declared YAML wire mapping for theme files.
8
+ #
9
+ # Theme files group values under keys (font/colors/strokes/…)
10
+ # while Ea::Theme::Definition flattens them into constructor
11
+ # arguments. This document parses the nested wire shape through
12
+ # lutaml-model mappings (see the group spec classes under
13
+ # Definition); Loader flattens the parsed groups into Definition
14
+ # arguments and applies the group coalescing defaults.
15
+ class ThemeDocument < Lutaml::Model::Serializable
16
+ attribute :id, :string
17
+ attribute :name, :string
18
+ attribute :font, Definition::FontSpec
19
+ attribute :label_font, Definition::FontSpec
20
+ attribute :element_font, Definition::FontSpec
21
+ attribute :colors, Definition::ColorsSpec
22
+ attribute :strokes, Definition::StrokesSpec
23
+ attribute :text_metrics, Definition::TextMetricsSpec
24
+ attribute :canvas, Definition::Geometry
25
+ attribute :frame, Definition::FrameSpec
26
+ attribute :compartments, Definition::CompartmentSpec
27
+ attribute :attribute, Definition::AttrSpec
28
+ attribute :markers, Definition::MarkerSpec
29
+ attribute :package, Definition::PackageSpec
30
+ attribute :note, Definition::NoteSpec
31
+ attribute :fills, :hash
32
+
33
+ yaml do
34
+ map "id", to: :id
35
+ map "name", to: :name
36
+ map "font", to: :font
37
+ map "label_font", to: :label_font
38
+ map "element_font", to: :element_font
39
+ map "colors", to: :colors
40
+ map "strokes", to: :strokes
41
+ map "text_metrics", to: :text_metrics
42
+ map "canvas", to: :canvas
43
+ map "frame", to: :frame
44
+ map "compartments", to: :compartments
45
+ map "attribute", to: :attribute
46
+ map "markers", to: :markers
47
+ map "package", to: :package
48
+ map "note", to: :note
49
+ map "fills", to: :fills
50
+ end
51
+ end
52
+ end
53
+ end
data/lib/ea/theme.rb CHANGED
@@ -33,5 +33,6 @@ module Ea
33
33
  autoload :Definition, "ea/theme/definition"
34
34
  autoload :Registry, "ea/theme/registry"
35
35
  autoload :Loader, "ea/theme/loader"
36
+ autoload :ThemeDocument, "ea/theme/theme_document"
36
37
  end
37
38
  end
@@ -414,7 +414,7 @@ module Ea
414
414
  if note.nil? || note.empty?
415
415
  "\t\t\t\t\t<documentation/>"
416
416
  else
417
- %(\t\t\t\t\t<documentation value="#{escape(note)}"/>)
417
+ %(\t\t\t\t\t<documentation value="#{escape(Ea::Rtf.to_text(note))}"/>)
418
418
  end
419
419
  end
420
420
 
@@ -673,8 +673,12 @@ module Ea
673
673
  # Returns the documentation string for a record. Package notes
674
674
  # and object notes come from different columns; both flow
675
675
  # through here as the <properties documentation="..."> value.
676
+ # EA stores styled notes as RTF; export plain text like EA's
677
+ # own XMI output does.
676
678
  def record_documentation(note)
677
- note.nil? || note.empty? ? nil : note
679
+ return nil if note.nil? || note.empty?
680
+
681
+ Ea::Rtf.to_text(note)
678
682
  end
679
683
 
680
684
  def escape(text)
@@ -464,7 +464,8 @@ module Ea
464
464
  ::Xmi::Uml::OwnedComment.new(
465
465
  type: "uml:Comment",
466
466
  id: @context.xmi_id_for(obj),
467
- body_element: obj.note || obj.name || "",
467
+ body_element: (Ea::Rtf.to_text(obj.note) if obj.note) ||
468
+ obj.name || "",
468
469
  )
469
470
  end
470
471
 
@@ -3,23 +3,14 @@
3
3
  module Ea
4
4
  # Output transformers — converts domain models to interchange formats.
5
5
  #
6
- # Two entry points:
6
+ # Single entry point:
7
7
  #
8
- # {uml_to_xmi} — lossy, takes a Lutaml::Uml::Document (cross-tool use)
9
8
  # {qea_to_xmi} — full fidelity, takes an Ea::Qea::Database
10
9
  # (Sparx-to-Sparx round-trip)
11
10
  module Transformers
12
- autoload :UmlToXmi, "ea/transformers/uml_to_xmi"
13
11
  autoload :QeaToXmi, "ea/transformers/qea_to_xmi"
14
12
 
15
13
  class << self
16
- # Lossy: any Lutaml::Uml::Document → Sparx XMI (cross-tool).
17
- # @param document [Lutaml::Uml::Document]
18
- # @return [String] XMI XML
19
- def uml_to_xmi(document)
20
- UmlToXmi::Transformer.new(document).serialize
21
- end
22
-
23
14
  # Full fidelity: Ea::Qea::Database → Sparx XMI.
24
15
  # Walks the QEA tables directly — no intermediate UML model, no loss of
25
16
  # Sparx-specific concepts (stereotypes, tagged values, multiplicities,
data/lib/ea/version.rb CHANGED
@@ -4,5 +4,5 @@ module Ea
4
4
  # Gem release version. Extracted to its own file so the
5
5
  # `gem-release` tool's `gem bump` can find and update it via the
6
6
  # standard `lib/<gem>/version.rb` convention.
7
- VERSION = "0.6.151"
7
+ VERSION = "0.6.153"
8
8
  end
data/lib/ea.rb CHANGED
@@ -29,7 +29,6 @@ module Ea
29
29
  autoload :Lint, "ea/lint"
30
30
  autoload :Query, "ea/query"
31
31
  autoload :Ocl, "ea/ocl"
32
- autoload :Validation, "ea/validation"
33
32
  autoload :XmlEscape, "ea/xml_escape"
34
33
  autoload :GuidFormat, "ea/guid_format"
35
34
  autoload :Rtf, "ea/rtf"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.151
4
+ version: 0.6.153
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -180,8 +180,6 @@ files:
180
180
  - LICENSE.md
181
181
  - README.adoc
182
182
  - README.md
183
- - config/diagram_styles.yml
184
- - config/model_transformations.yml
185
183
  - config/qea_schema.yml
186
184
  - config/stereotype_colors.yml
187
185
  - config/themes/119.yml
@@ -207,7 +205,6 @@ files:
207
205
  - lib/ea/cli/command/parse.rb
208
206
  - lib/ea/cli/command/query.rb
209
207
  - lib/ea/cli/command/render.rb
210
- - lib/ea/cli/command/repository_builder.rb
211
208
  - lib/ea/cli/command/spa.rb
212
209
  - lib/ea/cli/command/stats.rb
213
210
  - lib/ea/cli/command/svg.rb
@@ -622,6 +619,7 @@ files:
622
619
  - lib/ea/theme/definition.rb
623
620
  - lib/ea/theme/loader.rb
624
621
  - lib/ea/theme/registry.rb
622
+ - lib/ea/theme/theme_document.rb
625
623
  - lib/ea/transformations.rb
626
624
  - lib/ea/transformers.rb
627
625
  - lib/ea/transformers/qea_to_xmi.rb
@@ -637,11 +635,6 @@ files:
637
635
  - lib/ea/transformers/qea_to_xmi/transformer.rb
638
636
  - lib/ea/transformers/qea_to_xmi/visibility.rb
639
637
  - lib/ea/transformers/uml_to_xmi.rb
640
- - lib/ea/transformers/uml_to_xmi/id_generator.rb
641
- - lib/ea/transformers/uml_to_xmi/transformer.rb
642
- - lib/ea/transformers/uml_to_xmi/writer.rb
643
- - lib/ea/validation.rb
644
- - lib/ea/validation/xmi_parity.rb
645
638
  - lib/ea/version.rb
646
639
  - lib/ea/xmi.rb
647
640
  - lib/ea/xmi/liquid_drops/association_drop.rb
@@ -1,200 +0,0 @@
1
- # diagram_styles.yml - Configurable EA Diagram Styling
2
- # This file defines the default styling for LutaML diagram generation
3
-
4
- # Global defaults - applied when no other configuration matches
5
- defaults:
6
- colors:
7
- background: "#FFFFFF"
8
- default_fill: "#E0E0E0"
9
- default_stroke: "#000000"
10
- text: "#000000"
11
-
12
- fonts:
13
- default:
14
- family: "Carlito, Arial, sans-serif"
15
- size: 9
16
- weight: 400
17
- style: normal
18
-
19
- class_name:
20
- family: "Carlito, Arial, sans-serif"
21
- size: 9
22
- weight: 700 # bold
23
- style: normal
24
-
25
- stereotype:
26
- family: "Carlito, Arial, sans-serif"
27
- size: 9
28
- weight: 400
29
- style: normal
30
-
31
- attribute:
32
- family: "Carlito, Arial, sans-serif"
33
- size: 9
34
- weight: 400
35
- style: normal
36
-
37
- operation:
38
- family: "Carlito, Arial, sans-serif"
39
- size: 9
40
- weight: 400
41
- style: normal
42
-
43
- box:
44
- stroke_width: 2
45
- stroke_linecap: round
46
- stroke_linejoin: bevel
47
- corner_radius: 0
48
- padding: 5
49
- fill_opacity: 1.0
50
- stroke_opacity: 1.0
51
-
52
- text:
53
- visibility_public: "+"
54
- visibility_private: "-"
55
- visibility_protected: "#"
56
- visibility_package: "~"
57
- cardinality_format: "[%s]"
58
- stereotype_format: "«%s»"
59
-
60
- # Stereotype-based styling
61
- # These apply when elements have specific stereotypes
62
- stereotypes:
63
- DataType:
64
- colors:
65
- fill: "#FFCCFF" # Pink for i-UR DataTypes
66
- stroke: "#000000"
67
- fonts:
68
- class_name:
69
- weight: 700
70
- style: italic
71
-
72
- FeatureType:
73
- colors:
74
- fill: "#FFFFCC" # Yellow for CityGML FeatureTypes
75
- stroke: "#000000"
76
-
77
- GMLType:
78
- colors:
79
- fill: "#CCFFCC" # Green for GML Types
80
- stroke: "#000000"
81
-
82
- Interface:
83
- colors:
84
- fill: "#FFFFEE"
85
- stroke: "#000000"
86
- fonts:
87
- class_name:
88
- style: italic
89
-
90
- Enumeration:
91
- colors:
92
- fill: "#FFE6CC"
93
- stroke: "#000000"
94
-
95
- Abstract:
96
- fonts:
97
- class_name:
98
- style: italic
99
-
100
- # Package-based styling (optional)
101
- # Supports wildcards: "CityGML::*" matches any package starting with "CityGML::"
102
- packages:
103
- "CityGML::*":
104
- colors:
105
- fill: "#FFFFCC"
106
-
107
- "i-UR::*":
108
- colors:
109
- fill: "#FFCCFF"
110
-
111
- "gml::*":
112
- colors:
113
- fill: "#CCFFCC"
114
-
115
- # Class-specific overrides (highest priority after EA data)
116
- # These take precedence over package and stereotype styling
117
- classes: {}
118
-
119
- # Connector styling
120
- connectors:
121
- generalization:
122
- arrow:
123
- type: hollow_triangle
124
- size: 10
125
- line:
126
- stroke_width: 1
127
- stroke: "#000000"
128
- fill: none
129
-
130
- association:
131
- arrow:
132
- type: open_arrow
133
- size: 8
134
- line:
135
- stroke_width: 1
136
- stroke: "#000000"
137
- labels:
138
- show_role_names: true
139
- show_cardinality: true
140
- font:
141
- family: "Carlito, Arial, sans-serif"
142
- size: 8
143
-
144
- dependency:
145
- arrow:
146
- type: open_arrow
147
- size: 8
148
- line:
149
- stroke_width: 1
150
- stroke: "#000000"
151
- stroke_dasharray: "5,5"
152
-
153
- aggregation:
154
- arrow:
155
- type: diamond
156
- size: 10
157
- fill: white
158
- line:
159
- stroke_width: 1
160
- stroke: "#000000"
161
-
162
- composition:
163
- arrow:
164
- type: filled_diamond
165
- size: 10
166
- fill: black
167
- line:
168
- stroke_width: 1
169
- stroke: "#000000"
170
-
171
- realization:
172
- arrow:
173
- type: hollow_triangle
174
- size: 10
175
- line:
176
- stroke_width: 1
177
- stroke: "#000000"
178
- stroke_dasharray: "5,5"
179
-
180
- # Legend configuration
181
- legend:
182
- enabled: true
183
- position: bottom_right
184
- title: "Legend"
185
- box:
186
- fill: "#FFFFFF"
187
- stroke: "#000000"
188
- stroke_width: 1
189
- padding: 10
190
- font:
191
- family: "Carlito, Arial, sans-serif"
192
- size: 9
193
- weight: 400
194
- entries:
195
- - label: "i-UR DataTypes"
196
- color: "#FFCCFF"
197
- - label: "CityGML FeatureTypes"
198
- color: "#FFFFCC"
199
- - label: "GML Types"
200
- color: "#CCFFCC"