ea 0.6.149 → 0.6.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.md +33 -0
- data/README.adoc +13 -5
- data/lib/ea/cli/command/base.rb +3 -3
- data/lib/ea/qea/database.rb +7 -0
- data/lib/ea/qea/factory/association_builder.rb +1 -1
- data/lib/ea/qea/factory/association_transformer.rb +1 -1
- data/lib/ea/qea/factory/attribute_tag_transformer.rb +2 -2
- data/lib/ea/qea/factory/attribute_transformer.rb +4 -9
- data/lib/ea/qea/factory/base_transformer.rb +22 -14
- data/lib/ea/qea/factory/class_transformer.rb +1 -1
- data/lib/ea/qea/factory/data_type_transformer.rb +1 -1
- data/lib/ea/qea/factory/diagram_transformer.rb +1 -1
- data/lib/ea/qea/factory/enum_transformer.rb +2 -2
- data/lib/ea/qea/factory/generalization_transformer.rb +1 -1
- data/lib/ea/qea/factory/instance_transformer.rb +1 -1
- data/lib/ea/qea/factory/object_property_transformer.rb +2 -2
- data/lib/ea/qea/factory/operation_transformer.rb +1 -1
- data/lib/ea/qea/infrastructure/database_connection.rb +71 -1
- data/lib/ea/qea/infrastructure/table_reader.rb +33 -14
- data/lib/ea/qea/services/database_loader.rb +22 -6
- data/lib/ea/query/builder.rb +1 -1
- data/lib/ea/rtf.rb +98 -0
- data/lib/ea/sources/qea/annotation_builder.rb +1 -1
- data/lib/ea/svg/ea_emitter/text_renderer.rb +28 -10
- data/lib/ea/version.rb +1 -1
- data/lib/ea/xmi/liquid_drops/klass_drop.rb +5 -0
- data/lib/ea/xmi/lookup_service.rb +40 -3
- data/lib/ea/xmi/parser.rb +3 -2
- data/lib/ea.rb +1 -0
- metadata +6 -396
- data/CLAUDE.md +0 -153
- data/Rakefile +0 -23
- data/TODO.complete/01-t-xref-parsing.md +0 -91
- data/TODO.complete/02-per-label-geometry.md +0 -50
- data/TODO.complete/03-object-properties-constraints.md +0 -57
- data/TODO.complete/04-operation-params.md +0 -37
- data/TODO.complete/05-pdata-flag-matrix.md +0 -52
- data/TODO.complete/06-emf-image-rendering.md +0 -34
- data/TODO.complete/07-auxiliary-tables.md +0 -47
- data/TODO.complete/10-mdg-stereotype-registry.md +0 -40
- data/TODO.complete/11-gml-xsd-generation.md +0 -42
- data/TODO.complete/13-shapescript-interpreter.md +0 -17
- data/TODO.complete/20-cli-diff.md +0 -46
- data/TODO.complete/21-cli-render.md +0 -26
- data/TODO.complete/22-cli-export.md +0 -29
- data/TODO.complete/23-cli-mdg.md +0 -23
- data/TODO.complete/30-headerlines-ocp-refactor.md +0 -72
- data/TODO.complete/31-public-send-cleanup.md +0 -61
- data/TODO.complete/32-spec-coverage.md +0 -33
- data/TODO.complete/33-blocked-parity-gaps.md +0 -41
- data/TODO.complete/36-stereotype-icon-wiring.md +0 -32
- data/TODO.complete/37-cli-lint.md +0 -32
- data/TODO.complete/38-cli-query.md +0 -26
- data/TODO.complete/39-cli-info.md +0 -23
- data/TODO.complete/40-ocl-evaluator.md +0 -31
- data/TODO.complete/41-round-trip-spec.md +0 -18
- data/TODO.complete/42-html-diff-report.md +0 -18
- data/TODO.complete/43-json-schema-export.md +0 -20
- data/TODO.complete/44-remaining-qea-tables.md +0 -40
- data/TODO.complete/45-shapescript-extensions.md +0 -25
- data/TODO.complete/46-xsd-consolidation.md +0 -20
- data/TODO.complete/47-headerlines-legacy-removal.md +0 -20
- data/TODO.complete/51-remove-respond-to.md +0 -52
- data/TODO.complete/52-xsd-decouple-fixtures.md +0 -23
- data/TODO.complete/53-xmi-public-send-cleanup.md +0 -26
- data/TODO.complete/54-wire-stereotype-icon-renderer.md +0 -20
- data/TODO.complete/55-wire-shapescript.md +0 -20
- data/TODO.complete/56-wire-emf-renderer.md +0 -27
- data/TODO.complete/57-wire-ocl-evaluator.md +0 -23
- data/TODO.complete/58-diff-modifications.md +0 -21
- data/TODO.complete/59-delete-toy-xmi-export.md +0 -30
- data/TODO.complete/60-curate-json-export.md +0 -20
- data/TODO.complete/61-plantuml-relationships.md +0 -22
- data/TODO.complete/62-changelog.md +0 -17
- data/TODO.complete/63-dependabot-fix.md +0 -18
- data/TODO.complete/64-qeatoxmi-connectors.md +0 -15
- data/TODO.complete/65-qeatoxmi-diagrams.md +0 -15
- data/TODO.complete/66-qeatoxmi-style-tags-docs.md +0 -35
- data/TODO.complete/67-ocl-collection-ops.md +0 -20
- data/TODO.complete/68-ocl-comparison-ops.md +0 -24
- data/TODO.complete/69-spec-new-models.md +0 -20
- data/TODO.complete/70-specs-for-all-models.md +0 -21
- data/TODO.complete/71-autoload-audit.md +0 -26
- data/TODO.complete/72-extension-serializer-ocp-naming.md +0 -26
- data/TODO.complete/73-ocl-validator-latent-bugs.md +0 -50
- data/TODO.complete/74-visibility-symbol-dry.md +0 -39
- data/TODO.complete/75-database-table-collection-registry.md +0 -32
- data/TODO.complete/76-stale-todo-cleanup.md +0 -52
- data/TODO.complete/77-eliminate-banned-patterns-from-specs.md +0 -55
- data/TODO.complete/78-mdg-stereotype-emission.md +0 -66
- data/TODO.complete/79-equivalence-fixes.md +0 -57
- data/TODO.complete/80-performance-extension-serializer-indexes.md +0 -43
- data/TODO.complete/81-dry-scope-guid-extraction.md +0 -33
- data/TODO.complete/82-public-send-audit-conclusion.md +0 -25
- data/TODO.complete/83-dry-shared-xml-escape-guid-format.md +0 -52
- data/TODO.complete/84-ocp-markers-shape-registry.md +0 -54
- data/TODO.complete/85-frozen-literal-rubocop-normalize-type-spec.md +0 -38
- data/TODO.complete/86-frozen-sweep-lint-query-specs.md +0 -55
- data/TODO.complete/STATUS.md +0 -106
- data/TODO.diagrams/01-svg-measurement-harness.md +0 -31
- data/TODO.diagrams/01-xmi-extension-elements-parsing.md +0 -67
- data/TODO.diagrams/02-diagram-element-rich-model.md +0 -61
- data/TODO.diagrams/02-polygon-over-rendering.md +0 -29
- data/TODO.diagrams/03-ea-style-svg-emitter.md +0 -70
- data/TODO.diagrams/03-text-over-rendering.md +0 -30
- data/TODO.diagrams/04-connector-routing-from-soid-eoid.md +0 -55
- data/TODO.diagrams/04-rect-under-rendering.md +0 -33
- data/TODO.diagrams/05-canvas-dimension-parity.md +0 -51
- data/TODO.diagrams/05-marker-rendering-per-relationship-type.md +0 -49
- data/TODO.diagrams/06-connector-labels.md +0 -49
- data/TODO.diagrams/06-group-layering-parity.md +0 -39
- data/TODO.diagrams/07-canvas-size-and-viewbox.md +0 -39
- data/TODO.diagrams/07-text-content-fidelity.md +0 -65
- data/TODO.diagrams/08-qea-direct-pipeline.md +0 -46
- data/TODO.diagrams/08-visual-regression-harness.md +0 -34
- data/TODO.diagrams/09-cli-render-all-diagrams.md +0 -25
- data/TODO.diagrams/10-stereotype-color-config.md +0 -29
- data/TODO.diagrams/11-elkrb-auto-layout-integration.md +0 -53
- data/TODO.diagrams/12-connector-labels.md +0 -40
- data/TODO.diagrams/12-per-entity-svg-layer-ordering.md +0 -24
- data/TODO.diagrams/13-marker-polygon-vs-path-dispatch.md +0 -20
- data/TODO.diagrams/13-per-text-type-font-sizes.md +0 -33
- data/TODO.diagrams/14-center-header-text.md +0 -33
- data/TODO.diagrams/14-filter-diagram-frame-elements.md +0 -18
- data/TODO.diagrams/15-deep-dead-code-audit.md +0 -47
- data/TODO.diagrams/15-per-element-font-from-style.md +0 -24
- data/TODO.diagrams/16-canvas-marker-extent.md +0 -30
- data/TODO.diagrams/16-document-remaining-parity-gaps.md +0 -91
- data/TODO.diagrams/17-italic-abstract-classes.md +0 -28
- data/TODO.diagrams/17-remaining-parity-gaps.md +0 -90
- data/TODO.diagrams/18-canvas-from-image-bounds.md +0 -20
- data/TODO.diagrams/18-property-lookup-index.md +0 -42
- data/TODO.diagrams/19-connector-sx-sy-routing.md +0 -27
- data/TODO.diagrams/19-replace-respond-to-with-is-a.md +0 -31
- data/TODO.diagrams/20-split-labels-emitter.md +0 -56
- data/TODO.diagrams/20-visibility-glyph-font-encoding.md +0 -27
- data/TODO.diagrams/21-aggregation-navigability-arrow.md +0 -21
- data/TODO.diagrams/21-auto-generated-legend-block.md +0 -65
- data/TODO.diagrams/22-ghost-element-discriminator.md +0 -57
- data/TODO.diagrams/22-style-based-path-grouping.md +0 -28
- data/TODO.diagrams/23-marker-polygon-deduplication.md +0 -47
- data/TODO.diagrams/23-multiplicity-label-positioning.md +0 -29
- data/TODO.diagrams/24-marker-anchor-structural.md +0 -35
- data/TODO.diagrams/24-track-marker-anchors-structurally.md +0 -66
- data/TODO.diagrams/24-truncate-properties-to-fit-box.md +0 -24
- data/TODO.diagrams/26-phantom-general-parent-rendering.md +0 -59
- data/TODO.diagrams/27-path-grouping-mode-detection.md +0 -43
- data/TODO.diagrams/28-architecture-cleanup-batch.md +0 -47
- data/TODO.diagrams/30-decompose-elements-groups-for.md +0 -52
- data/TODO.diagrams/32-examples-coverage-batch.md +0 -78
- data/TODO.diagrams/36-instance-specification-model.md +0 -42
- data/TODO.diagrams/37-element-icon-decorations.md +0 -41
- data/TODO.diagrams/38-html-note-and-receptions.md +0 -32
- data/TODO.diagrams/39-property-stereotype-discriminator.md +0 -40
- data/TODO.diagrams/40-standalone-1-discriminator.md +0 -38
- data/TODO.diagrams/41-xmi-to-svg-pipeline.md +0 -113
- data/TODO.diagrams/42-close-all-parity-deltas.md +0 -69
- data/TODO.diagrams/43-marker-deduplication-strategy.md +0 -54
- data/TODO.diagrams/44-element-icon-decorations.md +0 -34
- data/TODO.diagrams/45-phantom-parent-class-boxes.md +0 -40
- data/TODO.diagrams/46-user-drawn-legend-swatches.md +0 -44
- data/TODO.diagrams/47-attribute-line-fidelity.md +0 -72
- data/TODO.diagrams/48-spec-coverage-critical-emitter-components.md +0 -45
- data/TODO.diagrams/49-spec-coverage-orchestrators.md +0 -25
- data/TODO.diagrams/50-examples-parity.md +0 -85
- data/TODO.diagrams/51-property-oy-gap-and-remaining-gaps.md +0 -48
- data/TODO.diagrams/52-marker-registration-architecture.md +0 -89
- data/TODO.diagrams/53-remaining-example-gaps.md +0 -86
- data/TODO.diagrams/54-display-name-nested-classes.md +0 -40
- data/TODO.diagrams/55-visibility-icon-discriminator.md +0 -58
- data/TODO.diagrams/56-package-contents-rendering.md +0 -148
- data/TODO.diagrams/57-instance-specification-model.md +0 -100
- data/TODO.diagrams/58-domain-model-note-text.md +0 -67
- data/TODO.diagrams/59-classes-arrow-discriminator.md +0 -57
- data/TODO.diagrams/60-testschema-association-marker.md +0 -40
- data/TODO.diagrams/61-legend-block-rendering.md +0 -55
- data/TODO.diagrams/61-plateau-parity-gaps.md +0 -59
- data/TODO.diagrams/62-ghost-element-rendering.md +0 -56
- data/TODO.diagrams/63-qualified-name-wrap.md +0 -36
- data/TODO.diagrams/64-property-stereotype-labels.md +0 -22
- data/TODO.diagrams/65-path-coordinate-frame.md +0 -62
- data/TODO.diagrams/67-path-coordinate-frame.md +0 -62
- data/TODO.diagrams/68-inherited-attributes.md +0 -65
- data/TODO.diagrams/69-package-anchor-conditional.md +0 -29
- data/TODO.diagrams/70-mdg-technology-support.md +0 -68
- data/TODO.diagrams/71-off-canvas-parent-ghost.md +0 -45
- data/TODO.diagrams/72-basic-attr-divider-paths.md +0 -39
- data/TODO.diagrams/73-plateau-polygon-gap.md +0 -69
- data/TODO.diagrams/74-plateau-rect-gap.md +0 -22
- data/TODO.diagrams/75-plateau-text-gap.md +0 -39
- data/TODO.diagrams/76-basic-poly-path-gaps.md +0 -41
- data/TODO.diagrams/77-basic-text-overrender.md +0 -40
- data/TODO.diagrams/78-headerlines-ocp-refactor.md +0 -65
- data/TODO.diagrams/79-architecture-backlog.md +0 -65
- data/TODO.diagrams/80-basic-triangle-polygons.md +0 -51
- data/TODO.diagrams/81-plateau-path-overrender.md +0 -53
- data/TODO.diagrams/82-appearance-canvas-offset.md +0 -54
- data/TODO.diagrams/83-3d-diagram-subtitle.md +0 -58
- data/TODO.diagrams/84-canvas-offset-mismatches.md +0 -61
- data/TODO.diagrams/85-phantom-property-overrender.md +0 -95
- data/TODO.diagrams/86-foreign-package-rule.md +0 -62
- data/TODO.diagrams/87-internal-tech-encryption.md +0 -80
- data/TODO.diagrams/EXAMPLES_STATUS.md +0 -88
- data/TODO.diagrams/README.md +0 -69
- data/TODO.diagrams/STATUS.md +0 -73
- data/TODO.fixup/01-default-grouped-paths.md +0 -34
- data/TODO.fixup/02-marker-consolidation-per-connector.md +0 -20
- data/TODO.fixup/03-diagram-font-inference.md +0 -28
- data/TODO.fixup/04-extract-bounds-calculator.md +0 -25
- data/TODO.fixup/05-marker-registry-ocp.md +0 -32
- data/TODO.fixup/06-connector-path-bend-routing.md +0 -28
- data/TODO.fixup/07-edge-attachment-formula.md +0 -22
- data/TODO.fixup/08-visual-diff-harness.md +0 -28
- data/TODO.fixup/09-extract-element-compartments.md +0 -34
- data/TODO.fixup/10-canvas-width-overshoot-fix.md +0 -20
- data/TODO.fixup/11-layer-sequencer-extraction.md +0 -18
- data/TODO.fixup/12-path-style-harmony.md +0 -23
- data/TODO.fixup/13-datatype-stereotype-fallback.md +0 -28
- data/TODO.fixup/14-ea-exe-reverse-engineering-notes.md +0 -56
- data/TODO.fixup/15-enumeration-literal-rendering.md +0 -30
- data/TODO.fixup/16-operation-compartment-rendering.md +0 -42
- data/TODO.fixup/17-path-count-calibration.md +0 -27
- data/TODO.fixup/18-polygon-count-calibration.md +0 -32
- data/TODO.fixup/19-rect-count-undershoot-investigation.md +0 -40
- data/TODO.fixup/20-stereotype-color-from-classifier.md +0 -18
- data/TODO.fixup/21-visibility-filter-for-properties.md +0 -24
- data/TODO.fixup/22-multiplicity-display-rule-calibration.md +0 -25
- data/TODO.fixup/23-diagram-frame-title-element.md +0 -31
- data/TODO.fixup/24-note-element-rendering.md +0 -23
- data/TODO.fixup/25-ea-exe-disassembly-findings.md +0 -177
- data/TODO.fixup/26-svg-renderer-architecture.md +0 -78
- data/TODO.fixup/27-svg-element-emitters-disassembly.md +0 -135
- data/TODO.fixup/28-geometry-parser-identification.md +0 -57
- data/TODO.fixup/29-qea-svg-xmi-triple-comparison.md +0 -185
- data/TODO.fixup/30-theme-system-stub.md +0 -46
- data/TODO.fixup/31-theme-value-object-registry.md +0 -17
- data/TODO.fixup/32-styleex-on-diagram-model.md +0 -22
- data/TODO.fixup/33-text-encoding-decimals-rotation.md +0 -29
- data/TODO.fixup/34-per-type-fill-via-theme.md +0 -18
- data/TODO.fixup/35-stroke-width-per-theme.md +0 -7
- data/TODO.fixup/36-qea-rect-coord-normalization.md +0 -24
- data/TODO.fixup/37-package-shape-rendering.md +0 -22
- data/TODO.fixup/38-note-element-rendering.md +0 -15
- data/TODO.fixup/39-styleex-flag-honoring.md +0 -25
- data/TODO.fixup/40-connector-dashed-lines.md +0 -15
- data/TODO.fixup/41-diagram-frame-showborder-detection.md +0 -23
- data/TODO.fixup/42-textrenderer-centralization.md +0 -10
- data/TODO.fixup/43-colorresolver-unification.md +0 -24
- data/TODO.fixup/44-theme-aware-textrenderer.md +0 -17
- data/TODO.fixup/45-theme-aware-fontresolver.md +0 -22
- data/TODO.fixup/46-style-parameterized-by-theme.md +0 -21
- data/TODO.fixup/47-canvas-frame-inset.md +0 -19
- data/TODO.fixup/48-background-rect-format.md +0 -15
- data/TODO.fixup/49-all-samples-integration-test.md +0 -17
- data/TODO.fixup/50-svg-emitter-architecture-docs.md +0 -33
- data/TODO.fixup/51-promote-theme-to-ea-namespace.md +0 -28
- data/TODO.fixup/52-theme-definition-integrated-fills.md +0 -26
- data/TODO.fixup/53-theme-registry-yaml-loading.md +0 -50
- data/TODO.fixup/54-diagram-theme-api.md +0 -50
- data/TODO.fixup/55-update-eaemitter-to-ea-theme.md +0 -23
- data/TODO.fixup/56-theme-yaml-files.md +0 -65
- data/TODO.fixup/57-theme-specs-and-integration.md +0 -27
- data/TODO.fixup/58-ea-entry-point-theme-autoload.md +0 -20
- data/TODO.fixup/59-thread-theme-through-all-renderers.md +0 -29
- data/TODO.fixup/60-cli-theme-option.md +0 -22
- data/TODO.fixup/61-theme-validation.md +0 -28
- data/TODO.fixup/62-theme-builder-dsl.md +0 -31
- data/TODO.fixup/63-theme-integration-rendering-spec.md +0 -24
- data/TODO.fixup/64-theme-writeback-styleex.md +0 -21
- data/TODO.fixup/65-remove-dead-eaemitter-theme-files.md +0 -30
- data/TODO.fixup/66-styleex-writeback.md +0 -22
- data/TODO.fixup/67-delete-dead-code.md +0 -28
- data/TODO.fixup/68-figure-parity-status.md +0 -82
- data/TODO.fixup/69-package-polygon-rendering.md +0 -54
- data/TODO.fixup/70-tagged-values-compartment.md +0 -39
- data/TODO.fixup/71-auto-detect-theme-from-xmi.md +0 -37
- data/TODO.fixup/72-sample-exports-as-regression-specs.md +0 -37
- data/TODO.fixup/73-delete-dead-transformations.md +0 -14
- data/TODO.fixup/74-delete-dead-diagram-renderers.md +0 -18
- data/TODO.fixup/75-visibility-legend-icons.md +0 -23
- data/TODO.fixup/76-plateau-text-undershoot.md +0 -27
- data/TODO.fixup/77-canvas-frame-margins.md +0 -28
- data/TODO.fixup/78-note-element-rendering.md +0 -30
- data/TODO.fixup/79-operation-compartment-rendering.md +0 -27
- data/TODO.fixup/80-tagged-value-stereotype-visibility.md +0 -37
- data/TODO.fixup/81-figure-parity-current-state.md +0 -63
- data/TODO.next/00-publish-blocking-bugs.md +0 -74
- data/TODO.next/01-standalone-ea-gem-identity.md +0 -76
- data/TODO.next/02-optional-lutaml-uml-dependency.md +0 -47
- data/TODO.next/03-slim-lutaml-uml.md +0 -79
- data/TODO.next/04-loader-registry-for-uml-repository.md +0 -49
- data/TODO.next/05-extract-shared-transformer-methods.md +0 -14
- data/TODO.next/06-deduplicate-stereotype-loading.md +0 -17
- data/TODO.next/07-transformer-registry-in-factory.md +0 -20
- data/TODO.next/08-connector-type-registry.md +0 -27
- data/TODO.next/09-element-renderer-registry.md +0 -29
- data/TODO.next/10-connector-renderer-lsp.md +0 -18
- data/TODO.next/11-consolidate-style-knowledge.md +0 -33
- data/TODO.next/12-data-driven-from-db-row.md +0 -24
- data/TODO.next/13-extract-duplicated-methods.md +0 -17
- data/TODO.next/14-remove-dead-code.md +0 -10
- data/TODO.next/15-narrow-exception-handling.md +0 -39
- data/TODO.next/16-repository-indexes.md +0 -28
- data/TODO.next/17-fix-spec-quality-and-coverage.md +0 -32
- data/TODO.next/18-xmi-tool-specific-parser-architecture.md +0 -172
- data/TODO.next/19-fix-ea-gemspec-dependency-declarations.md +0 -56
- data/TODO.next/20-ci-requires-unreleased-lutaml-uml.md +0 -63
- data/TODO.next/21-qeatoxmi-via-xmi-gem.md +0 -340
- data/TODO.next/22-strip-respond-to-from-qeatoxmi-specs.md +0 -32
- data/TODO.next/23-cleanup-idallocator.md +0 -41
- data/TODO.next/24-tighten-parity-specs.md +0 -42
- data/TODO.next/25-sparx-eaid-format-for-synthesized-ids.md +0 -62
- data/TODO.next/26-fix-uppervalue-lowervalue-count-gap.md +0 -51
- data/TODO.next/27-extract-cardinality-module.md +0 -68
- data/TODO.next/28-extract-xml-sanitizer.md +0 -51
- data/TODO.next/29-ocp-registry-for-classifier-builders.md +0 -58
- data/TODO.next/30-struct-return-for-association-end.md +0 -37
- data/TODO.next/31-idallocator-specs.md +0 -27
- data/TODO.next/32-phase2-gap-sentinel-specs.md +0 -53
- data/TODO.next/33-normalize-lower-cleanup.md +0 -30
- data/TODO.next/34-document-member-end-order-rt-prefix.md +0 -29
- data/TODO.next/35-walk-runstate-for-instance-slots.md +0 -76
- data/TODO.next/36-wire-interface-realization.md +0 -50
- data/TODO.next/37-visibility-returns-real-booleans.md +0 -36
- data/TODO.next/38-xmi-parser-feature-parity.md +0 -75
- data/TODO.next/39-ea-spa-cli-command.md +0 -53
- data/TODO.next/40-drop-lur-only-check-in-diagrams-extract.md +0 -56
- data/TODO.refactor/01-ea-model-domain-layer.md +0 -64
- data/TODO.refactor/02-ea-model-qea-source-adapter.md +0 -58
- data/TODO.refactor/03-ea-model-xmi-source-adapter.md +0 -33
- data/TODO.refactor/04-ea-model-annotations-tagged-values.md +0 -34
- data/TODO.refactor/05-ea-model-diagrams-coordinates.md +0 -37
- data/TODO.refactor/06-spa-projection-layer.md +0 -45
- data/TODO.refactor/07-spa-sharded-output-strategy.md +0 -28
- data/TODO.refactor/08-spa-build-time-search-index.md +0 -24
- data/TODO.refactor/09-spa-frontend-data-contract.md +0 -25
- data/TODO.refactor/10-spa-cli-command-rework.md +0 -34
- data/TODO.refactor/11-spa-perf-benchmark.md +0 -23
- data/TODO.refactor/12-lutaml-uml-static-site-deprecation.md +0 -28
- data/TODO.release/01-release-lutaml-uml-030.md +0 -30
- data/TODO.release/02-fix-lutaml-meta-gem-requires.md +0 -33
- data/TODO.release/03-release-lutaml-0110.md +0 -20
- data/TODO.release/04-update-ea-gemspec-pin.md +0 -23
- data/TODO.release/05-remove-ea-conditional-requires.md +0 -48
- data/TODO.release/06-release-ea-020.md +0 -20
- data/TODO.release/07-migrate-plateau-model.md +0 -35
- data/TODO.release/README.md +0 -15
- data/docs/ea_to_uml_type_mapping.md +0 -89
- data/docs/xmi_qea_conversion_capabilities.md +0 -99
- data/examples/exports/20251010_current_plateau_v5/UML_EA.DTD +0 -6856
- data/examples/exports/20251010_current_plateau_v5/model.xml +0 -96709
- data/examples/exports/ArcGISWorkspace_template/UML_EA.DTD +0 -6856
- data/examples/exports/ArcGISWorkspace_template/model.xml +0 -1427
- data/examples/exports/UmlModel_template/UML_EA.DTD +0 -6856
- data/examples/exports/UmlModel_template/model.xml +0 -23
- data/examples/exports/basic/UML_EA.DTD +0 -6856
- data/examples/exports/basic/model.xml +0 -8039
- data/examples/exports/simple/UML_EA.DTD +0 -6856
- data/examples/exports/simple/model.xml +0 -585
- data/examples/exports/simple_example/UML_EA.DTD +0 -6856
- data/examples/exports/simple_example/model.xml +0 -23
- data/examples/exports/test/UML_EA.DTD +0 -6856
- data/examples/exports/test/model.xml +0 -1638
- data/examples/lur/20251010_current_plateau_v5.1.lur +0 -0
- data/examples/lur/basic.lur +0 -0
- data/examples/lur/test-output.lur +0 -0
- data/examples/lur/test.lur +0 -0
- data/examples/lur_basic_usage.rb +0 -221
- data/examples/lur_cli_workflow.rb +0 -263
- data/examples/lur_statistics.rb +0 -326
- data/examples/qea/20251010_current_plateau_v5.1.qea +0 -0
- data/examples/qea/ArcGISWorkspace_template.qea +0 -0
- data/examples/qea/README_qea_parser.adoc +0 -230
- data/examples/qea/UmlModel_template.qea +0 -0
- data/examples/qea/basic.qea +0 -0
- data/examples/qea/simple.qea +0 -0
- data/examples/qea/simple_example.qea +0 -0
- data/examples/qea/test.qea +0 -0
- data/examples/qea_standalone_query.rb +0 -73
- data/examples/qea_to_repository.rb +0 -51
- data/examples/smoke_test_real_qea.rb +0 -81
- data/frontend/README.md +0 -51
- data/frontend/dist/app.iife.js +0 -24
- data/frontend/dist/style.css +0 -1
- data/frontend/index.html +0 -26
- data/frontend/package-lock.json +0 -2359
- data/frontend/package.json +0 -26
- data/frontend/src/App.vue +0 -63
- data/frontend/src/app.ts +0 -8
- data/frontend/src/components/AppHeader.vue +0 -154
- data/frontend/src/components/AppSidebar.vue +0 -119
- data/frontend/src/components/ClassDetails.vue +0 -230
- data/frontend/src/components/DiagramView.vue +0 -92
- data/frontend/src/components/PackageDetails.vue +0 -133
- data/frontend/src/components/PackageTreeNode.vue +0 -69
- data/frontend/src/components/SearchResults.vue +0 -61
- data/frontend/src/components/WelcomeView.vue +0 -87
- data/frontend/src/shims-vue.d.ts +0 -5
- data/frontend/src/stores/dataStore.ts +0 -173
- data/frontend/src/stores/uiStore.ts +0 -166
- data/frontend/src/styles/main.css +0 -1566
- data/frontend/src/types.ts +0 -218
- data/frontend/tests/e2e/__screenshots__/new-dark-mode.png +0 -0
- data/frontend/tests/e2e/__screenshots__/new-package-details.png +0 -0
- data/frontend/tests/e2e/__screenshots__/new-search-modal.png +0 -0
- data/frontend/tests/e2e/__screenshots__/new-sidebar-collapsed.png +0 -0
- data/frontend/tests/e2e/__screenshots__/new-welcome.png +0 -0
- data/frontend/tests/e2e/render.spec.ts +0 -188
- data/frontend/tsconfig.json +0 -20
- data/frontend/vite.config.ts +0 -26
- data/frontend/vitest.config.ts +0 -8
- data/memory/deviations.md +0 -3
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-1-themes-list.png +0 -0
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-1-themes.png +0 -0
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-2-gradients.png +0 -0
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-3-colors.png +0 -0
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-4-appearance-fonts.png +0 -0
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-4-appearance.png +0 -0
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-5-behavior.png +0 -0
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-6-sequence.png +0 -0
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram.png +0 -0
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-2-objects.png +0 -0
- data/reference-docs/enterprise-architect-appearance-dialogs/appearance-3-links.png +0 -0
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ea
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.151
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lutaml-model
|
|
@@ -176,326 +176,10 @@ extensions: []
|
|
|
176
176
|
extra_rdoc_files: []
|
|
177
177
|
files:
|
|
178
178
|
- CHANGELOG.md
|
|
179
|
-
- CLAUDE.md
|
|
180
179
|
- CODE_OF_CONDUCT.md
|
|
180
|
+
- LICENSE.md
|
|
181
181
|
- README.adoc
|
|
182
182
|
- README.md
|
|
183
|
-
- Rakefile
|
|
184
|
-
- TODO.complete/01-t-xref-parsing.md
|
|
185
|
-
- TODO.complete/02-per-label-geometry.md
|
|
186
|
-
- TODO.complete/03-object-properties-constraints.md
|
|
187
|
-
- TODO.complete/04-operation-params.md
|
|
188
|
-
- TODO.complete/05-pdata-flag-matrix.md
|
|
189
|
-
- TODO.complete/06-emf-image-rendering.md
|
|
190
|
-
- TODO.complete/07-auxiliary-tables.md
|
|
191
|
-
- TODO.complete/10-mdg-stereotype-registry.md
|
|
192
|
-
- TODO.complete/11-gml-xsd-generation.md
|
|
193
|
-
- TODO.complete/13-shapescript-interpreter.md
|
|
194
|
-
- TODO.complete/20-cli-diff.md
|
|
195
|
-
- TODO.complete/21-cli-render.md
|
|
196
|
-
- TODO.complete/22-cli-export.md
|
|
197
|
-
- TODO.complete/23-cli-mdg.md
|
|
198
|
-
- TODO.complete/30-headerlines-ocp-refactor.md
|
|
199
|
-
- TODO.complete/31-public-send-cleanup.md
|
|
200
|
-
- TODO.complete/32-spec-coverage.md
|
|
201
|
-
- TODO.complete/33-blocked-parity-gaps.md
|
|
202
|
-
- TODO.complete/36-stereotype-icon-wiring.md
|
|
203
|
-
- TODO.complete/37-cli-lint.md
|
|
204
|
-
- TODO.complete/38-cli-query.md
|
|
205
|
-
- TODO.complete/39-cli-info.md
|
|
206
|
-
- TODO.complete/40-ocl-evaluator.md
|
|
207
|
-
- TODO.complete/41-round-trip-spec.md
|
|
208
|
-
- TODO.complete/42-html-diff-report.md
|
|
209
|
-
- TODO.complete/43-json-schema-export.md
|
|
210
|
-
- TODO.complete/44-remaining-qea-tables.md
|
|
211
|
-
- TODO.complete/45-shapescript-extensions.md
|
|
212
|
-
- TODO.complete/46-xsd-consolidation.md
|
|
213
|
-
- TODO.complete/47-headerlines-legacy-removal.md
|
|
214
|
-
- TODO.complete/51-remove-respond-to.md
|
|
215
|
-
- TODO.complete/52-xsd-decouple-fixtures.md
|
|
216
|
-
- TODO.complete/53-xmi-public-send-cleanup.md
|
|
217
|
-
- TODO.complete/54-wire-stereotype-icon-renderer.md
|
|
218
|
-
- TODO.complete/55-wire-shapescript.md
|
|
219
|
-
- TODO.complete/56-wire-emf-renderer.md
|
|
220
|
-
- TODO.complete/57-wire-ocl-evaluator.md
|
|
221
|
-
- TODO.complete/58-diff-modifications.md
|
|
222
|
-
- TODO.complete/59-delete-toy-xmi-export.md
|
|
223
|
-
- TODO.complete/60-curate-json-export.md
|
|
224
|
-
- TODO.complete/61-plantuml-relationships.md
|
|
225
|
-
- TODO.complete/62-changelog.md
|
|
226
|
-
- TODO.complete/63-dependabot-fix.md
|
|
227
|
-
- TODO.complete/64-qeatoxmi-connectors.md
|
|
228
|
-
- TODO.complete/65-qeatoxmi-diagrams.md
|
|
229
|
-
- TODO.complete/66-qeatoxmi-style-tags-docs.md
|
|
230
|
-
- TODO.complete/67-ocl-collection-ops.md
|
|
231
|
-
- TODO.complete/68-ocl-comparison-ops.md
|
|
232
|
-
- TODO.complete/69-spec-new-models.md
|
|
233
|
-
- TODO.complete/70-specs-for-all-models.md
|
|
234
|
-
- TODO.complete/71-autoload-audit.md
|
|
235
|
-
- TODO.complete/72-extension-serializer-ocp-naming.md
|
|
236
|
-
- TODO.complete/73-ocl-validator-latent-bugs.md
|
|
237
|
-
- TODO.complete/74-visibility-symbol-dry.md
|
|
238
|
-
- TODO.complete/75-database-table-collection-registry.md
|
|
239
|
-
- TODO.complete/76-stale-todo-cleanup.md
|
|
240
|
-
- TODO.complete/77-eliminate-banned-patterns-from-specs.md
|
|
241
|
-
- TODO.complete/78-mdg-stereotype-emission.md
|
|
242
|
-
- TODO.complete/79-equivalence-fixes.md
|
|
243
|
-
- TODO.complete/80-performance-extension-serializer-indexes.md
|
|
244
|
-
- TODO.complete/81-dry-scope-guid-extraction.md
|
|
245
|
-
- TODO.complete/82-public-send-audit-conclusion.md
|
|
246
|
-
- TODO.complete/83-dry-shared-xml-escape-guid-format.md
|
|
247
|
-
- TODO.complete/84-ocp-markers-shape-registry.md
|
|
248
|
-
- TODO.complete/85-frozen-literal-rubocop-normalize-type-spec.md
|
|
249
|
-
- TODO.complete/86-frozen-sweep-lint-query-specs.md
|
|
250
|
-
- TODO.complete/STATUS.md
|
|
251
|
-
- TODO.diagrams/01-svg-measurement-harness.md
|
|
252
|
-
- TODO.diagrams/01-xmi-extension-elements-parsing.md
|
|
253
|
-
- TODO.diagrams/02-diagram-element-rich-model.md
|
|
254
|
-
- TODO.diagrams/02-polygon-over-rendering.md
|
|
255
|
-
- TODO.diagrams/03-ea-style-svg-emitter.md
|
|
256
|
-
- TODO.diagrams/03-text-over-rendering.md
|
|
257
|
-
- TODO.diagrams/04-connector-routing-from-soid-eoid.md
|
|
258
|
-
- TODO.diagrams/04-rect-under-rendering.md
|
|
259
|
-
- TODO.diagrams/05-canvas-dimension-parity.md
|
|
260
|
-
- TODO.diagrams/05-marker-rendering-per-relationship-type.md
|
|
261
|
-
- TODO.diagrams/06-connector-labels.md
|
|
262
|
-
- TODO.diagrams/06-group-layering-parity.md
|
|
263
|
-
- TODO.diagrams/07-canvas-size-and-viewbox.md
|
|
264
|
-
- TODO.diagrams/07-text-content-fidelity.md
|
|
265
|
-
- TODO.diagrams/08-qea-direct-pipeline.md
|
|
266
|
-
- TODO.diagrams/08-visual-regression-harness.md
|
|
267
|
-
- TODO.diagrams/09-cli-render-all-diagrams.md
|
|
268
|
-
- TODO.diagrams/10-stereotype-color-config.md
|
|
269
|
-
- TODO.diagrams/11-elkrb-auto-layout-integration.md
|
|
270
|
-
- TODO.diagrams/12-connector-labels.md
|
|
271
|
-
- TODO.diagrams/12-per-entity-svg-layer-ordering.md
|
|
272
|
-
- TODO.diagrams/13-marker-polygon-vs-path-dispatch.md
|
|
273
|
-
- TODO.diagrams/13-per-text-type-font-sizes.md
|
|
274
|
-
- TODO.diagrams/14-center-header-text.md
|
|
275
|
-
- TODO.diagrams/14-filter-diagram-frame-elements.md
|
|
276
|
-
- TODO.diagrams/15-deep-dead-code-audit.md
|
|
277
|
-
- TODO.diagrams/15-per-element-font-from-style.md
|
|
278
|
-
- TODO.diagrams/16-canvas-marker-extent.md
|
|
279
|
-
- TODO.diagrams/16-document-remaining-parity-gaps.md
|
|
280
|
-
- TODO.diagrams/17-italic-abstract-classes.md
|
|
281
|
-
- TODO.diagrams/17-remaining-parity-gaps.md
|
|
282
|
-
- TODO.diagrams/18-canvas-from-image-bounds.md
|
|
283
|
-
- TODO.diagrams/18-property-lookup-index.md
|
|
284
|
-
- TODO.diagrams/19-connector-sx-sy-routing.md
|
|
285
|
-
- TODO.diagrams/19-replace-respond-to-with-is-a.md
|
|
286
|
-
- TODO.diagrams/20-split-labels-emitter.md
|
|
287
|
-
- TODO.diagrams/20-visibility-glyph-font-encoding.md
|
|
288
|
-
- TODO.diagrams/21-aggregation-navigability-arrow.md
|
|
289
|
-
- TODO.diagrams/21-auto-generated-legend-block.md
|
|
290
|
-
- TODO.diagrams/22-ghost-element-discriminator.md
|
|
291
|
-
- TODO.diagrams/22-style-based-path-grouping.md
|
|
292
|
-
- TODO.diagrams/23-marker-polygon-deduplication.md
|
|
293
|
-
- TODO.diagrams/23-multiplicity-label-positioning.md
|
|
294
|
-
- TODO.diagrams/24-marker-anchor-structural.md
|
|
295
|
-
- TODO.diagrams/24-track-marker-anchors-structurally.md
|
|
296
|
-
- TODO.diagrams/24-truncate-properties-to-fit-box.md
|
|
297
|
-
- TODO.diagrams/26-phantom-general-parent-rendering.md
|
|
298
|
-
- TODO.diagrams/27-path-grouping-mode-detection.md
|
|
299
|
-
- TODO.diagrams/28-architecture-cleanup-batch.md
|
|
300
|
-
- TODO.diagrams/30-decompose-elements-groups-for.md
|
|
301
|
-
- TODO.diagrams/32-examples-coverage-batch.md
|
|
302
|
-
- TODO.diagrams/36-instance-specification-model.md
|
|
303
|
-
- TODO.diagrams/37-element-icon-decorations.md
|
|
304
|
-
- TODO.diagrams/38-html-note-and-receptions.md
|
|
305
|
-
- TODO.diagrams/39-property-stereotype-discriminator.md
|
|
306
|
-
- TODO.diagrams/40-standalone-1-discriminator.md
|
|
307
|
-
- TODO.diagrams/41-xmi-to-svg-pipeline.md
|
|
308
|
-
- TODO.diagrams/42-close-all-parity-deltas.md
|
|
309
|
-
- TODO.diagrams/43-marker-deduplication-strategy.md
|
|
310
|
-
- TODO.diagrams/44-element-icon-decorations.md
|
|
311
|
-
- TODO.diagrams/45-phantom-parent-class-boxes.md
|
|
312
|
-
- TODO.diagrams/46-user-drawn-legend-swatches.md
|
|
313
|
-
- TODO.diagrams/47-attribute-line-fidelity.md
|
|
314
|
-
- TODO.diagrams/48-spec-coverage-critical-emitter-components.md
|
|
315
|
-
- TODO.diagrams/49-spec-coverage-orchestrators.md
|
|
316
|
-
- TODO.diagrams/50-examples-parity.md
|
|
317
|
-
- TODO.diagrams/51-property-oy-gap-and-remaining-gaps.md
|
|
318
|
-
- TODO.diagrams/52-marker-registration-architecture.md
|
|
319
|
-
- TODO.diagrams/53-remaining-example-gaps.md
|
|
320
|
-
- TODO.diagrams/54-display-name-nested-classes.md
|
|
321
|
-
- TODO.diagrams/55-visibility-icon-discriminator.md
|
|
322
|
-
- TODO.diagrams/56-package-contents-rendering.md
|
|
323
|
-
- TODO.diagrams/57-instance-specification-model.md
|
|
324
|
-
- TODO.diagrams/58-domain-model-note-text.md
|
|
325
|
-
- TODO.diagrams/59-classes-arrow-discriminator.md
|
|
326
|
-
- TODO.diagrams/60-testschema-association-marker.md
|
|
327
|
-
- TODO.diagrams/61-legend-block-rendering.md
|
|
328
|
-
- TODO.diagrams/61-plateau-parity-gaps.md
|
|
329
|
-
- TODO.diagrams/62-ghost-element-rendering.md
|
|
330
|
-
- TODO.diagrams/63-qualified-name-wrap.md
|
|
331
|
-
- TODO.diagrams/64-property-stereotype-labels.md
|
|
332
|
-
- TODO.diagrams/65-path-coordinate-frame.md
|
|
333
|
-
- TODO.diagrams/67-path-coordinate-frame.md
|
|
334
|
-
- TODO.diagrams/68-inherited-attributes.md
|
|
335
|
-
- TODO.diagrams/69-package-anchor-conditional.md
|
|
336
|
-
- TODO.diagrams/70-mdg-technology-support.md
|
|
337
|
-
- TODO.diagrams/71-off-canvas-parent-ghost.md
|
|
338
|
-
- TODO.diagrams/72-basic-attr-divider-paths.md
|
|
339
|
-
- TODO.diagrams/73-plateau-polygon-gap.md
|
|
340
|
-
- TODO.diagrams/74-plateau-rect-gap.md
|
|
341
|
-
- TODO.diagrams/75-plateau-text-gap.md
|
|
342
|
-
- TODO.diagrams/76-basic-poly-path-gaps.md
|
|
343
|
-
- TODO.diagrams/77-basic-text-overrender.md
|
|
344
|
-
- TODO.diagrams/78-headerlines-ocp-refactor.md
|
|
345
|
-
- TODO.diagrams/79-architecture-backlog.md
|
|
346
|
-
- TODO.diagrams/80-basic-triangle-polygons.md
|
|
347
|
-
- TODO.diagrams/81-plateau-path-overrender.md
|
|
348
|
-
- TODO.diagrams/82-appearance-canvas-offset.md
|
|
349
|
-
- TODO.diagrams/83-3d-diagram-subtitle.md
|
|
350
|
-
- TODO.diagrams/84-canvas-offset-mismatches.md
|
|
351
|
-
- TODO.diagrams/85-phantom-property-overrender.md
|
|
352
|
-
- TODO.diagrams/86-foreign-package-rule.md
|
|
353
|
-
- TODO.diagrams/87-internal-tech-encryption.md
|
|
354
|
-
- TODO.diagrams/EXAMPLES_STATUS.md
|
|
355
|
-
- TODO.diagrams/README.md
|
|
356
|
-
- TODO.diagrams/STATUS.md
|
|
357
|
-
- TODO.fixup/01-default-grouped-paths.md
|
|
358
|
-
- TODO.fixup/02-marker-consolidation-per-connector.md
|
|
359
|
-
- TODO.fixup/03-diagram-font-inference.md
|
|
360
|
-
- TODO.fixup/04-extract-bounds-calculator.md
|
|
361
|
-
- TODO.fixup/05-marker-registry-ocp.md
|
|
362
|
-
- TODO.fixup/06-connector-path-bend-routing.md
|
|
363
|
-
- TODO.fixup/07-edge-attachment-formula.md
|
|
364
|
-
- TODO.fixup/08-visual-diff-harness.md
|
|
365
|
-
- TODO.fixup/09-extract-element-compartments.md
|
|
366
|
-
- TODO.fixup/10-canvas-width-overshoot-fix.md
|
|
367
|
-
- TODO.fixup/11-layer-sequencer-extraction.md
|
|
368
|
-
- TODO.fixup/12-path-style-harmony.md
|
|
369
|
-
- TODO.fixup/13-datatype-stereotype-fallback.md
|
|
370
|
-
- TODO.fixup/14-ea-exe-reverse-engineering-notes.md
|
|
371
|
-
- TODO.fixup/15-enumeration-literal-rendering.md
|
|
372
|
-
- TODO.fixup/16-operation-compartment-rendering.md
|
|
373
|
-
- TODO.fixup/17-path-count-calibration.md
|
|
374
|
-
- TODO.fixup/18-polygon-count-calibration.md
|
|
375
|
-
- TODO.fixup/19-rect-count-undershoot-investigation.md
|
|
376
|
-
- TODO.fixup/20-stereotype-color-from-classifier.md
|
|
377
|
-
- TODO.fixup/21-visibility-filter-for-properties.md
|
|
378
|
-
- TODO.fixup/22-multiplicity-display-rule-calibration.md
|
|
379
|
-
- TODO.fixup/23-diagram-frame-title-element.md
|
|
380
|
-
- TODO.fixup/24-note-element-rendering.md
|
|
381
|
-
- TODO.fixup/25-ea-exe-disassembly-findings.md
|
|
382
|
-
- TODO.fixup/26-svg-renderer-architecture.md
|
|
383
|
-
- TODO.fixup/27-svg-element-emitters-disassembly.md
|
|
384
|
-
- TODO.fixup/28-geometry-parser-identification.md
|
|
385
|
-
- TODO.fixup/29-qea-svg-xmi-triple-comparison.md
|
|
386
|
-
- TODO.fixup/30-theme-system-stub.md
|
|
387
|
-
- TODO.fixup/31-theme-value-object-registry.md
|
|
388
|
-
- TODO.fixup/32-styleex-on-diagram-model.md
|
|
389
|
-
- TODO.fixup/33-text-encoding-decimals-rotation.md
|
|
390
|
-
- TODO.fixup/34-per-type-fill-via-theme.md
|
|
391
|
-
- TODO.fixup/35-stroke-width-per-theme.md
|
|
392
|
-
- TODO.fixup/36-qea-rect-coord-normalization.md
|
|
393
|
-
- TODO.fixup/37-package-shape-rendering.md
|
|
394
|
-
- TODO.fixup/38-note-element-rendering.md
|
|
395
|
-
- TODO.fixup/39-styleex-flag-honoring.md
|
|
396
|
-
- TODO.fixup/40-connector-dashed-lines.md
|
|
397
|
-
- TODO.fixup/41-diagram-frame-showborder-detection.md
|
|
398
|
-
- TODO.fixup/42-textrenderer-centralization.md
|
|
399
|
-
- TODO.fixup/43-colorresolver-unification.md
|
|
400
|
-
- TODO.fixup/44-theme-aware-textrenderer.md
|
|
401
|
-
- TODO.fixup/45-theme-aware-fontresolver.md
|
|
402
|
-
- TODO.fixup/46-style-parameterized-by-theme.md
|
|
403
|
-
- TODO.fixup/47-canvas-frame-inset.md
|
|
404
|
-
- TODO.fixup/48-background-rect-format.md
|
|
405
|
-
- TODO.fixup/49-all-samples-integration-test.md
|
|
406
|
-
- TODO.fixup/50-svg-emitter-architecture-docs.md
|
|
407
|
-
- TODO.fixup/51-promote-theme-to-ea-namespace.md
|
|
408
|
-
- TODO.fixup/52-theme-definition-integrated-fills.md
|
|
409
|
-
- TODO.fixup/53-theme-registry-yaml-loading.md
|
|
410
|
-
- TODO.fixup/54-diagram-theme-api.md
|
|
411
|
-
- TODO.fixup/55-update-eaemitter-to-ea-theme.md
|
|
412
|
-
- TODO.fixup/56-theme-yaml-files.md
|
|
413
|
-
- TODO.fixup/57-theme-specs-and-integration.md
|
|
414
|
-
- TODO.fixup/58-ea-entry-point-theme-autoload.md
|
|
415
|
-
- TODO.fixup/59-thread-theme-through-all-renderers.md
|
|
416
|
-
- TODO.fixup/60-cli-theme-option.md
|
|
417
|
-
- TODO.fixup/61-theme-validation.md
|
|
418
|
-
- TODO.fixup/62-theme-builder-dsl.md
|
|
419
|
-
- TODO.fixup/63-theme-integration-rendering-spec.md
|
|
420
|
-
- TODO.fixup/64-theme-writeback-styleex.md
|
|
421
|
-
- TODO.fixup/65-remove-dead-eaemitter-theme-files.md
|
|
422
|
-
- TODO.fixup/66-styleex-writeback.md
|
|
423
|
-
- TODO.fixup/67-delete-dead-code.md
|
|
424
|
-
- TODO.fixup/68-figure-parity-status.md
|
|
425
|
-
- TODO.fixup/69-package-polygon-rendering.md
|
|
426
|
-
- TODO.fixup/70-tagged-values-compartment.md
|
|
427
|
-
- TODO.fixup/71-auto-detect-theme-from-xmi.md
|
|
428
|
-
- TODO.fixup/72-sample-exports-as-regression-specs.md
|
|
429
|
-
- TODO.fixup/73-delete-dead-transformations.md
|
|
430
|
-
- TODO.fixup/74-delete-dead-diagram-renderers.md
|
|
431
|
-
- TODO.fixup/75-visibility-legend-icons.md
|
|
432
|
-
- TODO.fixup/76-plateau-text-undershoot.md
|
|
433
|
-
- TODO.fixup/77-canvas-frame-margins.md
|
|
434
|
-
- TODO.fixup/78-note-element-rendering.md
|
|
435
|
-
- TODO.fixup/79-operation-compartment-rendering.md
|
|
436
|
-
- TODO.fixup/80-tagged-value-stereotype-visibility.md
|
|
437
|
-
- TODO.fixup/81-figure-parity-current-state.md
|
|
438
|
-
- TODO.next/00-publish-blocking-bugs.md
|
|
439
|
-
- TODO.next/01-standalone-ea-gem-identity.md
|
|
440
|
-
- TODO.next/02-optional-lutaml-uml-dependency.md
|
|
441
|
-
- TODO.next/03-slim-lutaml-uml.md
|
|
442
|
-
- TODO.next/04-loader-registry-for-uml-repository.md
|
|
443
|
-
- TODO.next/05-extract-shared-transformer-methods.md
|
|
444
|
-
- TODO.next/06-deduplicate-stereotype-loading.md
|
|
445
|
-
- TODO.next/07-transformer-registry-in-factory.md
|
|
446
|
-
- TODO.next/08-connector-type-registry.md
|
|
447
|
-
- TODO.next/09-element-renderer-registry.md
|
|
448
|
-
- TODO.next/10-connector-renderer-lsp.md
|
|
449
|
-
- TODO.next/11-consolidate-style-knowledge.md
|
|
450
|
-
- TODO.next/12-data-driven-from-db-row.md
|
|
451
|
-
- TODO.next/13-extract-duplicated-methods.md
|
|
452
|
-
- TODO.next/14-remove-dead-code.md
|
|
453
|
-
- TODO.next/15-narrow-exception-handling.md
|
|
454
|
-
- TODO.next/16-repository-indexes.md
|
|
455
|
-
- TODO.next/17-fix-spec-quality-and-coverage.md
|
|
456
|
-
- TODO.next/18-xmi-tool-specific-parser-architecture.md
|
|
457
|
-
- TODO.next/19-fix-ea-gemspec-dependency-declarations.md
|
|
458
|
-
- TODO.next/20-ci-requires-unreleased-lutaml-uml.md
|
|
459
|
-
- TODO.next/21-qeatoxmi-via-xmi-gem.md
|
|
460
|
-
- TODO.next/22-strip-respond-to-from-qeatoxmi-specs.md
|
|
461
|
-
- TODO.next/23-cleanup-idallocator.md
|
|
462
|
-
- TODO.next/24-tighten-parity-specs.md
|
|
463
|
-
- TODO.next/25-sparx-eaid-format-for-synthesized-ids.md
|
|
464
|
-
- TODO.next/26-fix-uppervalue-lowervalue-count-gap.md
|
|
465
|
-
- TODO.next/27-extract-cardinality-module.md
|
|
466
|
-
- TODO.next/28-extract-xml-sanitizer.md
|
|
467
|
-
- TODO.next/29-ocp-registry-for-classifier-builders.md
|
|
468
|
-
- TODO.next/30-struct-return-for-association-end.md
|
|
469
|
-
- TODO.next/31-idallocator-specs.md
|
|
470
|
-
- TODO.next/32-phase2-gap-sentinel-specs.md
|
|
471
|
-
- TODO.next/33-normalize-lower-cleanup.md
|
|
472
|
-
- TODO.next/34-document-member-end-order-rt-prefix.md
|
|
473
|
-
- TODO.next/35-walk-runstate-for-instance-slots.md
|
|
474
|
-
- TODO.next/36-wire-interface-realization.md
|
|
475
|
-
- TODO.next/37-visibility-returns-real-booleans.md
|
|
476
|
-
- TODO.next/38-xmi-parser-feature-parity.md
|
|
477
|
-
- TODO.next/39-ea-spa-cli-command.md
|
|
478
|
-
- TODO.next/40-drop-lur-only-check-in-diagrams-extract.md
|
|
479
|
-
- TODO.refactor/01-ea-model-domain-layer.md
|
|
480
|
-
- TODO.refactor/02-ea-model-qea-source-adapter.md
|
|
481
|
-
- TODO.refactor/03-ea-model-xmi-source-adapter.md
|
|
482
|
-
- TODO.refactor/04-ea-model-annotations-tagged-values.md
|
|
483
|
-
- TODO.refactor/05-ea-model-diagrams-coordinates.md
|
|
484
|
-
- TODO.refactor/06-spa-projection-layer.md
|
|
485
|
-
- TODO.refactor/07-spa-sharded-output-strategy.md
|
|
486
|
-
- TODO.refactor/08-spa-build-time-search-index.md
|
|
487
|
-
- TODO.refactor/09-spa-frontend-data-contract.md
|
|
488
|
-
- TODO.refactor/10-spa-cli-command-rework.md
|
|
489
|
-
- TODO.refactor/11-spa-perf-benchmark.md
|
|
490
|
-
- TODO.refactor/12-lutaml-uml-static-site-deprecation.md
|
|
491
|
-
- TODO.release/01-release-lutaml-uml-030.md
|
|
492
|
-
- TODO.release/02-fix-lutaml-meta-gem-requires.md
|
|
493
|
-
- TODO.release/03-release-lutaml-0110.md
|
|
494
|
-
- TODO.release/04-update-ea-gemspec-pin.md
|
|
495
|
-
- TODO.release/05-remove-ea-conditional-requires.md
|
|
496
|
-
- TODO.release/06-release-ea-020.md
|
|
497
|
-
- TODO.release/07-migrate-plateau-model.md
|
|
498
|
-
- TODO.release/README.md
|
|
499
183
|
- config/diagram_styles.yml
|
|
500
184
|
- config/model_transformations.yml
|
|
501
185
|
- config/qea_schema.yml
|
|
@@ -503,71 +187,7 @@ files:
|
|
|
503
187
|
- config/themes/119.yml
|
|
504
188
|
- config/themes/39.yml
|
|
505
189
|
- config/themes/default.yml
|
|
506
|
-
- docs/ea_to_uml_type_mapping.md
|
|
507
|
-
- docs/xmi_qea_conversion_capabilities.md
|
|
508
|
-
- examples/exports/20251010_current_plateau_v5/UML_EA.DTD
|
|
509
|
-
- examples/exports/20251010_current_plateau_v5/model.xml
|
|
510
|
-
- examples/exports/ArcGISWorkspace_template/UML_EA.DTD
|
|
511
|
-
- examples/exports/ArcGISWorkspace_template/model.xml
|
|
512
|
-
- examples/exports/UmlModel_template/UML_EA.DTD
|
|
513
|
-
- examples/exports/UmlModel_template/model.xml
|
|
514
|
-
- examples/exports/basic/UML_EA.DTD
|
|
515
|
-
- examples/exports/basic/model.xml
|
|
516
|
-
- examples/exports/simple/UML_EA.DTD
|
|
517
|
-
- examples/exports/simple/model.xml
|
|
518
|
-
- examples/exports/simple_example/UML_EA.DTD
|
|
519
|
-
- examples/exports/simple_example/model.xml
|
|
520
|
-
- examples/exports/test/UML_EA.DTD
|
|
521
|
-
- examples/exports/test/model.xml
|
|
522
|
-
- examples/lur/20251010_current_plateau_v5.1.lur
|
|
523
|
-
- examples/lur/basic.lur
|
|
524
|
-
- examples/lur/test-output.lur
|
|
525
|
-
- examples/lur/test.lur
|
|
526
|
-
- examples/lur_basic_usage.rb
|
|
527
|
-
- examples/lur_cli_workflow.rb
|
|
528
|
-
- examples/lur_statistics.rb
|
|
529
|
-
- examples/qea/20251010_current_plateau_v5.1.qea
|
|
530
|
-
- examples/qea/ArcGISWorkspace_template.qea
|
|
531
|
-
- examples/qea/README_qea_parser.adoc
|
|
532
|
-
- examples/qea/UmlModel_template.qea
|
|
533
|
-
- examples/qea/basic.qea
|
|
534
|
-
- examples/qea/simple.qea
|
|
535
|
-
- examples/qea/simple_example.qea
|
|
536
|
-
- examples/qea/test.qea
|
|
537
|
-
- examples/qea_standalone_query.rb
|
|
538
|
-
- examples/qea_to_repository.rb
|
|
539
|
-
- examples/smoke_test_real_qea.rb
|
|
540
190
|
- exe/ea
|
|
541
|
-
- frontend/README.md
|
|
542
|
-
- frontend/dist/app.iife.js
|
|
543
|
-
- frontend/dist/style.css
|
|
544
|
-
- frontend/index.html
|
|
545
|
-
- frontend/package-lock.json
|
|
546
|
-
- frontend/package.json
|
|
547
|
-
- frontend/src/App.vue
|
|
548
|
-
- frontend/src/app.ts
|
|
549
|
-
- frontend/src/components/AppHeader.vue
|
|
550
|
-
- frontend/src/components/AppSidebar.vue
|
|
551
|
-
- frontend/src/components/ClassDetails.vue
|
|
552
|
-
- frontend/src/components/DiagramView.vue
|
|
553
|
-
- frontend/src/components/PackageDetails.vue
|
|
554
|
-
- frontend/src/components/PackageTreeNode.vue
|
|
555
|
-
- frontend/src/components/SearchResults.vue
|
|
556
|
-
- frontend/src/components/WelcomeView.vue
|
|
557
|
-
- frontend/src/shims-vue.d.ts
|
|
558
|
-
- frontend/src/stores/dataStore.ts
|
|
559
|
-
- frontend/src/stores/uiStore.ts
|
|
560
|
-
- frontend/src/styles/main.css
|
|
561
|
-
- frontend/src/types.ts
|
|
562
|
-
- frontend/tests/e2e/__screenshots__/new-dark-mode.png
|
|
563
|
-
- frontend/tests/e2e/__screenshots__/new-package-details.png
|
|
564
|
-
- frontend/tests/e2e/__screenshots__/new-search-modal.png
|
|
565
|
-
- frontend/tests/e2e/__screenshots__/new-sidebar-collapsed.png
|
|
566
|
-
- frontend/tests/e2e/__screenshots__/new-welcome.png
|
|
567
|
-
- frontend/tests/e2e/render.spec.ts
|
|
568
|
-
- frontend/tsconfig.json
|
|
569
|
-
- frontend/vite.config.ts
|
|
570
|
-
- frontend/vitest.config.ts
|
|
571
191
|
- lib/ea.rb
|
|
572
192
|
- lib/ea/bridge.rb
|
|
573
193
|
- lib/ea/bridge/qea_to_uml.rb
|
|
@@ -811,6 +431,7 @@ files:
|
|
|
811
431
|
- lib/ea/query/builder.rb
|
|
812
432
|
- lib/ea/render.rb
|
|
813
433
|
- lib/ea/render/image_converter.rb
|
|
434
|
+
- lib/ea/rtf.rb
|
|
814
435
|
- lib/ea/shapescript.rb
|
|
815
436
|
- lib/ea/shapescript/parser.rb
|
|
816
437
|
- lib/ea/shapescript/renderer.rb
|
|
@@ -1047,21 +668,10 @@ files:
|
|
|
1047
668
|
- lib/ea/xml_escape.rb
|
|
1048
669
|
- lib/tasks/fonts.rake
|
|
1049
670
|
- lib/tasks/svg_bench.rake
|
|
1050
|
-
- memory/deviations.md
|
|
1051
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-1-themes-list.png
|
|
1052
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-1-themes.png
|
|
1053
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-2-gradients.png
|
|
1054
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-3-colors.png
|
|
1055
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-4-appearance-fonts.png
|
|
1056
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-4-appearance.png
|
|
1057
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-5-behavior.png
|
|
1058
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram-6-sequence.png
|
|
1059
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-1-diagram.png
|
|
1060
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-2-objects.png
|
|
1061
|
-
- reference-docs/enterprise-architect-appearance-dialogs/appearance-3-links.png
|
|
1062
671
|
- sig/ea.rbs
|
|
1063
672
|
homepage: https://github.com/lutaml/ea
|
|
1064
|
-
licenses:
|
|
673
|
+
licenses:
|
|
674
|
+
- BSD-2-Clause
|
|
1065
675
|
metadata:
|
|
1066
676
|
homepage_uri: https://github.com/lutaml/ea
|
|
1067
677
|
source_code_uri: https://github.com/lutaml/ea
|
data/CLAUDE.md
DELETED
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
# CLAUDE.md
|
|
2
|
-
|
|
3
|
-
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
4
|
-
|
|
5
|
-
## Project Overview
|
|
6
|
-
|
|
7
|
-
`ea` is a standalone Ruby gem for parsing **Sparx Enterprise Architect** data
|
|
8
|
-
files. It parses the EA-native QEA format (SQLite database) and Sparx-flavored
|
|
9
|
-
XMI. It does NOT parse generic XMI, MagicDraw XMI, or Papyrus XMI — those have
|
|
10
|
-
different idiosyncrasies and belong in their own parser gems.
|
|
11
|
-
|
|
12
|
-
It optionally integrates with `lutaml-uml` for EA-to-UML model transformation.
|
|
13
|
-
|
|
14
|
-
**Gem identity**: `ea` (not `lutaml-ea`). Namespace: `Ea::*`. This gem is
|
|
15
|
-
usable standalone — `lutaml-uml` is an optional dependency for the UML bridge.
|
|
16
|
-
|
|
17
|
-
**Dependency graph**:
|
|
18
|
-
```
|
|
19
|
-
ea (standalone — lutaml-model, lutaml-path, sqlite3, rubyzip, xmi, nokogiri, liquid, thor)
|
|
20
|
-
└── [optional, dev] lutaml-uml (for Ea::Bridge::* → Lutaml::Uml::Document)
|
|
21
|
-
|
|
22
|
-
lutaml-uml (UML metamodel + UmlRepository + SPA — no dependency on ea)
|
|
23
|
-
└── lutaml-lml
|
|
24
|
-
└── lutaml (meta-bundle)
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
**Architecture — pure parse vs bridge**:
|
|
28
|
-
|
|
29
|
-
The ea gem has TWO entry points:
|
|
30
|
-
|
|
31
|
-
```ruby
|
|
32
|
-
# PURE — no lutaml-uml dependency. Returns internal EA model.
|
|
33
|
-
Ea.parse("model.qea") # → Ea::Qea::Database (SQLite tables as Ruby models)
|
|
34
|
-
Ea.parse("model.xmi") # → Xmi::Sparx::Root (xmi gem's typed Sparx model)
|
|
35
|
-
|
|
36
|
-
# BRIDGE — requires optional lutaml-uml. Returns tool-agnostic UML.
|
|
37
|
-
Ea.to_uml("model.qea") # → Lutaml::Uml::Document (for cross-vendor output)
|
|
38
|
-
Ea.to_uml("model.xmi") # → Lutaml::Uml::Document
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
All lutaml-uml-dependent code lives under `Ea::Bridge::*`:
|
|
42
|
-
- `Ea::Bridge::QeaToUml` — transforms Ea::Qea::Database → Lutaml::Uml::Document
|
|
43
|
-
- `Ea::Bridge::XmiToUml` — transforms Xmi::Sparx::Root → Lutaml::Uml::Document
|
|
44
|
-
|
|
45
|
-
The bridge is lazy-loaded — `require "ea"` does NOT load lutaml-uml. Only calling
|
|
46
|
-
`Ea.to_uml(...)` (or CLI commands that use it: `ea spa`, `ea diagrams extract`)
|
|
47
|
-
triggers the bridge code path.
|
|
48
|
-
|
|
49
|
-
**Native QEA↔XMI round-trip** (no lutaml-uml):
|
|
50
|
-
```
|
|
51
|
-
Ea::Transformers::QeaToXmi — Ea::Qea::Database → Sparx XMI string
|
|
52
|
-
Ea::Transformers::UmlToXmi — Lutaml::Uml::Document → Sparx XMI (bridge)
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**XMI parsing**: `Ea::Xmi::Parser` is hard-wired to the Sparx schema
|
|
56
|
-
(`::Xmi::Sparx::Root.parse_xml`). It cannot parse MagicDraw or Papyrus XMI.
|
|
57
|
-
When registering with `UmlRepository`, `ea` registers `.xmi` with content
|
|
58
|
-
detection (checks for Sparx EA signatures), so it never claims generic `.xmi`.
|
|
59
|
-
See TODO.next/04 and TODO.next/18.
|
|
60
|
-
|
|
61
|
-
## Build & Development Commands
|
|
62
|
-
|
|
63
|
-
```bash
|
|
64
|
-
bin/setup # Install dependencies
|
|
65
|
-
bundle exec rake # Run default task (specs + rubocop)
|
|
66
|
-
bundle exec rake spec # Run tests
|
|
67
|
-
bundle exec rspec # Run tests directly
|
|
68
|
-
bundle exec rspec spec/ea/qea/models/ea_object_spec.rb # Run a single spec file
|
|
69
|
-
bundle exec rubocop # Lint
|
|
70
|
-
bundle exec rake install # Install gem locally
|
|
71
|
-
bin/console # IRB with gem loaded
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## Architecture
|
|
75
|
-
|
|
76
|
-
### Entry Point (`lib/ea.rb`)
|
|
77
|
-
Defines `Ea` module with `autoload` for four subsystems: `Qea`, `Diagram`,
|
|
78
|
-
`Transformations`, `Xmi`. No `require_relative` anywhere in lib — all internal
|
|
79
|
-
loading uses `autoload` defined in the immediate parent namespace file.
|
|
80
|
-
|
|
81
|
-
### Standalone Subsystems (no `lutaml-uml` dependency)
|
|
82
|
-
|
|
83
|
-
#### QEA Core (`lib/ea/qea/`)
|
|
84
|
-
- **Models** (25 files) — EA database row models inheriting from `BaseModel`
|
|
85
|
-
(extends `Lutaml::Model::Serializable`). Each model declares attributes,
|
|
86
|
-
`primary_key_column`, `table_name`, and `COLUMN_MAP`. Zero UML references.
|
|
87
|
-
- **Infrastructure** — `DatabaseConnection` wraps SQLite3, `SchemaReader`/
|
|
88
|
-
`TableReader` for raw DB access.
|
|
89
|
-
- **Services** — `Configuration` loads `config/qea_schema.yml`,
|
|
90
|
-
`DatabaseLoader` loads all tables into a `Database` container.
|
|
91
|
-
- **Database** — Immutable container with lazy-built hash indexes for O(1)
|
|
92
|
-
lookups by ID, GUID, foreign keys. Query methods: `constraints_for_object`,
|
|
93
|
-
`tagged_values_for_element`, `properties_for_object`, `xrefs_for_client`.
|
|
94
|
-
- **Repositories** — `BaseRepository` provides `Enumerable`, `find`, `where`,
|
|
95
|
-
`pluck`, `group_by`. `ObjectRepository` adds type-specific queries.
|
|
96
|
-
|
|
97
|
-
#### Diagram Core (`lib/ea/diagram/`)
|
|
98
|
-
- **Style** — `StyleResolver` is the single entry point. `StyleParser` parses
|
|
99
|
-
EA style strings. `Configuration` loads `config/diagram_styles.yml`.
|
|
100
|
-
- **Layout** — `LayoutEngine` calculates bounds and positioning.
|
|
101
|
-
- **Path** — `PathBuilder` generates SVG path data from connector geometry.
|
|
102
|
-
|
|
103
|
-
### UML-Bridge Subsystems (require `lutaml-uml`)
|
|
104
|
-
|
|
105
|
-
#### QEA Factory (`lib/ea/qea/factory/`)
|
|
106
|
-
- `EaToUmlFactory` orchestrates transformation using `TransformerRegistry`
|
|
107
|
-
for OCP-compliant type dispatch. Each transformer extends `BaseTransformer`.
|
|
108
|
-
`DocumentBuilder` constructs and validates the output `Lutaml::Uml::Document`.
|
|
109
|
-
`ReferenceResolver` maps EA GUIDs to UML xmi_ids.
|
|
110
|
-
|
|
111
|
-
#### QEA Validation (`lib/ea/qea/validation/`)
|
|
112
|
-
- `ValidationEngine` runs registered validators. Validators extend
|
|
113
|
-
`BaseValidator`. Operates on both EA data and UML documents.
|
|
114
|
-
|
|
115
|
-
#### QEA Verification (`lib/ea/qea/verification/`)
|
|
116
|
-
- Document comparison and equivalence testing for QEA vs XMI outputs.
|
|
117
|
-
|
|
118
|
-
#### Diagram Rendering (`lib/ea/diagram/`)
|
|
119
|
-
- **Element Renderers** — Maps element types to renderer classes. `BaseRenderer`
|
|
120
|
-
provides `style_to_css` and template methods. Concrete: `ClassRenderer`,
|
|
121
|
-
`PackageRenderer`, `ConnectorRenderer`.
|
|
122
|
-
- **Extractor** — Extracts diagram data from `Lutaml::Uml::Document` instances.
|
|
123
|
-
|
|
124
|
-
#### XMI Subsystem (`lib/ea/xmi/`)
|
|
125
|
-
- `Parser` for **Sparx-flavored** XMI files only (uses `::Xmi::Sparx::Root`).
|
|
126
|
-
Cannot parse MagicDraw or Papyrus XMI. `LookupService` for cross-referencing.
|
|
127
|
-
- Liquid drops for template-based XMI rendering.
|
|
128
|
-
|
|
129
|
-
#### Transformations (`lib/ea/transformations/`)
|
|
130
|
-
- `BaseParser` provides template method pattern. Concrete: `QeaParser`,
|
|
131
|
-
`XmiParser`. `FormatRegistry` maps file extensions to parser classes.
|
|
132
|
-
`TransformationEngine` orchestrates parsing. Returns `Lutaml::Uml::Document`.
|
|
133
|
-
|
|
134
|
-
### Configuration
|
|
135
|
-
- `config/qea_schema.yml` — EA database schema, table definitions, column types
|
|
136
|
-
- `config/diagram_styles.yml` — Default diagram styling
|
|
137
|
-
- `config/model_transformations.yml` — Parser configurations and transformation options
|
|
138
|
-
|
|
139
|
-
## Code Quality Rules
|
|
140
|
-
|
|
141
|
-
- **autoload only** — never `require_relative` or `require` for internal library code
|
|
142
|
-
- **No doubles in specs** — use real model instances or `Struct.new`
|
|
143
|
-
- **No `send` on private methods** — promote tested methods to public
|
|
144
|
-
- **No `instance_variable_get/set`** — test through public API
|
|
145
|
-
- **No `respond_to?` or `method_defined?`** — use `is_a?` for type checks, design interfaces properly
|
|
146
|
-
- **Registry pattern for OCP** — new types are added by registration, not by modifying `case/when`
|
|
147
|
-
- **COLUMN_MAP for models** — database column mapping uses the `COLUMN_MAP` constant pattern, not custom `from_db_row` overrides
|
|
148
|
-
|
|
149
|
-
## Configuration
|
|
150
|
-
|
|
151
|
-
- Ruby >= 3.2.0 (CI tests on 3.4.8)
|
|
152
|
-
- Double-quoted strings enforced by RuboCop
|
|
153
|
-
- RSpec: documentation formatter, color enabled, status persistence to `.rspec_status`
|
data/Rakefile
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "bundler/gem_tasks"
|
|
4
|
-
require "rspec/core/rake_task"
|
|
5
|
-
require "fileutils"
|
|
6
|
-
|
|
7
|
-
Dir[File.expand_path("lib/tasks/*.rake", __dir__)].sort.each { |f| load f }
|
|
8
|
-
|
|
9
|
-
RSpec::Core::RakeTask.new(:spec)
|
|
10
|
-
|
|
11
|
-
# RuboCop is intentionally not in the default task — the codebase has
|
|
12
|
-
# 1800+ pre-existing offenses that need a focused cleanup PR. CI's
|
|
13
|
-
# release pipeline runs `bundle exec rake` as a pre-publish sanity
|
|
14
|
-
# step, and a failing rubocop would block every release until the
|
|
15
|
-
# cleanup lands. Invoke `bundle exec rubocop` separately when needed.
|
|
16
|
-
begin
|
|
17
|
-
require "rubocop/rake_task"
|
|
18
|
-
RuboCop::RakeTask.new
|
|
19
|
-
rescue LoadError
|
|
20
|
-
# rubocop not installed (e.g., minimal install) — skip the task.
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
task default: :spec
|