drawio_dsl 0.11.1 → 0.11.4

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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/config/configuration.json +157 -16
  4. data/docs/domain_model.drawio +89 -89
  5. data/docs/domain_model.json +267 -267
  6. data/docs/printspeak-architecture-controllers-custom.drawio +9 -9
  7. data/docs/printspeak-architecture-controllers.drawio +47 -47
  8. data/docs/printspeak-architecture-generator-custom.drawio +16 -10
  9. data/docs/printspeak-architecture-generator.drawio +268 -0
  10. data/docs/project-plan/project.drawio +92 -89
  11. data/docs/project-plan/project_done.svg +1 -1
  12. data/docs/project-plan/project_in_progress.svg +1 -1
  13. data/docs/project-plan/project_todo.svg +1 -1
  14. data/docs/tailwind_domain_model-custom.drawio +104 -0
  15. data/docs/tailwind_domain_model.json +288 -0
  16. data/docs/tailwind_domain_model.svg +3 -0
  17. data/lib/drawio_dsl/configuration.rb +36 -24
  18. data/lib/drawio_dsl/dom_builder_shapes.rb +78 -0
  19. data/lib/drawio_dsl/drawio_shapes.rb +121 -43
  20. data/lib/drawio_dsl/schema/_.rb +13 -0
  21. data/lib/drawio_dsl/schema/element.rb +4 -0
  22. data/lib/drawio_dsl/schema/line.rb +33 -3
  23. data/lib/drawio_dsl/schema/{texts/.rb → lines/dash.rb} +2 -2
  24. data/lib/drawio_dsl/schema/{elements/.rb → lines/dash24.rb} +2 -2
  25. data/lib/drawio_dsl/schema/lines/dash32.rb +9 -0
  26. data/lib/drawio_dsl/schema/lines/dash44.rb +9 -0
  27. data/lib/drawio_dsl/schema/lines/dash_dot.rb +9 -0
  28. data/lib/drawio_dsl/schema/lines/dash_dot_dot.rb +9 -0
  29. data/lib/drawio_dsl/schema/lines/dash_long_dash.rb +9 -0
  30. data/lib/drawio_dsl/schema/lines/{.rb → dot.rb} +2 -2
  31. data/lib/drawio_dsl/schema/lines/dot_dot_dot.rb +9 -0
  32. data/lib/drawio_dsl/schema/lines/double.rb +9 -0
  33. data/lib/drawio_dsl/schema/lines/double_dash.rb +9 -0
  34. data/lib/drawio_dsl/schema/lines/double_dot.rb +9 -0
  35. data/lib/drawio_dsl/schema/lines/long_dash.rb +9 -0
  36. data/lib/drawio_dsl/schema/shape.rb +6 -1
  37. data/lib/drawio_dsl/schema/text.rb +4 -0
  38. data/lib/drawio_dsl/version.rb +1 -1
  39. data/package-lock.json +2 -2
  40. data/package.json +1 -1
  41. metadata +19 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9980969521b2d53eb2ce4bef91c63121ad2a5225707d9d22ff59db147684cf1b
4
- data.tar.gz: 3d49a57c271985cc59833fc5290958c04d0753a53fa794f84249cf9fa16d0a48
3
+ metadata.gz: ba63e8d87caac08d3c2063074797751607c7c7c5d0ecae6ac27e6312255488d3
4
+ data.tar.gz: c1307cc2d16c575479ad3d0d8a417224cd4728c61c141edb57e498d2cdf0654c
5
5
  SHA512:
