@tumaet/apollon 4.2.16 → 4.2.17
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.
- package/dist/constants.d.ts +10 -5
- package/dist/edges/types.d.ts +4 -4
- package/dist/hooks/useEdgeConfig.d.ts +4 -4
- package/dist/index.js +16772 -16696
- package/dist/nodes/wrappers/GridHandles.d.ts +8 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/requiredInterfaceUtils.d.ts +18 -0
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -24,10 +24,15 @@ export declare const LAYOUT: Readonly<{
|
|
|
24
24
|
readonly LINE_WIDTH_EDGE: 2;
|
|
25
25
|
readonly ICON_LINE_WIDTH: 1.5;
|
|
26
26
|
}>;
|
|
27
|
+
export declare const INTERFACE_SIZE = 30;
|
|
28
|
+
export declare const INTERFACE_RADIUS: number;
|
|
29
|
+
export declare const INTERFACE_STROKE_WIDTH = 2;
|
|
30
|
+
export declare const INTERFACE_SOCKET_GAP = 4;
|
|
27
31
|
export declare const INTERFACE: Readonly<{
|
|
28
32
|
readonly SIZE: 30;
|
|
29
|
-
readonly RADIUS:
|
|
33
|
+
readonly RADIUS: number;
|
|
30
34
|
readonly STROKE_WIDTH: 2;
|
|
35
|
+
readonly SOCKET_GAP: 4;
|
|
31
36
|
}>;
|
|
32
37
|
export declare const MARKER_BASE_SIZE = 18;
|
|
33
38
|
export declare const BPMN_MARKER_SIZE = 11;
|
|
@@ -100,15 +105,15 @@ export declare const MARKER_CONFIGS: Readonly<{
|
|
|
100
105
|
readonly "required-interface": {
|
|
101
106
|
readonly type: "semicircle";
|
|
102
107
|
readonly filled: false;
|
|
103
|
-
readonly size:
|
|
108
|
+
readonly size: number;
|
|
104
109
|
readonly widthFactor: 1;
|
|
105
110
|
readonly heightFactor: 1;
|
|
106
|
-
readonly arcSpanDegrees:
|
|
111
|
+
readonly arcSpanDegrees: 150;
|
|
107
112
|
};
|
|
108
113
|
readonly "required-interface-quarter": {
|
|
109
114
|
readonly type: "semicircle";
|
|
110
115
|
readonly filled: false;
|
|
111
|
-
readonly size:
|
|
116
|
+
readonly size: number;
|
|
112
117
|
readonly widthFactor: 1;
|
|
113
118
|
readonly heightFactor: 1;
|
|
114
119
|
readonly arcSpanDegrees: 90;
|
|
@@ -116,7 +121,7 @@ export declare const MARKER_CONFIGS: Readonly<{
|
|
|
116
121
|
readonly "required-interface-threequarter": {
|
|
117
122
|
readonly type: "semicircle";
|
|
118
123
|
readonly filled: false;
|
|
119
|
-
readonly size:
|
|
124
|
+
readonly size: number;
|
|
120
125
|
readonly widthFactor: 1;
|
|
121
126
|
readonly heightFactor: 1;
|
|
122
127
|
readonly arcSpanDegrees: 270;
|
package/dist/edges/types.d.ts
CHANGED
|
@@ -107,16 +107,16 @@ export declare const edgeConfig: {
|
|
|
107
107
|
readonly allowMidpointDragging: true;
|
|
108
108
|
};
|
|
109
109
|
readonly ComponentProvidedInterface: {
|
|
110
|
-
readonly allowMidpointDragging:
|
|
110
|
+
readonly allowMidpointDragging: true;
|
|
111
111
|
};
|
|
112
112
|
readonly ComponentRequiredInterface: {
|
|
113
|
-
readonly allowMidpointDragging:
|
|
113
|
+
readonly allowMidpointDragging: true;
|
|
114
114
|
};
|
|
115
115
|
readonly ComponentRequiredThreeQuarterInterface: {
|
|
116
|
-
readonly allowMidpointDragging:
|
|
116
|
+
readonly allowMidpointDragging: true;
|
|
117
117
|
};
|
|
118
118
|
readonly ComponentRequiredQuarterInterface: {
|
|
119
|
-
readonly allowMidpointDragging:
|
|
119
|
+
readonly allowMidpointDragging: true;
|
|
120
120
|
};
|
|
121
121
|
readonly DeploymentAssociation: {
|
|
122
122
|
readonly allowMidpointDragging: true;
|
|
@@ -53,13 +53,13 @@ export declare const useEdgeConfig: (edgeType: DiagramEdgeType) => {
|
|
|
53
53
|
} | {
|
|
54
54
|
readonly allowMidpointDragging: true;
|
|
55
55
|
} | {
|
|
56
|
-
readonly allowMidpointDragging:
|
|
56
|
+
readonly allowMidpointDragging: true;
|
|
57
57
|
} | {
|
|
58
|
-
readonly allowMidpointDragging:
|
|
58
|
+
readonly allowMidpointDragging: true;
|
|
59
59
|
} | {
|
|
60
|
-
readonly allowMidpointDragging:
|
|
60
|
+
readonly allowMidpointDragging: true;
|
|
61
61
|
} | {
|
|
62
|
-
readonly allowMidpointDragging:
|
|
62
|
+
readonly allowMidpointDragging: true;
|
|
63
63
|
} | {
|
|
64
64
|
readonly allowMidpointDragging: true;
|
|
65
65
|
readonly showRelationshipLabels: true;
|