aurea-eden 1.25.1
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/.gitattributes +2 -0
- package/.github/workflows/static.yml +43 -0
- package/CHANGELOG.md +60 -0
- package/LICENSE +17 -0
- package/README.md +171 -0
- package/README_.md +174 -0
- package/assets/3diagram_logo.png +0 -0
- package/assets/aurea-eden-logo.jpeg +0 -0
- package/assets/favicon/about.txt +6 -0
- package/assets/favicon/android-chrome-192x192.png +0 -0
- package/assets/favicon/android-chrome-512x512.png +0 -0
- package/assets/favicon/apple-touch-icon.png +0 -0
- package/assets/favicon/favicon-16x16.png +0 -0
- package/assets/favicon/favicon-32x32.png +0 -0
- package/assets/favicon/favicon.ico +0 -0
- package/assets/favicon/site.webmanifest +1 -0
- package/assets/threejs_camera.jpg.webp +0 -0
- package/assets/threejs_camera3.jpg.webp +0 -0
- package/assets/threejs_cameras.webp +0 -0
- package/assets/threejs_cameras2.webp +0 -0
- package/assets/threejs_objects.webp +0 -0
- package/assets/threejs_scene.webp +0 -0
- package/assets/threejs_scene_graph.webp +0 -0
- package/dist/bpmn-diagram.es.js +33126 -0
- package/dist/bpmn-diagram.umd.js +5790 -0
- package/favicon.ico +0 -0
- package/index.html +34 -0
- package/index.js +153 -0
- package/lib/connectors/Connector.js +47 -0
- package/lib/diagrams/Diagram.js +710 -0
- package/lib/diagrams/DiagramConstants.js +22 -0
- package/lib/elements/Element.js +860 -0
- package/lib/materials/BarMaterial.js +17 -0
- package/lib/materials/DiagramEditMaterial.js +28 -0
- package/lib/notations/BpmnDiagram.js +861 -0
- package/lib/shapes/Shape.js +23 -0
- package/lib/shapes/bar/ValueBarConstants.js +34 -0
- package/lib/shapes/bar/ValueBarShape.js +52 -0
- package/lib/shapes/basic/BasicShapeConstants.js +23 -0
- package/lib/shapes/basic/BoxShape.js +12 -0
- package/lib/shapes/basic/CircleShape.js +55 -0
- package/lib/shapes/basic/DiamondShape.js +169 -0
- package/lib/shapes/basic/RoundedRectangleShape.js +180 -0
- package/lib/shapes/connector/ConnectorConstants.js +7 -0
- package/lib/shapes/connector/RoundedCornerOrthogonalConnectorShape.js +229 -0
- package/lib/shapes/icon/IconConstants.js +7 -0
- package/lib/shapes/icon/IconShape.js +92 -0
- package/lib/shapes/icon/bpmn/activities/ad-hoc-marker.svg +50 -0
- package/lib/shapes/icon/bpmn/activities/business-rule.svg +92 -0
- package/lib/shapes/icon/bpmn/activities/compensation-marker.svg +50 -0
- package/lib/shapes/icon/bpmn/activities/loop-marker.svg +50 -0
- package/lib/shapes/icon/bpmn/activities/manual.svg +51 -0
- package/lib/shapes/icon/bpmn/activities/parallel-mi-marker.svg +70 -0
- package/lib/shapes/icon/bpmn/activities/receive.svg +77 -0
- package/lib/shapes/icon/bpmn/activities/script.svg +54 -0
- package/lib/shapes/icon/bpmn/activities/send.svg +86 -0
- package/lib/shapes/icon/bpmn/activities/sequential-mi-marker.svg +70 -0
- package/lib/shapes/icon/bpmn/activities/service.svg +58 -0
- package/lib/shapes/icon/bpmn/activities/sub-process-marker.svg +51 -0
- package/lib/shapes/icon/bpmn/activities/user.svg +50 -0
- package/lib/shapes/icon/bpmn/events/compensation.svg +47 -0
- package/lib/shapes/icon/bpmn/events/conditional.svg +47 -0
- package/lib/shapes/icon/bpmn/events/error.svg +47 -0
- package/lib/shapes/icon/bpmn/events/escalation.svg +47 -0
- package/lib/shapes/icon/bpmn/events/intermediate-compensation.svg +53 -0
- package/lib/shapes/icon/bpmn/events/intermediate-conditional.svg +53 -0
- package/lib/shapes/icon/bpmn/events/intermediate-escalation.svg +53 -0
- package/lib/shapes/icon/bpmn/events/intermediate-link-catch.svg +53 -0
- package/lib/shapes/icon/bpmn/events/intermediate-link-throw.svg +53 -0
- package/lib/shapes/icon/bpmn/events/intermediate-receive.svg +53 -0
- package/lib/shapes/icon/bpmn/events/intermediate-send.svg +69 -0
- package/lib/shapes/icon/bpmn/events/intermediate-signal-catch.svg +53 -0
- package/lib/shapes/icon/bpmn/events/intermediate-signal-throw.svg +53 -0
- package/lib/shapes/icon/bpmn/events/intermediate-timer.svg +107 -0
- package/lib/shapes/icon/bpmn/events/intermediate.svg +49 -0
- package/lib/shapes/icon/bpmn/events/message-end.svg +54 -0
- package/lib/shapes/icon/bpmn/events/message-start.svg +41 -0
- package/lib/shapes/icon/bpmn/events/signal-end.svg +47 -0
- package/lib/shapes/icon/bpmn/events/signal-start.svg +47 -0
- package/lib/shapes/icon/bpmn/events/terminate.svg +49 -0
- package/lib/shapes/icon/bpmn/events/timer.svg +104 -0
- package/lib/shapes/icon/bpmn/gateways/complex.svg +61 -0
- package/lib/shapes/icon/bpmn/gateways/event-based.svg +68 -0
- package/lib/shapes/icon/bpmn/gateways/exclusive.svg +57 -0
- package/lib/shapes/icon/bpmn/gateways/inclusive.svg +57 -0
- package/lib/shapes/icon/bpmn/gateways/parallel.svg +56 -0
- package/lib/shapes/icon/decorators.svg +262 -0
- package/lib/shapes/icon/hexagon.svg +5 -0
- package/lib/shapes/text/Roboto_Regular.json +5610 -0
- package/lib/shapes/text/TextShape.js +29 -0
- package/lib/shapes/text/fonts/Roboto.zip +0 -0
- package/package.json +45 -0
- package/vite.config.js +15 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
|
|
3
|
+
class BarMaterial extends THREE.MeshPhongMaterial {
|
|
4
|
+
constructor(color) {
|
|
5
|
+
super({
|
|
6
|
+
color: color,
|
|
7
|
+
opacity: 0.5,
|
|
8
|
+
transparent: true,
|
|
9
|
+
shininess: 60,
|
|
10
|
+
specular: 0x666666,
|
|
11
|
+
emissive: 0x444444,
|
|
12
|
+
emissiveIntensity: 0.6
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { BarMaterial };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
|
|
3
|
+
// class DiagramEditMaterial extends THREE.MeshPhongMaterial {
|
|
4
|
+
// constructor(color) {
|
|
5
|
+
// super({
|
|
6
|
+
// color: color,
|
|
7
|
+
// shininess: 60,
|
|
8
|
+
// specular: 0x666666,
|
|
9
|
+
// emissive: 0x444444,
|
|
10
|
+
// emissiveIntensity: 0.6,
|
|
11
|
+
// side: THREE.DoubleSide
|
|
12
|
+
// });
|
|
13
|
+
// }
|
|
14
|
+
// }
|
|
15
|
+
|
|
16
|
+
class DiagramEditMaterial extends THREE.MeshLambertMaterial {
|
|
17
|
+
constructor(color) {
|
|
18
|
+
super({
|
|
19
|
+
vertexColors: false,
|
|
20
|
+
color: color,
|
|
21
|
+
side: THREE.DoubleSide,
|
|
22
|
+
emissive: new THREE.Color(color),
|
|
23
|
+
emissiveIntensity: .1
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { DiagramEditMaterial };
|