6
- metadata.gz: 7033c063756079d9397a2816cb244b57113f0bf5890a61c0a13df9fcb1b6565ac471bd1588306a2a6c8746147efb7a366fd0838b0d7da7ca32fcc1e6d61698ee
7
- data.tar.gz: 1a2c0a9da72c4e72cd37828b5fe8db735237502bce3cd10295404ced2b9935efe3d80e5e813f56262513c073b5846a3e736e20aed19e6b4a3c34bd04518b64bd
6
+ metadata.gz: 3f44b7ee7a44736d361c4a770a3ff20297247d88bcc7b3d5d1601ce51a0bad015000403eebc72b38a34156ec84d60c18cbadda1c5ee1ba26739c8f995ed70579
7
+ data.tar.gz: d99fb52d2b23b563b3dc822f11675c2d6cb309361eeecb86586af3d40eeb9c55cab9a7069b2dba2804e28a4697346d4aca91d7b097f4e551f3d31ab8c3ad963b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,25 @@
1
+ ## [0.11.3](https://github.com/klueless-io/drawio_dsl/compare/v0.11.2...v0.11.3) (2022-03-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add new shapes related to line connectors, plus add stroke: configuration ([f1c64bd](https://github.com/klueless-io/drawio_dsl/commit/f1c64bde3d1d665e9abdf20da87a721651f79461))
7
+ * add new shapes related to line connectors, plus add stroke: configuration ([c7bc02b](https://github.com/klueless-io/drawio_dsl/commit/c7bc02b1ad66fe44e8660d21ab5989ade4838e1f))
8
+
9
+ ## [0.11.2](https://github.com/klueless-io/drawio_dsl/compare/v0.11.1...v0.11.2) (2022-03-26)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * refactor the default shape code for dealing with base classes shape, line, text ([058b06a](https://github.com/klueless-io/drawio_dsl/commit/058b06a25f9d6a13c1ccb45957e7def9841be349))
15
+
16
+ ## [0.11.1](https://github.com/klueless-io/drawio_dsl/compare/v0.11.0...v0.11.1) (2022-03-25)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * rename type to key ([46bd016](https://github.com/klueless-io/drawio_dsl/commit/46bd016d88e42506e775512dbe8dc719ad175e7b))
22
+
1
23
  # [0.11.0](https://github.com/klueless-io/drawio_dsl/compare/v0.10.1...v0.11.0) (2022-03-25)
2
24
 
3
25
 
@@ -5,6 +5,58 @@
5
5
  "key": "solid",
6
6
  "category": "line"
7
7
  },
8
+ {
9
+ "key": "dash",
10
+ "category": "line"
11
+ },
12
+ {
13
+ "key": "dot",
14
+ "category": "line"
15
+ },
16
+ {
17
+ "key": "dash_dot",
18
+ "category": "line"
19
+ },
20
+ {
21
+ "key": "dash_dot_dot",
22
+ "category": "line"
23
+ },
24
+ {
25
+ "key": "dot_dot_dot",
26
+ "category": "line"
27
+ },
28
+ {
29
+ "key": "long_dash",
30
+ "category": "line"
31
+ },
32
+ {
33
+ "key": "dash_long_dash",
34
+ "category": "line"
35
+ },
36
+ {
37
+ "key": "dash24",
38
+ "category": "line"
39
+ },
40
+ {
41
+ "key": "dash32",
42
+ "category": "line"
43
+ },
44
+ {
45
+ "key": "dash44",
46
+ "category": "line"
47
+ },
48
+ {
49
+ "key": "double",
50
+ "category": "line"
51
+ },
52
+ {
53
+ "key": "double_dash",
54
+ "category": "line"
55
+ },
56
+ {
57
+ "key": "double_dot",
58
+ "category": "line"
59
+ },
8
60
  {
9
61
  "key": "h1",
10
62
  "category": "text"
@@ -508,11 +560,100 @@
508
560
  {
509
561
  "category": "line",
510
562
  "key": "solid",
511
- "x": 0,
512
- "y": 0,
513
- "w": 50,
514
- "h": 50,
515
- "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0"
563
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
564
+ "design": null,
565
+ "stroke": null
566
+ },
567
+ {
568
+ "category": "line",
569
+ "key": "dash",
570
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
571
+ "design": null,
572
+ "stroke": "dash"
573
+ },
574
+ {
575
+ "category": "line",
576
+ "key": "dot",
577
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
578
+ "design": null,
579
+ "stroke": "dot"
580
+ },
581
+ {
582
+ "category": "line",
583
+ "key": "dash_dot",
584
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
585
+ "design": null,
586
+ "stroke": "dash_dot"
587
+ },
588
+ {
589
+ "category": "line",
590
+ "key": "dash_dot_dot",
591
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
592
+ "design": null,
593
+ "stroke": "dash_dot_dot"
594
+ },
595
+ {
596
+ "category": "line",
597
+ "key": "dot_dot_dot",
598
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
599
+ "design": null,
600
+ "stroke": "dot_dot_dot"
601
+ },
602
+ {
603
+ "category": "line",
604
+ "key": "long_dash",
605
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
606
+ "design": null,
607
+ "stroke": "long_dash"
608
+ },
609
+ {
610
+ "category": "line",
611
+ "key": "dash_long_dash",
612
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
613
+ "design": null,
614
+ "stroke": "dash_long_dash"
615
+ },
616
+ {
617
+ "category": "line",
618
+ "key": "dash24",
619
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
620
+ "design": null,
621
+ "stroke": "dash24"
622
+ },
623
+ {
624
+ "category": "line",
625
+ "key": "dash32",
626
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
627
+ "design": null,
628
+ "stroke": "dash32"
629
+ },
630
+ {
631
+ "category": "line",
632
+ "key": "dash44",
633
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
634
+ "design": null,
635
+ "stroke": "dash44"
636
+ },
637
+ {
638
+ "category": "line",
639
+ "key": "double",
640
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
641
+ "design": "double",
642
+ "stroke": null
643
+ },
644
+ {
645
+ "category": "line",
646
+ "key": "double_dash",
647
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
648
+ "design": "double",
649
+ "stroke": "dash"
650
+ },
651
+ {
652
+ "category": "line",
653
+ "key": "double_dot",
654
+ "style_modifiers": "edgeStyle=none;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0",
655
+ "design": "double",
656
+ "stroke": "dot"
516
657
  }
517
658
  ],
518
659
  "texts": [
@@ -730,19 +871,19 @@
730
871
  ],
731
872
  "designs": [
732
873
  {
733
- "key": "style1",
874
+ "key": "single",
734
875
  "style": ""
735
876
  },
736
877
  {
737
- "key": "style2",
878
+ "key": "double",
738
879
  "style": "shape=link"
739
880
  },
740
881
  {
741
- "key": "style3",
882
+ "key": "fat1",
742
883
  "style": "shape=flexArrow"
743
884
  },
744
885
  {
745
- "key": "style4",
886
+ "key": "fat2",
746
887
  "style": "shape=arrow"
747
888
  }
748
889
  ]
@@ -1746,13 +1887,13 @@
1746
1887
  "favourite": 1,
1747
1888
  "key": "pale_gray",
1748
1889
  "bg_color": "#FAFAFA",
1749
- "font_color": "#1F2D3D"
1890
+ "font_color": "#FFFFFF"
1750
1891
  },
