lutaml 0.10.19 → 0.11.2
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/.github/workflows/release.yml +8 -1
- data/CLAUDE.md +26 -19
- data/Gemfile +14 -10
- data/Rakefile +6 -4
- data/lib/lutaml/version.rb +1 -1
- data/lib/lutaml.rb +3 -9
- data/lutaml.gemspec +2 -18
- metadata +5 -892
- data/Makefile +0 -2
- data/config/diagram_styles.yml +0 -200
- data/config/model_transformations.yml +0 -266
- data/config/package_metadata.example.yml +0 -58
- data/config/qea_schema.yml +0 -1024
- data/config/static_site.yml +0 -166
- data/examples/UML_EA.DTD +0 -6856
- 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 -220
- data/examples/lur_cli_workflow.rb +0 -262
- data/examples/lur_statistics.rb +0 -325
- 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/xmi/20251010_current_plateau_v5.1.xmi +0 -118121
- data/examples/xmi/ArcGISWorkspace_template.xmi +0 -1467
- data/examples/xmi/Images/EAID_0016F797_D055_4717_AF1A_606413D0A166.svg +0 -158
- data/examples/xmi/Images/EAID_00C5C772_5A03_434f_BF30_AC37542A1AAC.svg +0 -659
- data/examples/xmi/Images/EAID_0114FD24_9E58_4664_98CD_71305B59AD11.svg +0 -411
- data/examples/xmi/Images/EAID_01661E1B_31B6_4167_BCCF_A00678FB4EA2.svg +0 -102
- data/examples/xmi/Images/EAID_039FE004_5408_4fc0_89AA_EB319E4F61C7.svg +0 -169
- data/examples/xmi/Images/EAID_04EE9625_17A0_4721_BC71_21756DB21D06.svg +0 -403
- data/examples/xmi/Images/EAID_05FF9417_1619_4170_B0C9_55AA6B988EF1.svg +0 -175
- data/examples/xmi/Images/EAID_09853FB2_AF8A_432f_94C5_6C47461BD937.svg +0 -360
- data/examples/xmi/Images/EAID_09927B7F_A657_4819_99E5_AC9DC99227D9.svg +0 -195
- data/examples/xmi/Images/EAID_09AF6B8A_557C_43bc_BBB0_47C1E9401EF3.svg +0 -218
- data/examples/xmi/Images/EAID_0BE81AC5_031B_4973_A9A0_223CCD92BAA1.svg +0 -471
- data/examples/xmi/Images/EAID_0EDEA6EF_4DC8_4979_BB80_28B1B9EBD1D4.svg +0 -56
- data/examples/xmi/Images/EAID_0F413534_6AD2_48bc_B4AF_8699D530D91D.svg +0 -262
- data/examples/xmi/Images/EAID_1321F39B_AD67_47b5_B5C3_3A42BBFCBDF9.svg +0 -286
- data/examples/xmi/Images/EAID_13E09C71_99E7_40b4_B72D_48AF6379BC2E.svg +0 -164
- data/examples/xmi/Images/EAID_144955D8_CB4E_4b59_BB0C_E549F7F84943.svg +0 -66
- data/examples/xmi/Images/EAID_14E9F5FD_F6CD_4f48_B1CD_F5A40C6D8E83.svg +0 -95
- data/examples/xmi/Images/EAID_157826AA_96A7_4278_89A6_94BD0F31409A.svg +0 -63
- data/examples/xmi/Images/EAID_159E9DA0_7A54_4817_B72A_401C750F675D.svg +0 -306
- data/examples/xmi/Images/EAID_17BC8309_8051_492b_BE87_61CCFE83DB16.svg +0 -45
- data/examples/xmi/Images/EAID_1A10EB6D_E2E5_42a6_A31E_B293D93FD07E.svg +0 -193
- data/examples/xmi/Images/EAID_1A290AFD_CE96_46a2_8351_A986D77CC727.svg +0 -444
- data/examples/xmi/Images/EAID_1B2D9309_C66B_492a_995C_95B2B02E0D7C.svg +0 -168
- data/examples/xmi/Images/EAID_1DE6B973_CE8A_416f_909B_54CEA1E5944E.svg +0 -10
- data/examples/xmi/Images/EAID_204F4ACC_2230_4c8d_9861_EF5A6844B712.svg +0 -60
- data/examples/xmi/Images/EAID_227300E2_4F4B_4955_83B9_FA626CE8680B.svg +0 -188
- data/examples/xmi/Images/EAID_22C24D4C_4894_480a_B113_0CB034CB59E9.svg +0 -426
- data/examples/xmi/Images/EAID_234BC4F5_8100_4969_BDCB_A24E0E641F23.svg +0 -169
- data/examples/xmi/Images/EAID_24446BFC_9FEB_4935_8970_65A4C562A93F.svg +0 -277
- data/examples/xmi/Images/EAID_24E8A45C_C99F_49b7_860A_9CF65FF76C76.svg +0 -575
- data/examples/xmi/Images/EAID_272F3181_4300_48b7_98A0_A8CFD12B1A72.svg +0 -255
- data/examples/xmi/Images/EAID_292E0D94_392C_4da6_A0B5_841501FAE50A.svg +0 -183
- data/examples/xmi/Images/EAID_29DD0967_ADAB_4abb_99C5_544821F5E7DA.svg +0 -10
- data/examples/xmi/Images/EAID_2A339928_E5EF_4ed2_9E5D_CC2CA5CF248B.svg +0 -310
- data/examples/xmi/Images/EAID_2A5E0832_06BE_4381_85D4_9B00E4F95575.svg +0 -155
- data/examples/xmi/Images/EAID_2AAB709F_EFCE_496f_8AFE_92809D66A0A9.svg +0 -81
- data/examples/xmi/Images/EAID_2C8DD882_8DEA_4065_89F8_DDA796AA0C85.svg +0 -520
- data/examples/xmi/Images/EAID_2E98EA19_37D8_4b70_BDCE_CFEE4FA800B0.svg +0 -173
- data/examples/xmi/Images/EAID_30D62231_110F_44e8_9C06_6FCDCBA53A09.svg +0 -722
- data/examples/xmi/Images/EAID_3206D3FD_1FC4_41c7_8D00_36DB908E9319.svg +0 -181
- data/examples/xmi/Images/EAID_3452CC53_9ACB_44eb_9C9D_B90CF862F284.svg +0 -92
- data/examples/xmi/Images/EAID_348EE46E_ABD9_40b0_82A1_0285E75BDC52.svg +0 -187
- data/examples/xmi/Images/EAID_34FF671B_CFDC_47ad_91DF_ECA6D8358180.svg +0 -217
- data/examples/xmi/Images/EAID_359DD694_0100_4bdf_AD5F_712D97E9C69B.svg +0 -157
- data/examples/xmi/Images/EAID_35DE714C_49A8_490e_913A_56F39EF317F9.svg +0 -180
- data/examples/xmi/Images/EAID_360C79F1_8EDF_41db_A069_DECDC55625BC.svg +0 -31
- data/examples/xmi/Images/EAID_36913C58_FF35_4ba2_A04B_9A4824E24609.svg +0 -166
- data/examples/xmi/Images/EAID_372F7F7B_57ED_469a_A640_70DB578B3C56.svg +0 -361
- data/examples/xmi/Images/EAID_37AC19B9_8433_4fee_A326_763170D54D06.svg +0 -32
- data/examples/xmi/Images/EAID_38170608_32B5_4a6f_A68D_A0D7C0C9D019.svg +0 -234
- data/examples/xmi/Images/EAID_3A77A5D0_4E1B_4116_8AAD_407FC422B47F.svg +0 -183
- data/examples/xmi/Images/EAID_3B8BD087_1683_46b1_8D0D_6F839C46C578.svg +0 -42
- data/examples/xmi/Images/EAID_3DC20801_AE8B_4e76_B08C_F574E8A90E13.svg +0 -192
- data/examples/xmi/Images/EAID_3DE28C70_C6D4_406c_B49F_EEF52148C8C1.svg +0 -124
- data/examples/xmi/Images/EAID_458E093C_BA2B_4292_BEC4_37511C163DDC.svg +0 -140
- data/examples/xmi/Images/EAID_45F9B1F7_E568_47c9_B229_953BC2E707E4.svg +0 -266
- data/examples/xmi/Images/EAID_46B3041A_8C23_46e6_8E14_ADE7012274C5.svg +0 -80
- data/examples/xmi/Images/EAID_47E4600F_CEC9_4245_9BF5_EE38007A9DDB.svg +0 -584
- data/examples/xmi/Images/EAID_4881CEEE_792C_4cb0_BEA7_54333B643D0A.svg +0 -155
- data/examples/xmi/Images/EAID_48D364F0_DCA4_41e8_B4D4_509B3023B969.svg +0 -17
- data/examples/xmi/Images/EAID_4DBDAB9E_4C1C_4cb1_A767_06BD743A50A7.svg +0 -78
- data/examples/xmi/Images/EAID_4EB75007_B31D_4f2c_8855_7E9D3A3B17F4.svg +0 -454
- data/examples/xmi/Images/EAID_4F421236_FCF3_4aae_B22A_C7E6A5EFBAC7.svg +0 -81
- data/examples/xmi/Images/EAID_4FC1D352_2102_4b73_BCB0_1410B29C6BD7.svg +0 -379
- data/examples/xmi/Images/EAID_4FE346EA_01E1_4b30_8BE6_BB32EA191E47.svg +0 -126
- data/examples/xmi/Images/EAID_5038EEE3_7DD0_4cca_9829_364E044D37E8.svg +0 -199
- data/examples/xmi/Images/EAID_508A37DC_9378_4f5a_BD96_48F4D24E03A5.svg +0 -162
- data/examples/xmi/Images/EAID_516DA1A2_F0EC_415c_9664_E4CA54E7F05C.svg +0 -136
- data/examples/xmi/Images/EAID_52A1DBD3_D3DA_4b6d_8F96_FC6F39F64242.svg +0 -161
- data/examples/xmi/Images/EAID_575E87BA_32E9_4a84_AA4E_0EFDFC5D4C07.svg +0 -71
- data/examples/xmi/Images/EAID_57E0F1A0_6C72_47ef_B922_B806F9A875E8.svg +0 -209
- data/examples/xmi/Images/EAID_5957C373_3FC1_482f_8F35_D809153A17F5.svg +0 -123
- data/examples/xmi/Images/EAID_59A66AE2_412C_48a6_BFC7_EA56CF11D269.svg +0 -218
- data/examples/xmi/Images/EAID_5A43833E_680B_4a90_8931_0C902304E029.svg +0 -236
- data/examples/xmi/Images/EAID_5D6DB5A0_5047_4bac_9E60_69904A60B56D.svg +0 -353
- data/examples/xmi/Images/EAID_5DA1E7A7_8E59_4803_A831_E9F3EC27328F.svg +0 -242
- data/examples/xmi/Images/EAID_5E2C1E2A_82A8_47f4_B2ED_1398D72BFCFD.svg +0 -246
- data/examples/xmi/Images/EAID_6052620C_4BD5_49f6_A21C_AD7E6DCA2795.svg +0 -290
- data/examples/xmi/Images/EAID_6481E2CC_35A6_43b0_88D4_10A667A2BC2D.svg +0 -60
- data/examples/xmi/Images/EAID_660C7D03_A26C_4977_A7BA_9D0A773DA811.svg +0 -318
- data/examples/xmi/Images/EAID_671F3C3D_35B6_4514_B5B6_DD7E84925493.svg +0 -24
- data/examples/xmi/Images/EAID_676B9C9A_D85F_4d2f_A46B_73F02090DC87.svg +0 -127
- data/examples/xmi/Images/EAID_6797FEFA_5801_48e4_8B9C_3C824C0E165D.svg +0 -412
- data/examples/xmi/Images/EAID_6807F4EE_18EF_4e7e_ACCF_D5BD323AFDE9.svg +0 -130
- data/examples/xmi/Images/EAID_69E81E34_CF28_4c7f_A48F_5941BA85CEE3.svg +0 -96
- data/examples/xmi/Images/EAID_6A3C55E8_3C3C_4f3a_8AAC_0299C5B23070.svg +0 -10
- data/examples/xmi/Images/EAID_6BAC333E_E2C2_42c7_8DDF_6B4FA0FFC03B.svg +0 -143
- data/examples/xmi/Images/EAID_6D0349D5_3F1B_4b28_82D2_910743DEB5E5.svg +0 -114
- data/examples/xmi/Images/EAID_6E95B74E_8A09_4698_9E9E_23BCFD2CE194.svg +0 -37
- data/examples/xmi/Images/EAID_70C77F92_5614_4b22_8C8E_67859F59D8FD.svg +0 -254
- data/examples/xmi/Images/EAID_71F9216B_E7A7_4083_B08E_6C71B57F3A1F.svg +0 -187
- data/examples/xmi/Images/EAID_73025C5A_08FC_47ff_AB2F_C7F79CF54B41.svg +0 -145
- data/examples/xmi/Images/EAID_74C974B6_6D07_425d_B7AC_C8899E3B4967.svg +0 -76
- data/examples/xmi/Images/EAID_7504FCD2_524C_4e7d_BAE4_4E58A8A8A12C.svg +0 -196
- data/examples/xmi/Images/EAID_78030266_3603_4747_9D75_03D16614BE7D.svg +0 -35
- data/examples/xmi/Images/EAID_785226C1_12B1_4104_A4C1_F19B70B9FB71.svg +0 -348
- data/examples/xmi/Images/EAID_7854470F_26B8_4d3c_AFDF_C05BCE6ED0CD.svg +0 -72
- data/examples/xmi/Images/EAID_794F4A8F_18CA_4e9f_8477_A6F0E5ED22D4.svg +0 -187
- data/examples/xmi/Images/EAID_7A24839E_C8AE_424d_B7D2_6DA16DC813E7.svg +0 -114
- data/examples/xmi/Images/EAID_7A3649FD_E960_4ae6_B9B1_A9001C066AE7.svg +0 -181
- data/examples/xmi/Images/EAID_7B2C6765_AB68_439a_87F3_DAC323CB2AF5.svg +0 -196
- data/examples/xmi/Images/EAID_7C44AC09_27C1_47b3_9A85_88EC71C081FF.svg +0 -55
- data/examples/xmi/Images/EAID_7CE102CA_97C1_4cac_BD3B_0500D3712D2A.svg +0 -195
- data/examples/xmi/Images/EAID_7D960BD8_65D8_4934_9C11_4EF860DD8FBA.svg +0 -90
- data/examples/xmi/Images/EAID_80939C98_A456_48c3_BCEA_4B72851F2DF6.svg +0 -174
- data/examples/xmi/Images/EAID_812FE862_76ED_44f0_B678_7A4601B395CF.svg +0 -142
- data/examples/xmi/Images/EAID_81B76F5B_9D64_4bbf_8AC8_34234FB87533.svg +0 -740
- data/examples/xmi/Images/EAID_84352F1A_195B_411b_9552_5BFC40BF90B5.svg +0 -105
- data/examples/xmi/Images/EAID_846DD800_139C_4d47_A1DF_3FB1AC5D130F.svg +0 -554
- data/examples/xmi/Images/EAID_84A9C65B_FD6D_4bb5_818F_E8C35FF5BCD1.svg +0 -228
- data/examples/xmi/Images/EAID_853674F5_7DC9_4aae_809B_5728098B5D5B.svg +0 -154
- data/examples/xmi/Images/EAID_860CBBFB_2F27_408f_9144_751F9D1F487F.svg +0 -273
- data/examples/xmi/Images/EAID_87476527_7B9B_4b92_967E_3D38365470CA.svg +0 -239
- data/examples/xmi/Images/EAID_87DAE930_5069_4c58_AC65_4B0B2C0F32C8.svg +0 -10
- data/examples/xmi/Images/EAID_88AF6BD7_BC34_406f_BB59_47CFAB4A7D5D.svg +0 -116
- data/examples/xmi/Images/EAID_88D0CB44_20D0_44fc_A6E3_B663332EF401.svg +0 -200
- data/examples/xmi/Images/EAID_8BB1CA0C_C003_4678_973B_A1C3308E021D.svg +0 -136
- data/examples/xmi/Images/EAID_8DAB169F_D189_4320_A0F5_4443E3297F0E.svg +0 -181
- data/examples/xmi/Images/EAID_8FD488EF_BAAB_40ec_A7ED_F7CC831D546E.svg +0 -324
- data/examples/xmi/Images/EAID_90BCA409_BB45_42c5_AFA5_45FE3D995904.svg +0 -342
- data/examples/xmi/Images/EAID_926AFE38_01FA_469e_B6AA_ED5F4D62B66F.svg +0 -105
- data/examples/xmi/Images/EAID_92AB0FD0_B0FB_4ceb_8EAE_66B6600D31D7.svg +0 -681
- data/examples/xmi/Images/EAID_92C43670_3057_47f1_A576_C60843FF3D26.svg +0 -136
- data/examples/xmi/Images/EAID_93F63576_BE01_4cd8_8A91_C674FF77FC3D.svg +0 -718
- data/examples/xmi/Images/EAID_9400D9BC_05A5_41fc_83F7_02E5C67F9718.svg +0 -487
- data/examples/xmi/Images/EAID_95246DCF_1C09_4a16_9512_98000F56B3D8.svg +0 -292
- data/examples/xmi/Images/EAID_9994BF62_51E2_42cd_BB35_16C537B6718A.svg +0 -715
- data/examples/xmi/Images/EAID_9AAD6C21_B1E7_4472_B64A_FB5E3569D970.svg +0 -116
- data/examples/xmi/Images/EAID_9BD7189A_877B_4ca9_B42C_817DEF144FB2.svg +0 -284
- data/examples/xmi/Images/EAID_9DA6C553_94FC_4204_83AD_ECC4B45A53EF.svg +0 -159
- data/examples/xmi/Images/EAID_9EE6A41B_5FAA_4c89_B98F_732059778630.svg +0 -10
- data/examples/xmi/Images/EAID_9F1A4B54_46F6_435c_9529_E43E54CF6050.svg +0 -172
- data/examples/xmi/Images/EAID_9FE1EA7B_4CEF_4976_A281_93A94315BD84.svg +0 -153
- data/examples/xmi/Images/EAID_A0695647_6172_4262_8C30_67441399609C.svg +0 -290
- data/examples/xmi/Images/EAID_A081C63E_D6F2_41a7_A99C_307836754AFA.svg +0 -149
- data/examples/xmi/Images/EAID_A24E2778_5AD9_44f2_AB8F_5CD3913477D6.svg +0 -194
- data/examples/xmi/Images/EAID_A264F089_F9B3_406c_A3A8_FF34903797D3.svg +0 -143
- data/examples/xmi/Images/EAID_A282E5D1_2A13_4e7f_BC76_5D086DD4A577.svg +0 -357
- data/examples/xmi/Images/EAID_A3BCE1D6_9DB5_4272_A020_4C0E194B99CC.svg +0 -171
- data/examples/xmi/Images/EAID_A56E3818_D1B8_4b63_B69E_FBAC4A8AF482.svg +0 -218
- data/examples/xmi/Images/EAID_A57215D5_75C5_4532_BCF4_264A77CD62F1.svg +0 -204
- data/examples/xmi/Images/EAID_A59065AF_9669_486c_9582_9693177CFC7F.svg +0 -263
- data/examples/xmi/Images/EAID_A759374D_589A_488c_99EF_537ACB9B1FF9.svg +0 -398
- data/examples/xmi/Images/EAID_A7B25F46_F18A_4373_B16D_8C6AC0B868B0.svg +0 -174
- data/examples/xmi/Images/EAID_A9FE9E6F_A5F4_47e5_A6BA_26E22C7346B6.svg +0 -310
- data/examples/xmi/Images/EAID_AA62CDEB_55EC_498d_B326_4AA2C9AF6A05.svg +0 -144
- data/examples/xmi/Images/EAID_AAF52AF6_F7F9_4005_AE46_8920847BEA03.svg +0 -144
- data/examples/xmi/Images/EAID_AB281AC1_7CB8_404a_8124_34343DDD84E2.svg +0 -198
- data/examples/xmi/Images/EAID_AB7F1FDF_A66B_42a1_B8A3_7F594BAAD508.svg +0 -143
- data/examples/xmi/Images/EAID_AC2191E3_76E3_40b2_9E21_0E0B9B5277D2.svg +0 -114
- data/examples/xmi/Images/EAID_AD451676_A7C8_4c6a_A925_A9B9CA344142.svg +0 -339
- data/examples/xmi/Images/EAID_ADBA40A1_9375_4c1b_9938_0990612EB615.svg +0 -429
- data/examples/xmi/Images/EAID_ADC8773C_1B27_48ac_BAC1_14C1C919FAF6.svg +0 -245
- data/examples/xmi/Images/EAID_AE0718DF_AF69_4ea1_A099_E20028FE40A1.svg +0 -173
- data/examples/xmi/Images/EAID_B0DDB85D_A00C_4a7f_8C06_CCA15E5E4FE5.svg +0 -31
- data/examples/xmi/Images/EAID_B27ED282_D5E5_4f33_8AC1_62802F9E0B35.svg +0 -256
- data/examples/xmi/Images/EAID_B3AFECCB_17DD_44d6_8A44_2C38D9A64C0B.svg +0 -95
- data/examples/xmi/Images/EAID_B3B6C5B1_278E_4714_8244_B6C28B66AB50.svg +0 -176
- data/examples/xmi/Images/EAID_B53E76CD_A0F2_4e2f_B3AB_796D85964EF2.svg +0 -179
- data/examples/xmi/Images/EAID_B55D6E67_0BDD_4163_B359_11A6FBA89C74.svg +0 -207
- data/examples/xmi/Images/EAID_B58D1A53_E860_41a3_8352_11C274093E83.svg +0 -189
- data/examples/xmi/Images/EAID_B62C02B3_69DB_49e9_8089_4EE398BDE666.svg +0 -165
- data/examples/xmi/Images/EAID_BC008774_B539_4150_8174_B675989053D0.svg +0 -22
- data/examples/xmi/Images/EAID_BC1F7E00_082D_4a26_922B_3967A8D66859.svg +0 -266
- data/examples/xmi/Images/EAID_BDA613D8_402A_475a_AA15_683D88FD3D23.svg +0 -183
- data/examples/xmi/Images/EAID_C028B286_4C85_47d8_B6D5_80B28F556E82.svg +0 -303
- data/examples/xmi/Images/EAID_C173A6F4_1D1B_400e_AD8C_64FFF7CD5BE5.svg +0 -178
- data/examples/xmi/Images/EAID_C1834072_CADC_4ce4_B0FC_8284AE5CF4A4.svg +0 -158
- data/examples/xmi/Images/EAID_C1EC985B_5CBD_4e91_8661_EB4EF23781D9.svg +0 -286
- data/examples/xmi/Images/EAID_C31C1314_B679_4413_B8FE_A2CD584FC128.svg +0 -305
- data/examples/xmi/Images/EAID_C37CFBD6_69BA_42fb_9AC7_2D329D931BCF.svg +0 -171
- data/examples/xmi/Images/EAID_C857C934_306F_463a_87D5_257CB225ECFE.svg +0 -174
- data/examples/xmi/Images/EAID_C96797DE_2238_42d3_896A_9F92500270ED.svg +0 -180
- data/examples/xmi/Images/EAID_C96CBC24_B20E_459a_8F9D_75B61CDCB89F.svg +0 -656
- data/examples/xmi/Images/EAID_CACB523D_56A5_4f05_B3C2_51BB18F380FD.svg +0 -158
- data/examples/xmi/Images/EAID_CB34B578_101B_48b4_9271_214FFEA6A83A.svg +0 -409
- data/examples/xmi/Images/EAID_CBBD6CF4_0A1E_4406_9930_89DE43527910.svg +0 -361
- data/examples/xmi/Images/EAID_CC06A828_3750_472f_8DB2_C2E0863FCE17.svg +0 -96
- data/examples/xmi/Images/EAID_CD5CF053_1772_4a0f_962D_B17054D8EEAA.svg +0 -173
- data/examples/xmi/Images/EAID_CE440B5A_9534_4c75_9BA5_50862BB396C2.svg +0 -97
- data/examples/xmi/Images/EAID_CE4734FC_7986_4b3a_807F_A5B2C7EDE9E4.svg +0 -193
- data/examples/xmi/Images/EAID_D14AA320_9D41_4366_8739_9C2C21F96AE1.svg +0 -32
- data/examples/xmi/Images/EAID_D2FA55D3_C733_4a4d_92D0_0BC7AC0BB5BC.svg +0 -108
- data/examples/xmi/Images/EAID_D351FC34_FB03_488d_ADA4_BDB93DA9CB02.svg +0 -49
- data/examples/xmi/Images/EAID_D368FDF3_BDC5_4718_A701_351C8587A376.svg +0 -592
- data/examples/xmi/Images/EAID_D4DA8C48_3998_450d_87C4_9D65C9FECDB4.svg +0 -42
- data/examples/xmi/Images/EAID_D5464ECF_290E_4b2b_A6C4_25BE80F886CB.svg +0 -76
- data/examples/xmi/Images/EAID_D55235B0_61E9_461a_8379_2B8BF2403BE2.svg +0 -147
- data/examples/xmi/Images/EAID_D555ED73_F010_45d7_8A53_45A33C64C249.svg +0 -318
- data/examples/xmi/Images/EAID_D7AAC526_267E_45a0_A853_3207F02363F8.svg +0 -45
- data/examples/xmi/Images/EAID_D998B20D_A875_4ef8_A9CE_996BE56602BD.svg +0 -158
- data/examples/xmi/Images/EAID_DBFA8B39_F5B7_4c0e_9552_19AEAE5BA64E.svg +0 -200
- data/examples/xmi/Images/EAID_DE47A47D_E7BE_4e6f_BA81_F789EE8CFE72.svg +0 -61
- data/examples/xmi/Images/EAID_DFBB1072_8EC5_4384_8241_7EDF4B6B888B.svg +0 -78
- data/examples/xmi/Images/EAID_E325B9D8_E955_4aed_8125_63167BD40320.svg +0 -67
- data/examples/xmi/Images/EAID_E32D9D02_CAE9_4a47_92A8_3290EDCD6E6D.svg +0 -79
- data/examples/xmi/Images/EAID_E3B28611_7857_458a_B0BC_736E777B88EC.svg +0 -194
- data/examples/xmi/Images/EAID_E43C37EC_1176_4d2e_8B98_B6F3DFF6A092.svg +0 -96
- data/examples/xmi/Images/EAID_E591C1CF_7F35_4160_8A72_DFA097AD5811.svg +0 -271
- data/examples/xmi/Images/EAID_E77C66A2_2E94_4196_BFC6_662FE5AEEB6F.svg +0 -332
- data/examples/xmi/Images/EAID_E7AABA98_2450_4986_9736_DCCAF0108C50.svg +0 -639
- data/examples/xmi/Images/EAID_E7D9A2C4_72D6_40b9_8EB8_6B35476246B3.svg +0 -134
- data/examples/xmi/Images/EAID_E9CDAD85_ECF1_43de_819F_30A0D01785E6.svg +0 -193
- data/examples/xmi/Images/EAID_EC8AF507_F441_4e8a_B8A7_C1690F3C7D0B.svg +0 -58
- data/examples/xmi/Images/EAID_ED501058_D540_47ac_8EBC_5921E8C0BF57.svg +0 -384
- data/examples/xmi/Images/EAID_EFBF5F0F_DF74_4944_8791_114F5637C335.svg +0 -590
- data/examples/xmi/Images/EAID_EFFFA027_2A1F_425c_8437_BF89AADC8893.svg +0 -365
- data/examples/xmi/Images/EAID_F07E7718_B2C2_4a65_B5DD_477CB73E971E.svg +0 -165
- data/examples/xmi/Images/EAID_F0F20BDF_C729_47f7_B6FC_25ED2C4609CA.svg +0 -61
- data/examples/xmi/Images/EAID_F32E5AFE_8605_4c77_AE69_D0D0A6E380AC.svg +0 -76
- data/examples/xmi/Images/EAID_F3F00F45_CD37_46fd_B521_D1040EB2FB16.svg +0 -123
- data/examples/xmi/Images/EAID_F46E8F19_D8F1_4a3d_B87B_B0BAB4F50F50.svg +0 -202
- data/examples/xmi/Images/EAID_F48E5F6E_2411_4635_9315_3EAA4CFA29F7.svg +0 -351
- data/examples/xmi/Images/EAID_F4C23F9E_DD74_4fed_B75D_AD3C6448BA24.svg +0 -189
- data/examples/xmi/Images/EAID_F853B3C4_B145_4ef0_B261_C3CC0475B6D2.svg +0 -215
- data/examples/xmi/Images/EAID_F8BE68CA_1F8F_47e5_9454_01A2EB7D388A.svg +0 -124
- data/examples/xmi/Images/EAID_F92A6A28_612E_468e_9E39_D7AE7D24E24D.svg +0 -208
- data/examples/xmi/Images/EAID_F995FA49_B86E_4c94_BE5E_C928FB6B87D0.svg +0 -302
- data/examples/xmi/Images/EAID_FEAE013A_A4E4_4283_A491_1FEB8D0EBA28.svg +0 -524
- data/examples/xmi/Images/EAID_FEBE5726_3751_470b_9023_8C569202E97E.svg +0 -730
- data/examples/xmi/UML_EA.DTD +0 -6856
- data/examples/xmi/UmlModel_template.xmi +0 -23
- data/examples/xmi/basic.xmi +0 -9086
- data/examples/xmi/simple.xmi +0 -655
- data/examples/xmi/simple_example.xmi +0 -23
- data/examples/xmi/test.xmi +0 -1703
- data/exe/lutaml +0 -11
- data/exe/lutaml-sysml +0 -22
- data/exe/lutaml-wsd2uml +0 -63
- data/exe/lutaml-yaml2uml +0 -146
- 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 -2805
- data/frontend/package.json +0 -26
- data/frontend/src/App.vue +0 -59
- data/frontend/src/app.ts +0 -8
- data/frontend/src/components/AppHeader.vue +0 -127
- data/frontend/src/components/AppSidebar.vue +0 -119
- data/frontend/src/components/ClassDetails.vue +0 -247
- data/frontend/src/components/DiagramView.vue +0 -79
- data/frontend/src/components/PackageDetails.vue +0 -92
- data/frontend/src/components/PackageTreeNode.vue +0 -64
- data/frontend/src/components/SearchResults.vue +0 -48
- data/frontend/src/components/WelcomeView.vue +0 -66
- data/frontend/src/shims-vue.d.ts +0 -5
- data/frontend/src/stores/dataStore.ts +0 -79
- data/frontend/src/stores/uiStore.ts +0 -167
- data/frontend/src/styles/main.css +0 -1566
- data/frontend/src/types.ts +0 -221
- 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/lib/lutaml/cli/element_identifier.rb +0 -160
- data/lib/lutaml/cli/enhanced_formatter.rb +0 -494
- data/lib/lutaml/cli/interactive_shell/bookmark_commands.rb +0 -85
- data/lib/lutaml/cli/interactive_shell/command_base.rb +0 -32
- data/lib/lutaml/cli/interactive_shell/export_handler.rb +0 -73
- data/lib/lutaml/cli/interactive_shell/help_display.rb +0 -107
- data/lib/lutaml/cli/interactive_shell/navigation_commands.rb +0 -151
- data/lib/lutaml/cli/interactive_shell/query_commands.rb +0 -208
- data/lib/lutaml/cli/interactive_shell.rb +0 -254
- data/lib/lutaml/cli/lml_commands.rb +0 -205
- data/lib/lutaml/cli/output_formatter.rb +0 -348
- data/lib/lutaml/cli/resource_registry.rb +0 -127
- data/lib/lutaml/cli/tree_view_formatter.rb +0 -312
- data/lib/lutaml/cli/uml/build_command.rb +0 -487
- data/lib/lutaml/cli/uml/diagram_command.rb +0 -415
- data/lib/lutaml/cli/uml/export_command.rb +0 -77
- data/lib/lutaml/cli/uml/find_command.rb +0 -119
- data/lib/lutaml/cli/uml/info_command.rb +0 -103
- data/lib/lutaml/cli/uml/inspect_command.rb +0 -85
- data/lib/lutaml/cli/uml/ls_command.rb +0 -102
- data/lib/lutaml/cli/uml/repl_command.rb +0 -49
- data/lib/lutaml/cli/uml/search_command.rb +0 -85
- data/lib/lutaml/cli/uml/serve_command.rb +0 -58
- data/lib/lutaml/cli/uml/shared_helpers.rb +0 -49
- data/lib/lutaml/cli/uml/spa_command.rb +0 -223
- data/lib/lutaml/cli/uml/stats_command.rb +0 -57
- data/lib/lutaml/cli/uml/tree_command.rb +0 -82
- data/lib/lutaml/cli/uml/validate_command.rb +0 -190
- data/lib/lutaml/cli/uml/verify_command.rb +0 -103
- data/lib/lutaml/cli/uml.rb +0 -24
- data/lib/lutaml/cli/uml_commands.rb +0 -145
- data/lib/lutaml/cli.rb +0 -84
- data/lib/lutaml/converter/dsl_to_uml.rb +0 -237
- data/lib/lutaml/converter/xmi_to_uml.rb +0 -329
- data/lib/lutaml/converter/xmi_to_uml_generalization.rb +0 -193
- data/lib/lutaml/converter.rb +0 -10
- data/lib/lutaml/ea/diagram/configuration.rb +0 -379
- data/lib/lutaml/ea/diagram/element_renderers/base_renderer.rb +0 -81
- data/lib/lutaml/ea/diagram/element_renderers/class_renderer.rb +0 -328
- data/lib/lutaml/ea/diagram/element_renderers/connector_renderer.rb +0 -53
- data/lib/lutaml/ea/diagram/element_renderers/package_renderer.rb +0 -67
- data/lib/lutaml/ea/diagram/element_renderers.rb +0 -18
- data/lib/lutaml/ea/diagram/extractor.rb +0 -550
- data/lib/lutaml/ea/diagram/layout_engine.rb +0 -249
- data/lib/lutaml/ea/diagram/path_builder.rb +0 -256
- data/lib/lutaml/ea/diagram/style_parser.rb +0 -315
- data/lib/lutaml/ea/diagram/style_resolver.rb +0 -281
- data/lib/lutaml/ea/diagram/svg_renderer.rb +0 -279
- data/lib/lutaml/ea/diagram/util.rb +0 -69
- data/lib/lutaml/ea/diagram.rb +0 -62
- data/lib/lutaml/ea.rb +0 -7
- data/lib/lutaml/formatter/base.rb +0 -63
- data/lib/lutaml/formatter/graphviz.rb +0 -374
- data/lib/lutaml/formatter.rb +0 -20
- data/lib/lutaml/layout/engine.rb +0 -17
- data/lib/lutaml/layout/graph_viz_engine.rb +0 -19
- data/lib/lutaml/layout.rb +0 -8
- data/lib/lutaml/model_transformations/configuration.rb +0 -333
- data/lib/lutaml/model_transformations/format_registry.rb +0 -392
- data/lib/lutaml/model_transformations/parsers/base_parser.rb +0 -464
- data/lib/lutaml/model_transformations/parsers/qea_parser.rb +0 -450
- data/lib/lutaml/model_transformations/parsers/xmi_parser.rb +0 -289
- data/lib/lutaml/model_transformations/transformation_engine.rb +0 -405
- data/lib/lutaml/model_transformations.rb +0 -143
- data/lib/lutaml/qea/benchmark.rb +0 -210
- data/lib/lutaml/qea/database.rb +0 -270
- data/lib/lutaml/qea/factory/association_builder.rb +0 -203
- data/lib/lutaml/qea/factory/association_transformer.rb +0 -107
- data/lib/lutaml/qea/factory/attribute_tag_transformer.rb +0 -57
- data/lib/lutaml/qea/factory/attribute_transformer.rb +0 -93
- data/lib/lutaml/qea/factory/base_transformer.rb +0 -127
- data/lib/lutaml/qea/factory/class_transformer.rb +0 -164
- data/lib/lutaml/qea/factory/constraint_transformer.rb +0 -75
- data/lib/lutaml/qea/factory/data_type_transformer.rb +0 -133
- data/lib/lutaml/qea/factory/diagram_transformer.rb +0 -157
- data/lib/lutaml/qea/factory/document_builder.rb +0 -273
- data/lib/lutaml/qea/factory/ea_to_uml_factory.rb +0 -243
- data/lib/lutaml/qea/factory/enum_transformer.rb +0 -88
- data/lib/lutaml/qea/factory/generalization_builder.rb +0 -236
- data/lib/lutaml/qea/factory/generalization_transformer.rb +0 -98
- data/lib/lutaml/qea/factory/instance_transformer.rb +0 -84
- data/lib/lutaml/qea/factory/object_property_transformer.rb +0 -58
- data/lib/lutaml/qea/factory/operation_transformer.rb +0 -66
- data/lib/lutaml/qea/factory/package_transformer.rb +0 -208
- data/lib/lutaml/qea/factory/reference_resolver.rb +0 -99
- data/lib/lutaml/qea/factory/stereotype_loader.rb +0 -40
- data/lib/lutaml/qea/factory/tagged_value_transformer.rb +0 -38
- data/lib/lutaml/qea/factory/transformer_registry.rb +0 -77
- data/lib/lutaml/qea/factory.rb +0 -37
- data/lib/lutaml/qea/file_detector.rb +0 -178
- data/lib/lutaml/qea/infrastructure/database_connection.rb +0 -100
- data/lib/lutaml/qea/infrastructure/schema_reader.rb +0 -136
- data/lib/lutaml/qea/infrastructure/table_reader.rb +0 -224
- data/lib/lutaml/qea/infrastructure.rb +0 -12
- data/lib/lutaml/qea/models/base_model.rb +0 -48
- data/lib/lutaml/qea/models/ea_attribute.rb +0 -133
- data/lib/lutaml/qea/models/ea_attribute_tag.rb +0 -107
- data/lib/lutaml/qea/models/ea_complexity_type.rb +0 -79
- data/lib/lutaml/qea/models/ea_connector.rb +0 -160
- data/lib/lutaml/qea/models/ea_connector_type.rb +0 -60
- data/lib/lutaml/qea/models/ea_constraint_type.rb +0 -63
- data/lib/lutaml/qea/models/ea_datatype.rb +0 -104
- data/lib/lutaml/qea/models/ea_diagram.rb +0 -115
- data/lib/lutaml/qea/models/ea_diagram_link.rb +0 -78
- data/lib/lutaml/qea/models/ea_diagram_object.rb +0 -84
- data/lib/lutaml/qea/models/ea_diagram_type.rb +0 -56
- data/lib/lutaml/qea/models/ea_document.rb +0 -66
- data/lib/lutaml/qea/models/ea_object.rb +0 -206
- data/lib/lutaml/qea/models/ea_object_constraint.rb +0 -60
- data/lib/lutaml/qea/models/ea_object_property.rb +0 -94
- data/lib/lutaml/qea/models/ea_object_type.rb +0 -73
- data/lib/lutaml/qea/models/ea_operation.rb +0 -151
- data/lib/lutaml/qea/models/ea_operation_param.rb +0 -71
- data/lib/lutaml/qea/models/ea_package.rb +0 -73
- data/lib/lutaml/qea/models/ea_script.rb +0 -67
- data/lib/lutaml/qea/models/ea_status_type.rb +0 -66
- data/lib/lutaml/qea/models/ea_stereotype.rb +0 -57
- data/lib/lutaml/qea/models/ea_tagged_value.rb +0 -103
- data/lib/lutaml/qea/models/ea_xref.rb +0 -172
- data/lib/lutaml/qea/models.rb +0 -35
- data/lib/lutaml/qea/parser.rb +0 -57
- data/lib/lutaml/qea/repositories/base_repository.rb +0 -215
- data/lib/lutaml/qea/repositories/object_repository.rb +0 -219
- data/lib/lutaml/qea/repositories.rb +0 -10
- data/lib/lutaml/qea/services/configuration.rb +0 -211
- data/lib/lutaml/qea/services/database_loader.rb +0 -186
- data/lib/lutaml/qea/services.rb +0 -10
- data/lib/lutaml/qea/validation/association_validator.rb +0 -73
- data/lib/lutaml/qea/validation/attribute_validator.rb +0 -101
- data/lib/lutaml/qea/validation/base_validator.rb +0 -312
- data/lib/lutaml/qea/validation/class_validator.rb +0 -121
- data/lib/lutaml/qea/validation/database/circular_reference_validator.rb +0 -109
- data/lib/lutaml/qea/validation/database/orphan_validator.rb +0 -153
- data/lib/lutaml/qea/validation/database/referential_integrity_validator.rb +0 -128
- data/lib/lutaml/qea/validation/database.rb +0 -16
- data/lib/lutaml/qea/validation/diagram_validator.rb +0 -112
- data/lib/lutaml/qea/validation/formatters/json_formatter.rb +0 -137
- data/lib/lutaml/qea/validation/formatters/text_formatter.rb +0 -235
- data/lib/lutaml/qea/validation/operation_validator.rb +0 -79
- data/lib/lutaml/qea/validation/package_validator.rb +0 -111
- data/lib/lutaml/qea/validation/validation_engine.rb +0 -477
- data/lib/lutaml/qea/validation/validation_message.rb +0 -144
- data/lib/lutaml/qea/validation/validation_result.rb +0 -210
- data/lib/lutaml/qea/validation/validator_registry.rb +0 -134
- data/lib/lutaml/qea/validation.rb +0 -27
- data/lib/lutaml/qea/verification/comparison_result.rb +0 -264
- data/lib/lutaml/qea/verification/document_normalizer.rb +0 -169
- data/lib/lutaml/qea/verification/document_verifier.rb +0 -323
- data/lib/lutaml/qea/verification/element_comparator.rb +0 -277
- data/lib/lutaml/qea/verification/structure_matcher.rb +0 -287
- data/lib/lutaml/qea/verification.rb +0 -14
- data/lib/lutaml/qea.rb +0 -227
- data/lib/lutaml/uml/abstraction.rb +0 -12
- data/lib/lutaml/uml/action.rb +0 -17
- data/lib/lutaml/uml/activity.rb +0 -12
- data/lib/lutaml/uml/actor.rb +0 -12
- data/lib/lutaml/uml/association.rb +0 -37
- data/lib/lutaml/uml/association_generalization.rb +0 -20
- data/lib/lutaml/uml/behavior.rb +0 -12
- data/lib/lutaml/uml/cardinality.rb +0 -12
- data/lib/lutaml/uml/class.rb +0 -52
- data/lib/lutaml/uml/classifier.rb +0 -19
- data/lib/lutaml/uml/comment.rb +0 -15
- data/lib/lutaml/uml/connector.rb +0 -20
- data/lib/lutaml/uml/connector_end.rb +0 -22
- data/lib/lutaml/uml/constraint.rb +0 -24
- data/lib/lutaml/uml/data_type.rb +0 -56
- data/lib/lutaml/uml/dependency.rb +0 -20
- data/lib/lutaml/uml/diagram.rb +0 -25
- data/lib/lutaml/uml/diagram_link.rb +0 -28
- data/lib/lutaml/uml/diagram_object.rb +0 -32
- data/lib/lutaml/uml/document.rb +0 -64
- data/lib/lutaml/uml/enum.rb +0 -21
- data/lib/lutaml/uml/event.rb +0 -12
- data/lib/lutaml/uml/fidelity.rb +0 -12
- data/lib/lutaml/uml/final_state.rb +0 -12
- data/lib/lutaml/uml/fontname.rb +0 -15
- data/lib/lutaml/uml/general_attribute.rb +0 -24
- data/lib/lutaml/uml/generalization.rb +0 -37
- data/lib/lutaml/uml/group.rb +0 -21
- data/lib/lutaml/uml/has_attributes.rb +0 -14
- data/lib/lutaml/uml/has_members.rb +0 -30
- data/lib/lutaml/uml/inheritance_walker.rb +0 -96
- data/lib/lutaml/uml/instance.rb +0 -17
- data/lib/lutaml/uml/model.rb +0 -15
- data/lib/lutaml/uml/model_helpers.rb +0 -104
- data/lib/lutaml/uml/namespace.rb +0 -12
- data/lib/lutaml/uml/node/attribute.rb +0 -30
- data/lib/lutaml/uml/node/base.rb +0 -19
- data/lib/lutaml/uml/node/class_node.rb +0 -48
- data/lib/lutaml/uml/node/class_relationship.rb +0 -11
- data/lib/lutaml/uml/node/document.rb +0 -15
- data/lib/lutaml/uml/node/has_name.rb +0 -15
- data/lib/lutaml/uml/node/has_type.rb +0 -15
- data/lib/lutaml/uml/node/method_argument.rb +0 -12
- data/lib/lutaml/uml/node/operation.rb +0 -23
- data/lib/lutaml/uml/node/relationship.rb +0 -22
- data/lib/lutaml/uml/opaque_behavior.rb +0 -12
- data/lib/lutaml/uml/operation.rb +0 -23
- data/lib/lutaml/uml/operation_parameter.rb +0 -19
- data/lib/lutaml/uml/package.rb +0 -33
- data/lib/lutaml/uml/package_path.rb +0 -235
- data/lib/lutaml/uml/parsers/attribute.rb +0 -68
- data/lib/lutaml/uml/parsers/dsl.rb +0 -415
- data/lib/lutaml/uml/parsers/dsl_preprocessor.rb +0 -63
- data/lib/lutaml/uml/parsers/dsl_transform.rb +0 -27
- data/lib/lutaml/uml/parsers/yaml.rb +0 -22
- data/lib/lutaml/uml/port.rb +0 -9
- data/lib/lutaml/uml/primitive_type.rb +0 -15
- data/lib/lutaml/uml/property.rb +0 -27
- data/lib/lutaml/uml/pseudostate.rb +0 -12
- data/lib/lutaml/uml/qualified_name.rb +0 -175
- data/lib/lutaml/uml/realization.rb +0 -12
- data/lib/lutaml/uml/region.rb +0 -12
- data/lib/lutaml/uml/state.rb +0 -22
- data/lib/lutaml/uml/state_machine.rb +0 -12
- data/lib/lutaml/uml/tagged_value.rb +0 -23
- data/lib/lutaml/uml/top_element.rb +0 -85
- data/lib/lutaml/uml/top_element_attribute.rb +0 -64
- data/lib/lutaml/uml/transition.rb +0 -24
- data/lib/lutaml/uml/trigger.rb +0 -18
- data/lib/lutaml/uml/validation/document_structure_validator.rb +0 -387
- data/lib/lutaml/uml/value.rb +0 -37
- data/lib/lutaml/uml/vertex.rb +0 -12
- data/lib/lutaml/uml.rb +0 -113
- data/lib/lutaml/uml_repository/class_lookup_index.rb +0 -39
- data/lib/lutaml/uml_repository/error_handler.rb +0 -203
- data/lib/lutaml/uml_repository/exporters/base_exporter.rb +0 -61
- data/lib/lutaml/uml_repository/exporters/json_exporter.rb +0 -343
- data/lib/lutaml/uml_repository/exporters/markdown/class_page_builder.rb +0 -187
- data/lib/lutaml/uml_repository/exporters/markdown/formatting.rb +0 -34
- data/lib/lutaml/uml_repository/exporters/markdown/index_page_builder.rb +0 -81
- data/lib/lutaml/uml_repository/exporters/markdown/link_resolver.rb +0 -40
- data/lib/lutaml/uml_repository/exporters/markdown/package_page_builder.rb +0 -107
- data/lib/lutaml/uml_repository/exporters/markdown.rb +0 -20
- data/lib/lutaml/uml_repository/exporters/markdown_exporter.rb +0 -86
- data/lib/lutaml/uml_repository/index_builder.rb +0 -210
- data/lib/lutaml/uml_repository/index_builders/association_index.rb +0 -155
- data/lib/lutaml/uml_repository/index_builders/class_index.rb +0 -113
- data/lib/lutaml/uml_repository/index_builders/package_index.rb +0 -62
- data/lib/lutaml/uml_repository/index_builders.rb +0 -13
- data/lib/lutaml/uml_repository/lazy_repository.rb +0 -236
- data/lib/lutaml/uml_repository/package_exporter.rb +0 -334
- data/lib/lutaml/uml_repository/package_loader.rb +0 -240
- data/lib/lutaml/uml_repository/package_metadata.rb +0 -77
- data/lib/lutaml/uml_repository/presenters/association_presenter.rb +0 -79
- data/lib/lutaml/uml_repository/presenters/attribute_presenter.rb +0 -94
- data/lib/lutaml/uml_repository/presenters/class_presenter.rb +0 -72
- data/lib/lutaml/uml_repository/presenters/datatype_presenter.rb +0 -97
- data/lib/lutaml/uml_repository/presenters/diagram_presenter.rb +0 -469
- data/lib/lutaml/uml_repository/presenters/element_presenter.rb +0 -91
- data/lib/lutaml/uml_repository/presenters/enum_presenter.rb +0 -78
- data/lib/lutaml/uml_repository/presenters/package_presenter.rb +0 -48
- data/lib/lutaml/uml_repository/presenters/presenter_factory.rb +0 -74
- data/lib/lutaml/uml_repository/queries/association_query.rb +0 -184
- data/lib/lutaml/uml_repository/queries/base_query.rb +0 -45
- data/lib/lutaml/uml_repository/queries/class_query.rb +0 -178
- data/lib/lutaml/uml_repository/queries/diagram_query.rb +0 -108
- data/lib/lutaml/uml_repository/queries/inheritance_query.rb +0 -327
- data/lib/lutaml/uml_repository/queries/package_query.rb +0 -230
- data/lib/lutaml/uml_repository/queries/search_query.rb +0 -236
- data/lib/lutaml/uml_repository/query_dsl/conditions/base_condition.rb +0 -28
- data/lib/lutaml/uml_repository/query_dsl/conditions/block_condition.rb +0 -44
- data/lib/lutaml/uml_repository/query_dsl/conditions/hash_condition.rb +0 -82
- data/lib/lutaml/uml_repository/query_dsl/conditions/package_condition.rb +0 -89
- data/lib/lutaml/uml_repository/query_dsl/order.rb +0 -90
- data/lib/lutaml/uml_repository/query_dsl/query_builder.rb +0 -290
- data/lib/lutaml/uml_repository/repository/deprecated.rb +0 -39
- data/lib/lutaml/uml_repository/repository/loader.rb +0 -117
- data/lib/lutaml/uml_repository/repository.rb +0 -718
- data/lib/lutaml/uml_repository/repository_enhanced.rb +0 -431
- data/lib/lutaml/uml_repository/search_result.rb +0 -86
- data/lib/lutaml/uml_repository/static_site/configuration.rb +0 -377
- data/lib/lutaml/uml_repository/static_site/data_transformer.rb +0 -135
- data/lib/lutaml/uml_repository/static_site/generator.rb +0 -120
- data/lib/lutaml/uml_repository/static_site/id_generator.rb +0 -120
- data/lib/lutaml/uml_repository/static_site/models/spa_association.rb +0 -29
- data/lib/lutaml/uml_repository/static_site/models/spa_association_end.rb +0 -25
- data/lib/lutaml/uml_repository/static_site/models/spa_attribute.rb +0 -58
- data/lib/lutaml/uml_repository/static_site/models/spa_base.rb +0 -12
- data/lib/lutaml/uml_repository/static_site/models/spa_cardinality.rb +0 -28
- data/lib/lutaml/uml_repository/static_site/models/spa_class.rb +0 -60
- data/lib/lutaml/uml_repository/static_site/models/spa_diagram.rb +0 -31
- data/lib/lutaml/uml_repository/static_site/models/spa_document.rb +0 -31
- data/lib/lutaml/uml_repository/static_site/models/spa_inherited_association.rb +0 -25
- data/lib/lutaml/uml_repository/static_site/models/spa_inherited_attribute.rb +0 -25
- data/lib/lutaml/uml_repository/static_site/models/spa_literal.rb +0 -19
- data/lib/lutaml/uml_repository/static_site/models/spa_metadata.rb +0 -39
- data/lib/lutaml/uml_repository/static_site/models/spa_operation.rb +0 -34
- data/lib/lutaml/uml_repository/static_site/models/spa_package.rb +0 -37
- data/lib/lutaml/uml_repository/static_site/models/spa_package_tree_node.rb +0 -32
- data/lib/lutaml/uml_repository/static_site/models/spa_parameter.rb +0 -21
- data/lib/lutaml/uml_repository/static_site/models/spa_search_entry.rb +0 -34
- data/lib/lutaml/uml_repository/static_site/models/spa_search_index.rb +0 -29
- data/lib/lutaml/uml_repository/static_site/models/spa_statistics.rb +0 -25
- data/lib/lutaml/uml_repository/static_site/models/spa_tree_class_ref.rb +0 -22
- data/lib/lutaml/uml_repository/static_site/models.rb +0 -48
- data/lib/lutaml/uml_repository/static_site/output/multi_file_strategy.rb +0 -69
- data/lib/lutaml/uml_repository/static_site/output/strategy.rb +0 -36
- data/lib/lutaml/uml_repository/static_site/output/vue_inlined_strategy.rb +0 -113
- data/lib/lutaml/uml_repository/static_site/output.rb +0 -15
- data/lib/lutaml/uml_repository/static_site/search_index_builder.rb +0 -216
- data/lib/lutaml/uml_repository/static_site/serializers/association_serializer.rb +0 -70
- data/lib/lutaml/uml_repository/static_site/serializers/attribute_serializer.rb +0 -24
- data/lib/lutaml/uml_repository/static_site/serializers/base.rb +0 -66
- data/lib/lutaml/uml_repository/static_site/serializers/class_serializer.rb +0 -97
- data/lib/lutaml/uml_repository/static_site/serializers/diagram_serializer.rb +0 -59
- data/lib/lutaml/uml_repository/static_site/serializers/inheritance_resolver.rb +0 -151
- data/lib/lutaml/uml_repository/static_site/serializers/metadata_builder.rb +0 -102
- data/lib/lutaml/uml_repository/static_site/serializers/operation_serializer.rb +0 -52
- data/lib/lutaml/uml_repository/static_site/serializers/package_serializer.rb +0 -55
- data/lib/lutaml/uml_repository/static_site/serializers/package_tree_builder.rb +0 -77
- data/lib/lutaml/uml_repository/static_site/serializers.rb +0 -30
- data/lib/lutaml/uml_repository/static_site.rb +0 -92
- data/lib/lutaml/uml_repository/statistics_calculator.rb +0 -342
- data/lib/lutaml/uml_repository/validators/repository_validator.rb +0 -402
- data/lib/lutaml/uml_repository/web_ui/app.rb +0 -161
- data/lib/lutaml/uml_repository/web_ui/public/app.js +0 -452
- data/lib/lutaml/uml_repository/web_ui/public/styles.css +0 -381
- data/lib/lutaml/uml_repository/web_ui/views/index.erb +0 -40
- data/lib/lutaml/uml_repository.rb +0 -117
- data/lib/lutaml/xmi/liquid_drops/association_drop.rb +0 -56
- data/lib/lutaml/xmi/liquid_drops/attribute_drop.rb +0 -72
- data/lib/lutaml/xmi/liquid_drops/cardinality_drop.rb +0 -35
- data/lib/lutaml/xmi/liquid_drops/connector_drop.rb +0 -54
- data/lib/lutaml/xmi/liquid_drops/constraint_drop.rb +0 -29
- data/lib/lutaml/xmi/liquid_drops/data_type_drop.rb +0 -63
- data/lib/lutaml/xmi/liquid_drops/dependency_drop.rb +0 -36
- data/lib/lutaml/xmi/liquid_drops/diagram_drop.rb +0 -34
- data/lib/lutaml/xmi/liquid_drops/enum_drop.rb +0 -49
- data/lib/lutaml/xmi/liquid_drops/enum_owned_literal_drop.rb +0 -25
- data/lib/lutaml/xmi/liquid_drops/generalization_attribute_drop.rb +0 -87
- data/lib/lutaml/xmi/liquid_drops/generalization_drop.rb +0 -127
- data/lib/lutaml/xmi/liquid_drops/klass_drop.rb +0 -191
- data/lib/lutaml/xmi/liquid_drops/operation_drop.rb +0 -29
- data/lib/lutaml/xmi/liquid_drops/package_drop.rb +0 -108
- data/lib/lutaml/xmi/liquid_drops/root_drop.rb +0 -34
- data/lib/lutaml/xmi/liquid_drops/source_target_drop.rb +0 -43
- data/lib/lutaml/xmi/parsers/xmi_base.rb +0 -301
- data/lib/lutaml/xmi/parsers/xmi_class_members.rb +0 -45
- data/lib/lutaml/xmi/parsers/xmi_connector.rb +0 -263
- data/lib/lutaml/xmi/parsers/xml.rb +0 -62
- data/lib/lutaml/xmi/xmi_lookup_service.rb +0 -40
- data/lib/lutaml/xmi.rb +0 -47
- data/templates/static_site/assets/images/lutaml-full.svg +0 -1
- data/templates/static_site/assets/images/lutaml-icon.svg +0 -1
- data/templates/static_site/assets/scripts/app.js +0 -45
- data/templates/static_site/assets/scripts/core/state.js +0 -446
- data/templates/static_site/assets/scripts/core/utils.js +0 -133
- data/templates/static_site/assets/scripts/ui/details.js +0 -74
- data/templates/static_site/assets/scripts/ui/diagrams.js +0 -345
- data/templates/static_site/assets/scripts/ui/search.js +0 -187
- data/templates/static_site/assets/scripts/ui/sidebar.js +0 -123
- data/templates/static_site/assets/styles/00-variables.css +0 -144
- data/templates/static_site/assets/styles/01-reset.css +0 -69
- data/templates/static_site/assets/styles/02-base.css +0 -144
- data/templates/static_site/assets/styles/03-layout.css +0 -121
- data/templates/static_site/assets/styles/04-components.css +0 -905
- data/templates/static_site/assets/styles/05-utilities.css +0 -23
- data/templates/static_site/assets/styles/06-diagrams.css +0 -74
- data/templates/static_site/components/class_details.liquid +0 -328
- data/templates/static_site/components/content.liquid +0 -481
- data/templates/static_site/components/diagram_list.liquid +0 -52
- data/templates/static_site/components/diagram_viewer.liquid +0 -71
- data/templates/static_site/components/header.liquid +0 -114
- data/templates/static_site/components/package_details.liquid +0 -119
- data/templates/static_site/components/sidebar.liquid +0 -76
- data/templates/static_site/components/tree_node.liquid +0 -81
- data/templates/static_site/multi_file.liquid +0 -49
- data/templates/static_site/single_file.liquid +0 -57
data/frontend/package.json
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "lutaml-uml-spa",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "1.0.0",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "vite",
|
|
8
|
-
"build": "vite build",
|
|
9
|
-
"preview": "vite preview",
|
|
10
|
-
"type-check": "vue-tsc --noEmit"
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"lunr": "^2.3.9",
|
|
14
|
-
"pinia": "^2.2.0",
|
|
15
|
-
"vue": "^3.5.0"
|
|
16
|
-
},
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@vitejs/plugin-vue": "^5.2.0",
|
|
19
|
-
"@vitest/browser": "^4.1.7",
|
|
20
|
-
"puppeteer": "^25.0.4",
|
|
21
|
-
"typescript": "^5.6.0",
|
|
22
|
-
"vite": "^6.0.0",
|
|
23
|
-
"vitest": "^4.1.7",
|
|
24
|
-
"vue-tsc": "^2.2.0"
|
|
25
|
-
}
|
|
26
|
-
}
|
data/frontend/src/App.vue
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { onMounted, watch } from 'vue'
|
|
3
|
-
import { useDataStore } from './stores/dataStore'
|
|
4
|
-
import { useUiStore } from './stores/uiStore'
|
|
5
|
-
import AppSidebar from './components/AppSidebar.vue'
|
|
6
|
-
import AppHeader from './components/AppHeader.vue'
|
|
7
|
-
import WelcomeView from './components/WelcomeView.vue'
|
|
8
|
-
import PackageDetails from './components/PackageDetails.vue'
|
|
9
|
-
import ClassDetails from './components/ClassDetails.vue'
|
|
10
|
-
import DiagramView from './components/DiagramView.vue'
|
|
11
|
-
import SearchResults from './components/SearchResults.vue'
|
|
12
|
-
|
|
13
|
-
const data = useDataStore()
|
|
14
|
-
const ui = useUiStore()
|
|
15
|
-
|
|
16
|
-
onMounted(async () => {
|
|
17
|
-
const win = window as any
|
|
18
|
-
if (win.__SPA_DATA__) {
|
|
19
|
-
data.loadFromEmbedded()
|
|
20
|
-
} else if (win.__SPA_DATA_URL__) {
|
|
21
|
-
await data.loadFromUrl(win.__SPA_DATA_URL__, win.__SPA_SEARCH_URL__)
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
ui.navigateToHash()
|
|
25
|
-
window.addEventListener('hashchange', () => ui.navigateToHash())
|
|
26
|
-
|
|
27
|
-
const saved = localStorage.getItem('uml-browser-preferences')
|
|
28
|
-
if (saved) {
|
|
29
|
-
try {
|
|
30
|
-
const prefs = JSON.parse(saved)
|
|
31
|
-
if (prefs.darkMode !== undefined) ui.darkMode = prefs.darkMode
|
|
32
|
-
if (prefs.sidebarVisible !== undefined) ui.sidebarVisible = prefs.sidebarVisible
|
|
33
|
-
} catch {}
|
|
34
|
-
}
|
|
35
|
-
})
|
|
36
|
-
|
|
37
|
-
watch(() => [ui.darkMode, ui.sidebarVisible], () => {
|
|
38
|
-
localStorage.setItem(
|
|
39
|
-
'uml-browser-preferences',
|
|
40
|
-
JSON.stringify({ darkMode: ui.darkMode, sidebarVisible: ui.sidebarVisible }),
|
|
41
|
-
)
|
|
42
|
-
})
|
|
43
|
-
</script>
|
|
44
|
-
|
|
45
|
-
<template>
|
|
46
|
-
<div class="app-layout" :data-theme="ui.darkMode ? 'dark' : 'light'">
|
|
47
|
-
<AppSidebar />
|
|
48
|
-
<div class="main-content">
|
|
49
|
-
<AppHeader />
|
|
50
|
-
<div class="content-area">
|
|
51
|
-
<WelcomeView v-if="ui.currentView === 'welcome'" />
|
|
52
|
-
<PackageDetails v-else-if="ui.currentView === 'package'" />
|
|
53
|
-
<ClassDetails v-else-if="ui.currentView === 'class'" />
|
|
54
|
-
<DiagramView v-else-if="ui.currentView === 'diagram'" />
|
|
55
|
-
<SearchResults v-else-if="ui.currentView === 'search'" />
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</template>
|
data/frontend/src/app.ts
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { ref, onMounted, onUnmounted } from 'vue'
|
|
3
|
-
import { useUiStore } from '../stores/uiStore'
|
|
4
|
-
|
|
5
|
-
const ui = useUiStore()
|
|
6
|
-
const searchInput = ref<HTMLInputElement | null>(null)
|
|
7
|
-
const showSearchModal = ref(false)
|
|
8
|
-
const searchQuery = ref('')
|
|
9
|
-
const searchResults = ref<any[]>([])
|
|
10
|
-
const selectedIndex = ref(0)
|
|
11
|
-
|
|
12
|
-
function openSearch() {
|
|
13
|
-
showSearchModal.value = true
|
|
14
|
-
setTimeout(() => searchInput.value?.focus(), 50)
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
function closeSearch() {
|
|
18
|
-
showSearchModal.value = false
|
|
19
|
-
searchQuery.value = ''
|
|
20
|
-
searchResults.value = []
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function handleKeydown(e: KeyboardEvent) {
|
|
24
|
-
if ((e.metaKey || e.ctrlKey) && e.key === 'k') {
|
|
25
|
-
e.preventDefault()
|
|
26
|
-
openSearch()
|
|
27
|
-
}
|
|
28
|
-
if (e.key === '/' && !showSearchModal.value) {
|
|
29
|
-
const target = e.target as HTMLElement
|
|
30
|
-
if (target.tagName !== 'INPUT' && target.tagName !== 'TEXTAREA') {
|
|
31
|
-
e.preventDefault()
|
|
32
|
-
openSearch()
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function navigateTo(id: string, type: string) {
|
|
38
|
-
if (type === 'class') ui.selectClass(id)
|
|
39
|
-
else if (type === 'package') ui.selectPackage(id)
|
|
40
|
-
closeSearch()
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
onMounted(() => window.addEventListener('keydown', handleKeydown))
|
|
44
|
-
onUnmounted(() => window.removeEventListener('keydown', handleKeydown))
|
|
45
|
-
</script>
|
|
46
|
-
|
|
47
|
-
<template>
|
|
48
|
-
<header class="header">
|
|
49
|
-
<div class="header-left">
|
|
50
|
-
<button class="btn btn-ghost sidebar-toggle" @click="ui.toggleSidebar()" title="Toggle sidebar">
|
|
51
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
52
|
-
<path d="M3 5h14M3 10h14M3 15h14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
|
|
53
|
-
</svg>
|
|
54
|
-
</button>
|
|
55
|
-
<button class="btn btn-ghost home-btn" @click="ui.showWelcome()" title="Overview">
|
|
56
|
-
<svg width="18" height="18" viewBox="0 0 18 18" fill="none">
|
|
57
|
-
<path d="M3 8.5L9 3.5L15 8.5" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
|
|
58
|
-
<path d="M4 8.5V14.5C4 14.5 4 15.5 5 15.5H13C13 15.5 14 15.5 14 14.5V8.5" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
|
|
59
|
-
</svg>
|
|
60
|
-
</button>
|
|
61
|
-
<span class="header-breadcrumb" v-if="ui.breadcrumbs.length">
|
|
62
|
-
<template v-for="(crumb, i) in ui.breadcrumbs" :key="i">
|
|
63
|
-
<span v-if="i > 0" class="breadcrumb-sep">/</span>
|
|
64
|
-
<a v-if="crumb.id" href="#" @click.prevent="navigateTo(crumb.id, crumb.type || '')">{{ crumb.label }}</a>
|
|
65
|
-
<span v-else>{{ crumb.label }}</span>
|
|
66
|
-
</template>
|
|
67
|
-
</span>
|
|
68
|
-
</div>
|
|
69
|
-
|
|
70
|
-
<div class="header-center">
|
|
71
|
-
<button class="search-trigger" @click="openSearch">
|
|
72
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
73
|
-
<circle cx="7" cy="7" r="5" stroke="currentColor" stroke-width="1.5"/>
|
|
74
|
-
<path d="M11 11l3 3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>
|
|
75
|
-
</svg>
|
|
76
|
-
<span class="search-placeholder">Search classes, packages...</span>
|
|
77
|
-
<kbd class="search-kbd">/</kbd>
|
|
78
|
-
</button>
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
|
-
<div class="header-right">
|
|
82
|
-
<button class="btn btn-ghost theme-btn" @click="ui.toggleDarkMode()" :title="ui.darkMode ? 'Light mode' : 'Dark mode'">
|
|
83
|
-
<svg v-if="ui.darkMode" width="18" height="18" viewBox="0 0 18 18" fill="none">
|
|
84
|
-
<path d="M9 3V2M9 16v-1M3 9H2M16 9h-1M4.22 4.22l-.7-.7M14.48 14.48l-.7-.7M4.22 13.78l-.7.7M14.48 3.52l-.7.7" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"/>
|
|
85
|
-
<circle cx="9" cy="9" r="3.5" stroke="currentColor" stroke-width="1.3"/>
|
|
86
|
-
</svg>
|
|
87
|
-
<svg v-else width="18" height="18" viewBox="0 0 18 18" fill="none">
|
|
88
|
-
<circle cx="9" cy="9" r="4" stroke="currentColor" stroke-width="1.4"/>
|
|
89
|
-
<path d="M9 2v1.5M9 14.5V16M2 9h1.5M14.5 9H16M4.22 4.22l1.06 1.06M12.72 12.72l1.06 1.06M4.22 13.78l1.06-1.06M12.72 5.28l1.06-1.06" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
|
|
90
|
-
</svg>
|
|
91
|
-
</button>
|
|
92
|
-
</div>
|
|
93
|
-
</header>
|
|
94
|
-
|
|
95
|
-
<Teleport to="body">
|
|
96
|
-
<div class="search-modal-overlay" v-if="showSearchModal" @click.self="closeSearch">
|
|
97
|
-
<div class="search-modal">
|
|
98
|
-
<div class="search-input-wrapper">
|
|
99
|
-
<input ref="searchInput" v-model="searchQuery" placeholder="Search classes, packages, attributes..."
|
|
100
|
-
@keydown.escape="closeSearch" autofocus />
|
|
101
|
-
</div>
|
|
102
|
-
<div class="search-results" v-if="searchResults.length">
|
|
103
|
-
<div v-for="(result, i) in searchResults" :key="result.id"
|
|
104
|
-
class="search-result" :class="{ focused: i === selectedIndex }"
|
|
105
|
-
@click="navigateTo(result.entityId, result.type)">
|
|
106
|
-
<span class="result-icon">
|
|
107
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
108
|
-
<circle cx="8" cy="8" r="6" stroke="currentColor" stroke-width="1.2"/>
|
|
109
|
-
</svg>
|
|
110
|
-
</span>
|
|
111
|
-
<div class="result-content">
|
|
112
|
-
<span class="result-name">{{ result.name }}</span>
|
|
113
|
-
<span class="result-path">{{ result.entityType }}</span>
|
|
114
|
-
</div>
|
|
115
|
-
</div>
|
|
116
|
-
</div>
|
|
117
|
-
<div class="search-footer">
|
|
118
|
-
<span class="search-hints">
|
|
119
|
-
<span><kbd>↑↓</kbd> navigate</span>
|
|
120
|
-
<span><kbd>Enter</kbd> select</span>
|
|
121
|
-
<span><kbd>Esc</kbd> close</span>
|
|
122
|
-
</span>
|
|
123
|
-
</div>
|
|
124
|
-
</div>
|
|
125
|
-
</div>
|
|
126
|
-
</Teleport>
|
|
127
|
-
</template>
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { computed } from 'vue'
|
|
3
|
-
import { useDataStore } from '../stores/dataStore'
|
|
4
|
-
import { useUiStore } from '../stores/uiStore'
|
|
5
|
-
import PackageTreeNode from './PackageTreeNode.vue'
|
|
6
|
-
|
|
7
|
-
const data = useDataStore()
|
|
8
|
-
const ui = useUiStore()
|
|
9
|
-
|
|
10
|
-
const LUTAML_LOGO_LIGHT = 'https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-icon-light.svg'
|
|
11
|
-
const LUTAML_LOGO_DARK = 'https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-icon-dark.svg'
|
|
12
|
-
const LUTAML_FULL_LIGHT = 'https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-full-light.svg'
|
|
13
|
-
const LUTAML_FULL_DARK = 'https://raw.githubusercontent.com/lutaml/branding/refs/heads/main/svg/lutaml-logo_logo-full-dark.svg'
|
|
14
|
-
|
|
15
|
-
const brandingLogo = computed(() => {
|
|
16
|
-
const logos = data.metadata?.appearance?.logos
|
|
17
|
-
if (logos?.square) {
|
|
18
|
-
const variant = ui.darkMode ? logos.square.dark : logos.square.light
|
|
19
|
-
return variant?.url || variant?.path || (ui.darkMode ? LUTAML_LOGO_DARK : LUTAML_LOGO_LIGHT)
|
|
20
|
-
}
|
|
21
|
-
return ui.darkMode ? LUTAML_LOGO_DARK : LUTAML_LOGO_LIGHT
|
|
22
|
-
})
|
|
23
|
-
|
|
24
|
-
const footerLogo = computed(() => {
|
|
25
|
-
return ui.darkMode ? LUTAML_FULL_DARK : LUTAML_FULL_LIGHT
|
|
26
|
-
})
|
|
27
|
-
|
|
28
|
-
function formatDate(isoString?: string): string {
|
|
29
|
-
if (!isoString) return ''
|
|
30
|
-
try {
|
|
31
|
-
const date = new Date(isoString)
|
|
32
|
-
return date.toLocaleDateString('en-US', { year: 'numeric', month: 'short', day: 'numeric' })
|
|
33
|
-
} catch {
|
|
34
|
-
return isoString
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
</script>
|
|
38
|
-
|
|
39
|
-
<template>
|
|
40
|
-
<aside class="sidebar" :class="{ collapsed: !ui.sidebarVisible }">
|
|
41
|
-
<div class="sidebar-content">
|
|
42
|
-
<!-- Branding -->
|
|
43
|
-
<div class="sidebar-branding">
|
|
44
|
-
<img :src="brandingLogo" alt="Logo" class="branding-logo" />
|
|
45
|
-
<div class="branding-text">
|
|
46
|
-
<span class="branding-title">{{ data.metadata?.title || 'LutaML' }}</span>
|
|
47
|
-
<span class="branding-subtitle">UML Browser</span>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
|
|
51
|
-
<!-- Overview -->
|
|
52
|
-
<div class="sidebar-section overview-section">
|
|
53
|
-
<button class="overview-btn" :class="{ active: ui.currentView === 'welcome' }"
|
|
54
|
-
@click="ui.showWelcome()">
|
|
55
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
56
|
-
<path d="M2 7.5L8 2.5L14 7.5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
57
|
-
<path d="M3 7.5V13.5C3 13.5 3 14 4 14H12C12 14 13 14 13 13.5V7.5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
58
|
-
</svg>
|
|
59
|
-
<span>Overview</span>
|
|
60
|
-
</button>
|
|
61
|
-
</div>
|
|
62
|
-
|
|
63
|
-
<!-- Package Tree -->
|
|
64
|
-
<div class="sidebar-section tree-section">
|
|
65
|
-
<div class="section-header">
|
|
66
|
-
<span class="section-title">Packages</span>
|
|
67
|
-
<div class="tree-controls">
|
|
68
|
-
<button class="btn btn-ghost" @click="ui.expandAll()" title="Expand All">
|
|
69
|
-
<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
|
|
70
|
-
<path d="M2 5l5 5 5-5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
71
|
-
</svg>
|
|
72
|
-
</button>
|
|
73
|
-
<button class="btn btn-ghost" @click="ui.collapseAll()" title="Collapse All">
|
|
74
|
-
<svg width="14" height="14" viewBox="0 0 14 14" fill="none">
|
|
75
|
-
<path d="M2 9l5-5 5 5" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
76
|
-
</svg>
|
|
77
|
-
</button>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
<div class="package-tree" v-if="data.packageTree">
|
|
81
|
-
<PackageTreeNode :node="data.packageTree" />
|
|
82
|
-
</div>
|
|
83
|
-
<div v-else class="loading">Loading...</div>
|
|
84
|
-
</div>
|
|
85
|
-
|
|
86
|
-
<!-- Stats -->
|
|
87
|
-
<div class="sidebar-section stats-section" v-if="data.metadata">
|
|
88
|
-
<div class="stats-grid">
|
|
89
|
-
<div class="stat-item">
|
|
90
|
-
<span class="stat-value">{{ data.metadata.statistics.packages }}</span>
|
|
91
|
-
<span class="stat-label">Packages</span>
|
|
92
|
-
</div>
|
|
93
|
-
<div class="stat-item">
|
|
94
|
-
<span class="stat-value">{{ data.metadata.statistics.classes }}</span>
|
|
95
|
-
<span class="stat-label">Classes</span>
|
|
96
|
-
</div>
|
|
97
|
-
<div class="stat-item">
|
|
98
|
-
<span class="stat-value">{{ data.metadata.statistics.associations }}</span>
|
|
99
|
-
<span class="stat-label">Associations</span>
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
|
|
104
|
-
<!-- Footer -->
|
|
105
|
-
<div class="sidebar-footer">
|
|
106
|
-
<a href="https://www.lutaml.org" target="_blank" rel="noopener" class="footer-brand" title="LutaML">
|
|
107
|
-
<img :src="footerLogo" alt="LutaML" class="lutaml-logo" />
|
|
108
|
-
</a>
|
|
109
|
-
<div class="footer-text-group">
|
|
110
|
-
<span class="footer-text" v-if="data.metadata?.generated">
|
|
111
|
-
Generated {{ formatDate(data.metadata.generated) }} with
|
|
112
|
-
<a href="https://github.com/lutaml/lutaml" target="_blank" rel="noopener">LutaML</a>
|
|
113
|
-
v{{ data.metadata.version || '?' }}
|
|
114
|
-
</span>
|
|
115
|
-
</div>
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
118
|
-
</aside>
|
|
119
|
-
</template>
|
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { computed } from 'vue'
|
|
3
|
-
import { useDataStore } from '../stores/dataStore'
|
|
4
|
-
import { useUiStore } from '../stores/uiStore'
|
|
5
|
-
|
|
6
|
-
const data = useDataStore()
|
|
7
|
-
const ui = useUiStore()
|
|
8
|
-
|
|
9
|
-
const cls = computed(() =>
|
|
10
|
-
ui.currentClassId ? data.getClassById(ui.currentClassId) : null,
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
function formatCardinality(c: any): string {
|
|
14
|
-
if (!c) return ''
|
|
15
|
-
return `${c.min || '0'}..${c.max || '*'}`
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
function resolveType(typeName: string): { isBasic: boolean; classId: string | null } {
|
|
19
|
-
const basicTypes = new Set([
|
|
20
|
-
'String', 'Integer', 'Boolean', 'Real', 'UnlimitedNatural',
|
|
21
|
-
'DateTime', 'URI', 'Any', 'Object',
|
|
22
|
-
])
|
|
23
|
-
if (basicTypes.has(typeName)) return { isBasic: true, classId: null }
|
|
24
|
-
const found = data.findClassByName(typeName)
|
|
25
|
-
return { isBasic: false, classId: found ? found.id : null }
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function associationTarget(assoc: any): any {
|
|
29
|
-
if (!cls.value) return null
|
|
30
|
-
if (assoc.source?.class !== cls.value.xmiId) return assoc.source
|
|
31
|
-
return assoc.target
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function badgeType(c: any): string {
|
|
35
|
-
if (c.literals && c.literals.length > 0) return 'ENUMERATION'
|
|
36
|
-
return c.type?.toUpperCase() || 'CLASS'
|
|
37
|
-
}
|
|
38
|
-
</script>
|
|
39
|
-
|
|
40
|
-
<template>
|
|
41
|
-
<div class="detail-view" v-if="cls">
|
|
42
|
-
<div class="entity-header">
|
|
43
|
-
<div class="entity-title">
|
|
44
|
-
<h2 class="entity-name">{{ cls.qualifiedName }}</h2>
|
|
45
|
-
<div class="entity-subtitle" v-if="cls.package">
|
|
46
|
-
<a href="#" class="link-button" @click.prevent="ui.selectPackage(cls.package!, data.getPackageById(cls.package!)?.name)">
|
|
47
|
-
{{ data.getPackageById(cls.package)?.name || cls.package }}
|
|
48
|
-
</a>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
<span class="entity-badge" :class="'badge-' + badgeType(cls)">{{ badgeType(cls) }}</span>
|
|
52
|
-
<span class="entity-badge badge-abstract" v-if="cls.isAbstract">abstract</span>
|
|
53
|
-
</div>
|
|
54
|
-
|
|
55
|
-
<div class="entity-metadata" v-if="cls.stereotypes.length">
|
|
56
|
-
<div class="metadata-item">
|
|
57
|
-
<span class="metadata-label">Stereotypes</span>
|
|
58
|
-
<span class="metadata-value">
|
|
59
|
-
<span v-for="s in cls.stereotypes" :key="s" class="stereotype-tag">«{{ s }}»</span>
|
|
60
|
-
</span>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
|
|
64
|
-
<div class="entity-definition" v-if="cls.definition">
|
|
65
|
-
<div class="definition-content">{{ cls.definition }}</div>
|
|
66
|
-
</div>
|
|
67
|
-
|
|
68
|
-
<!-- Inheritance -->
|
|
69
|
-
<div class="section" v-if="cls.generalizations.length || cls.specializations.length">
|
|
70
|
-
<h3 class="section-title">Inheritance</h3>
|
|
71
|
-
<div v-if="cls.generalizations.length" class="inheritance-group">
|
|
72
|
-
<div class="inheritance-header">↑ Extends</div>
|
|
73
|
-
<div v-for="parentId in cls.generalizations" :key="parentId" class="list-item clickable-row"
|
|
74
|
-
@click="ui.selectClass(parentId)">
|
|
75
|
-
<span class="list-item-name">{{ data.getClassById(parentId)?.name || parentId }}</span>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
<div v-if="cls.specializations.length" class="inheritance-group">
|
|
79
|
-
<div class="inheritance-header">↓ Extended by</div>
|
|
80
|
-
<div v-for="childId in cls.specializations" :key="childId" class="list-item clickable-row"
|
|
81
|
-
@click="ui.selectClass(childId)">
|
|
82
|
-
<span class="list-item-name">{{ data.getClassById(childId)?.name || childId }}</span>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
|
|
87
|
-
<!-- Attributes -->
|
|
88
|
-
<div class="section" v-if="cls.attributes.length">
|
|
89
|
-
<h3 class="section-title">Attributes <span class="section-count">{{ cls.attributes.length }}</span></h3>
|
|
90
|
-
<div class="table-wrapper">
|
|
91
|
-
<table class="data-table">
|
|
92
|
-
<thead>
|
|
93
|
-
<tr>
|
|
94
|
-
<th>Name</th>
|
|
95
|
-
<th>Type</th>
|
|
96
|
-
<th>Visibility</th>
|
|
97
|
-
<th>Cardinality</th>
|
|
98
|
-
<th>Modifiers</th>
|
|
99
|
-
</tr>
|
|
100
|
-
</thead>
|
|
101
|
-
<tbody>
|
|
102
|
-
<tr v-for="attrId in cls.attributes" :key="attrId" class="clickable-row">
|
|
103
|
-
<td>{{ data.getAttributeById(attrId)?.name }}</td>
|
|
104
|
-
<td>
|
|
105
|
-
<template v-if="data.getAttributeById(attrId)?.type">
|
|
106
|
-
<a v-if="resolveType(data.getAttributeById(attrId)!.type).classId"
|
|
107
|
-
href="#" class="type-link"
|
|
108
|
-
@click.prevent="ui.selectClass(resolveType(data.getAttributeById(attrId)!.type).classId!)">
|
|
109
|
-
{{ data.getAttributeById(attrId)?.type }}
|
|
110
|
-
</a>
|
|
111
|
-
<span v-else-if="resolveType(data.getAttributeById(attrId)!.type).isBasic"
|
|
112
|
-
class="uml-basic-type">
|
|
113
|
-
{{ data.getAttributeById(attrId)?.type }}
|
|
114
|
-
</span>
|
|
115
|
-
<span v-else class="type-unresolved">{{ data.getAttributeById(attrId)?.type }}</span>
|
|
116
|
-
</template>
|
|
117
|
-
</td>
|
|
118
|
-
<td>
|
|
119
|
-
<span v-if="data.getAttributeById(attrId)?.visibility"
|
|
120
|
-
class="visibility-badge"
|
|
121
|
-
:data-visibility="data.getAttributeById(attrId)?.visibility">
|
|
122
|
-
{{ data.getAttributeById(attrId)?.visibility }}
|
|
123
|
-
</span>
|
|
124
|
-
</td>
|
|
125
|
-
<td>{{ formatCardinality(data.getAttributeById(attrId)?.cardinality) }}</td>
|
|
126
|
-
<td>
|
|
127
|
-
<span v-if="data.getAttributeById(attrId)?.isStatic" class="modifier-badge">static</span>
|
|
128
|
-
<span v-if="data.getAttributeById(attrId)?.isReadOnly" class="modifier-badge">readonly</span>
|
|
129
|
-
</td>
|
|
130
|
-
</tr>
|
|
131
|
-
</tbody>
|
|
132
|
-
</table>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
|
|
136
|
-
<!-- Inherited Attributes -->
|
|
137
|
-
<div class="section" v-if="cls.inheritedAttributes.length">
|
|
138
|
-
<h3 class="section-title">Inherited Attributes</h3>
|
|
139
|
-
<div v-for="ia in cls.inheritedAttributes" :key="ia.attributeId" class="inheritance-group">
|
|
140
|
-
<div class="inheritance-header">From {{ ia.inheritedFromName }}</div>
|
|
141
|
-
<div class="table-wrapper">
|
|
142
|
-
<table class="data-table inherited-table">
|
|
143
|
-
<thead>
|
|
144
|
-
<tr><th>Name</th><th>Type</th><th>Cardinality</th></tr>
|
|
145
|
-
</thead>
|
|
146
|
-
<tbody>
|
|
147
|
-
<tr>
|
|
148
|
-
<td>{{ ia.attribute.name }}</td>
|
|
149
|
-
<td>{{ ia.attribute.type }}</td>
|
|
150
|
-
<td>{{ formatCardinality(ia.attribute.cardinality) }}</td>
|
|
151
|
-
</tr>
|
|
152
|
-
</tbody>
|
|
153
|
-
</table>
|
|
154
|
-
</div>
|
|
155
|
-
</div>
|
|
156
|
-
</div>
|
|
157
|
-
|
|
158
|
-
<!-- Operations -->
|
|
159
|
-
<div class="section" v-if="cls.operations.length">
|
|
160
|
-
<h3 class="section-title">Operations <span class="section-count">{{ cls.operations.length }}</span></h3>
|
|
161
|
-
<div class="table-wrapper">
|
|
162
|
-
<table class="data-table">
|
|
163
|
-
<thead>
|
|
164
|
-
<tr><th>Name</th><th>Return</th><th>Visibility</th><th>Modifiers</th></tr>
|
|
165
|
-
</thead>
|
|
166
|
-
<tbody>
|
|
167
|
-
<tr v-for="opId in cls.operations" :key="opId" class="clickable-row">
|
|
168
|
-
<td>
|
|
169
|
-
{{ data.getOperationById(opId)?.name }}(
|
|
170
|
-
<span v-if="data.getOperationById(opId)?.parameters.length">
|
|
171
|
-
{{ data.getOperationById(opId)?.parameters.map(p => `${p.name}: ${p.type || '?'}`).join(', ') }}
|
|
172
|
-
</span>
|
|
173
|
-
)
|
|
174
|
-
</td>
|
|
175
|
-
<td>{{ data.getOperationById(opId)?.returnType || 'void' }}</td>
|
|
176
|
-
<td>
|
|
177
|
-
<span v-if="data.getOperationById(opId)?.visibility"
|
|
178
|
-
class="visibility-badge"
|
|
179
|
-
:data-visibility="data.getOperationById(opId)?.visibility">
|
|
180
|
-
{{ data.getOperationById(opId)?.visibility }}
|
|
181
|
-
</span>
|
|
182
|
-
</td>
|
|
183
|
-
<td>
|
|
184
|
-
<span v-if="data.getOperationById(opId)?.isStatic" class="modifier-badge">static</span>
|
|
185
|
-
<span v-if="data.getOperationById(opId)?.isAbstract" class="modifier-badge">abstract</span>
|
|
186
|
-
</td>
|
|
187
|
-
</tr>
|
|
188
|
-
</tbody>
|
|
189
|
-
</table>
|
|
190
|
-
</div>
|
|
191
|
-
</div>
|
|
192
|
-
|
|
193
|
-
<!-- Associations -->
|
|
194
|
-
<div class="section" v-if="cls.associations.length">
|
|
195
|
-
<h3 class="section-title">Associations <span class="section-count">{{ cls.associations.length }}</span></h3>
|
|
196
|
-
<div class="table-wrapper">
|
|
197
|
-
<table class="data-table">
|
|
198
|
-
<thead>
|
|
199
|
-
<tr><th>Name</th><th>Target</th><th>Cardinality</th><th>Aggregation</th></tr>
|
|
200
|
-
</thead>
|
|
201
|
-
<tbody>
|
|
202
|
-
<tr v-for="assocId in cls.associations" :key="assocId">
|
|
203
|
-
<td>{{ data.getAssociationById(assocId)?.name }}</td>
|
|
204
|
-
<td>
|
|
205
|
-
<template v-if="associationTarget(data.getAssociationById(assocId))">
|
|
206
|
-
<a v-if="associationTarget(data.getAssociationById(assocId))?.className"
|
|
207
|
-
href="#" class="type-link"
|
|
208
|
-
@click.prevent="() => {
|
|
209
|
-
const found = data.findClassByName(associationTarget(data.getAssociationById(assocId))?.className || '')
|
|
210
|
-
if (found) ui.selectClass(found.id)
|
|
211
|
-
}">
|
|
212
|
-
{{ associationTarget(data.getAssociationById(assocId))?.className }}
|
|
213
|
-
</a>
|
|
214
|
-
</template>
|
|
215
|
-
</td>
|
|
216
|
-
<td>{{ formatCardinality(associationTarget(data.getAssociationById(assocId))?.cardinality) }}</td>
|
|
217
|
-
<td>{{ associationTarget(data.getAssociationById(assocId))?.aggregation }}</td>
|
|
218
|
-
</tr>
|
|
219
|
-
</tbody>
|
|
220
|
-
</table>
|
|
221
|
-
</div>
|
|
222
|
-
</div>
|
|
223
|
-
|
|
224
|
-
<!-- Inherited Associations -->
|
|
225
|
-
<div class="section" v-if="cls.inheritedAssociations.length">
|
|
226
|
-
<h3 class="section-title">Inherited Associations</h3>
|
|
227
|
-
<div v-for="ia in cls.inheritedAssociations" :key="ia.associationId" class="inheritance-group">
|
|
228
|
-
<div class="inheritance-header">From {{ ia.inheritedFromName }}</div>
|
|
229
|
-
<div class="list-item">
|
|
230
|
-
<span class="list-item-name">{{ data.getAssociationById(ia.associationId)?.name }}</span>
|
|
231
|
-
<span class="list-item-meta">{{ ia.localRole }}</span>
|
|
232
|
-
</div>
|
|
233
|
-
</div>
|
|
234
|
-
</div>
|
|
235
|
-
|
|
236
|
-
<!-- Enum Literals -->
|
|
237
|
-
<div class="section" v-if="cls.literals.length">
|
|
238
|
-
<h3 class="section-title">Literals <span class="section-count">{{ cls.literals.length }}</span></h3>
|
|
239
|
-
<div class="item-list">
|
|
240
|
-
<div v-for="lit in cls.literals" :key="lit.name" class="list-item">
|
|
241
|
-
<span class="list-item-name">{{ lit.name }}</span>
|
|
242
|
-
<span v-if="lit.definition" class="list-item-meta">{{ lit.definition }}</span>
|
|
243
|
-
</div>
|
|
244
|
-
</div>
|
|
245
|
-
</div>
|
|
246
|
-
</div>
|
|
247
|
-
</template>
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { computed, ref } from 'vue'
|
|
3
|
-
import { useDataStore } from '../stores/dataStore'
|
|
4
|
-
import { useUiStore } from '../stores/uiStore'
|
|
5
|
-
|
|
6
|
-
const data = useDataStore()
|
|
7
|
-
const ui = useUiStore()
|
|
8
|
-
|
|
9
|
-
const diagram = computed(() =>
|
|
10
|
-
ui.currentDiagramId ? data.getDiagramById(ui.currentDiagramId) : null,
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
const zoom = ref(1)
|
|
14
|
-
const panX = ref(0)
|
|
15
|
-
const panY = ref(0)
|
|
16
|
-
|
|
17
|
-
function zoomIn() { zoom.value = Math.min(zoom.value * 1.2, 5) }
|
|
18
|
-
function zoomOut() { zoom.value = Math.max(zoom.value / 1.2, 0.1) }
|
|
19
|
-
function resetView() { zoom.value = 1; panX.value = 0; panY.value = 0 }
|
|
20
|
-
|
|
21
|
-
function onWheel(e: WheelEvent) {
|
|
22
|
-
e.preventDefault()
|
|
23
|
-
if (e.deltaY < 0) zoomIn()
|
|
24
|
-
else zoomOut()
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function downloadSvg() {
|
|
28
|
-
if (!diagram.value?.svg) return
|
|
29
|
-
const blob = new Blob([diagram.value.svg], { type: 'image/svg+xml' })
|
|
30
|
-
const url = URL.createObjectURL(blob)
|
|
31
|
-
const a = document.createElement('a')
|
|
32
|
-
a.href = url
|
|
33
|
-
a.download = `${diagram.value.name || 'diagram'}.svg`
|
|
34
|
-
a.click()
|
|
35
|
-
URL.revokeObjectURL(url)
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
const svgTransform = computed(() =>
|
|
39
|
-
`translate(${panX.value}px, ${panY.value}px) scale(${zoom.value})`
|
|
40
|
-
)
|
|
41
|
-
</script>
|
|
42
|
-
|
|
43
|
-
<template>
|
|
44
|
-
<div class="detail-view" v-if="diagram">
|
|
45
|
-
<div class="entity-header">
|
|
46
|
-
<div class="entity-title">
|
|
47
|
-
<h2 class="entity-name">{{ diagram.name }}</h2>
|
|
48
|
-
</div>
|
|
49
|
-
<span class="entity-badge badge-diagram">Diagram</span>
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
<div class="entity-metadata">
|
|
53
|
-
<div class="metadata-item" v-if="diagram.type">
|
|
54
|
-
<span class="metadata-label">Type</span>
|
|
55
|
-
<span class="metadata-value">{{ diagram.type }}</span>
|
|
56
|
-
</div>
|
|
57
|
-
<div class="metadata-item">
|
|
58
|
-
<span class="metadata-label">Elements</span>
|
|
59
|
-
<span class="metadata-value">{{ diagram.objectCount }}</span>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="metadata-item">
|
|
62
|
-
<span class="metadata-label">Connectors</span>
|
|
63
|
-
<span class="metadata-value">{{ diagram.linkCount }}</span>
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
|
|
67
|
-
<div class="diagram-toolbar" v-if="diagram.svg">
|
|
68
|
-
<button class="btn-sm" @click="zoomIn">Zoom In</button>
|
|
69
|
-
<button class="btn-sm" @click="zoomOut">Zoom Out</button>
|
|
70
|
-
<button class="btn-sm" @click="resetView">Reset</button>
|
|
71
|
-
<button class="btn-sm" @click="downloadSvg">Download SVG</button>
|
|
72
|
-
</div>
|
|
73
|
-
|
|
74
|
-
<div class="diagram-svg-container" v-if="diagram.svg" @wheel="onWheel">
|
|
75
|
-
<div class="diagram-svg" :style="{ transform: svgTransform }"
|
|
76
|
-
v-html="diagram.svg" />
|
|
77
|
-
</div>
|
|
78
|
-
</div>
|
|
79
|
-
</template>
|