1751
1892
  {
1752
1893
  "favourite": 0,
1753
1894
  "key": "pale_grey",
1754
1895
  "bg_color": "#FAFAFA",
1755
- "font_color": "#1F2D3D"
1896
+ "font_color": "#FFFFFF"
1756
1897
  },
1757
1898
  {
1758
1899
  "favourite": 0,
@@ -1944,11 +2085,11 @@
1944
2085
  },
1945
2086
  "strokes": [
1946
2087
  {
1947
- "key": "dashed",
2088
+ "key": "dash",
1948
2089
  "style": "dashed=1;fixDash=1"
1949
2090
  },
1950
2091
  {
1951
- "key": "dotted",
2092
+ "key": "dot",
1952
2093
  "style": "dashed=1;fixDash=1;dashPattern=1 4"
1953
2094
  },
1954
2095
  {
@@ -1972,15 +2113,15 @@
1972
2113
  "style": "dashed=1;fixDash=1;dashPattern=10 6 16 6"
1973
2114
  },
1974
2115
  {
1975
- "key": "dashed24",
2116
+ "key": "dash24",
1976
2117
  "style": "dashed=1;fixDash=1;dashPattern=3 8"
1977
2118
  },
1978
2119
  {
1979
- "key": "dashed32",
2120
+ "key": "dash32",
1980
2121
  "style": "dashed=1;fixDash=1;dashPattern=6 5"
1981
2122
  },
1982
2123
  {
1983
- "key": "dashed44",
2124
+ "key": "dash44",
1984
2125
  "style": "dashed=1;fixDash=1;dashPattern=8 8"
1985
2126
  }
1986
2127
  ]