pyegeria 5.3.3.13.dev4__py3-none-any.whl → 5.3.3.14.dev1__py3-none-any.whl
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.
- pyegeria/mermaid_utilities.py +14 -7
- {pyegeria-5.3.3.13.dev4.dist-info → pyegeria-5.3.3.14.dev1.dist-info}/METADATA +1 -1
- {pyegeria-5.3.3.13.dev4.dist-info → pyegeria-5.3.3.14.dev1.dist-info}/RECORD +6 -15
- pyegeria/commands/tech/work/mermaid_graphs/Clinical Trial Subject Onboarding.html +0 -135
- pyegeria/commands/tech/work/mermaid_graphs/Clinical Trial Treatment Validation.html +0 -215
- pyegeria/commands/tech/work/mermaid_graphs/Employee Expense Payment.html +0 -126
- pyegeria/commands/tech/work/mermaid_graphs/New Drug Product Information Distribution.html +0 -141
- pyegeria/commands/tech/work/mermaid_graphs/New Employee Onboarding.html +0 -138
- pyegeria/commands/tech/work/mermaid_graphs/Personalized Treatment Ordering.html +0 -143
- pyegeria/commands/tech/work/mermaid_graphs/Physical Inventory Tracking.html +0 -178
- pyegeria/commands/tech/work/mermaid_graphs/Sustainability Reporting.html +0 -203
- pyegeria/commands/tech/work/mermaid_graphs/{{displayName}}.html +0 -115
- {pyegeria-5.3.3.13.dev4.dist-info → pyegeria-5.3.3.14.dev1.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.3.13.dev4.dist-info → pyegeria-5.3.3.14.dev1.dist-info}/WHEEL +0 -0
- {pyegeria-5.3.3.13.dev4.dist-info → pyegeria-5.3.3.14.dev1.dist-info}/entry_points.txt +0 -0
@@ -1,203 +0,0 @@
|
|
1
|
-
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<style type="text/css">
|
5
|
-
#mySvgId {
|
6
|
-
width: 100%;
|
7
|
-
height: 100%;
|
8
|
-
overflow: hidden;
|
9
|
-
border: 1px solid #ccc;
|
10
|
-
position: relative;
|
11
|
-
margin-bottom: 10px;
|
12
|
-
}
|
13
|
-
svg {
|
14
|
-
cursor: grab;
|
15
|
-
}
|
16
|
-
|
17
|
-
</style>
|
18
|
-
</head>
|
19
|
-
|
20
|
-
<body>
|
21
|
-
<div id="graphDiv"></div>
|
22
|
-
<script src="https://bumbu.me/svg-pan-zoom/dist/svg-pan-zoom.min.js"></script>
|
23
|
-
<script type="module">
|
24
|
-
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
|
25
|
-
|
26
|
-
mermaid.initialize({startOnLoad: false});
|
27
|
-
await mermaid.run({
|
28
|
-
querySelector: '.mermaid',
|
29
|
-
postRenderCallback: (id) => {
|
30
|
-
const container = document.getElementById("diagram-container");
|
31
|
-
const svgElement = container.querySelector("svg");
|
32
|
-
|
33
|
-
// Initialize Panzoom
|
34
|
-
const panzoomInstance = Panzoom(svgElement, {
|
35
|
-
maxScale: 5,
|
36
|
-
minScale: 0.5,
|
37
|
-
step: 0.1,
|
38
|
-
});
|
39
|
-
|
40
|
-
// Add mouse wheel zoom
|
41
|
-
container.addEventListener("wheel", (event) => {
|
42
|
-
panzoomInstance.zoomWithWheel(event);
|
43
|
-
});
|
44
|
-
}
|
45
|
-
});
|
46
|
-
|
47
|
-
|
48
|
-
const drawDiagram = async function () {
|
49
|
-
const element = document.querySelector('#graphDiv');
|
50
|
-
const graphDefinition = `
|
51
|
-
flowchart TD
|
52
|
-
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
53
|
-
|
54
|
-
dd15b286-a38d-4f03-8625-aaded8596048@{ shape: flip-tri, label: "*Information Supply Chain*
|
55
|
-
**Sustainability Reporting**"}
|
56
|
-
81fb3cc9-6bdb-4961-80e6-df61df658d14@{ shape: text, label: "*Description*
|
57
|
-
**Delivering information to the sustainability reporting tools.**"}
|
58
|
-
dd15b286-a38d-4f03-8625-aaded8596048~~~81fb3cc9-6bdb-4961-80e6-df61df658d14
|
59
|
-
3cd22769-b940-4154-a3d3-f78546a03301@{ shape: text, label: "*Purpose*
|
60
|
-
**Ensuring sustainability reporting is accurate.**"}
|
61
|
-
81fb3cc9-6bdb-4961-80e6-df61df658d14~~~3cd22769-b940-4154-a3d3-f78546a03301
|
62
|
-
af07dc2b-ae07-442b-9b06-43d4ef52138a@{ shape: hex, label: "*Information Supply Chain Segment*
|
63
|
-
**Sustainability Report Delivery**"}
|
64
|
-
a491accc-aaaa-455b-893e-b6f7b0bf0afb@{ shape: hex, label: "*Information Supply Chain Segment*
|
65
|
-
**Sustainability Assessment**"}
|
66
|
-
a491accc-aaaa-455b-893e-b6f7b0bf0afb-->|"publish report,
|
67
|
-
[Information Supply Chain Link]"|af07dc2b-ae07-442b-9b06-43d4ef52138a
|
68
|
-
9fb47e51-4121-495d-be31-f766a1f70856@{ shape: hex, label: "*Information Supply Chain Segment*
|
69
|
-
**Sustainability Data Gathering**"}
|
70
|
-
9fb47e51-4121-495d-be31-f766a1f70856-->|"deliver data,
|
71
|
-
[Information Supply Chain Link]"|a491accc-aaaa-455b-893e-b6f7b0bf0afb
|
72
|
-
d50a6f1f-49d2-47c3-a55e-5844464bd26f@{ shape: rect, label: "*Solution Component*
|
73
|
-
**SolutionComponent:Sustainability Dashboards:V1.0**"}
|
74
|
-
fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: rect, label: "*Solution Component*
|
75
|
-
**SolutionComponent:Sustainability Operational Data Store (ODS):V1.0**"}
|
76
|
-
fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-->|"travel inventory,
|
77
|
-
[Solution Linking Wire]"|d50a6f1f-49d2-47c3-a55e-5844464bd26f
|
78
|
-
06edd666-06fd-43ef-b7bd-22e2651c334f@{ shape: rect, label: "*Solution Component*
|
79
|
-
**SolutionComponent:Sustainability Calculators:V1.0**"}
|
80
|
-
06edd666-06fd-43ef-b7bd-22e2651c334f-->|"results publishing,
|
81
|
-
[Solution Linking Wire]"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
|
82
|
-
fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-->|"raw data request,
|
83
|
-
[Solution Linking Wire]"|06edd666-06fd-43ef-b7bd-22e2651c334f
|
84
|
-
2c0f5a4e-bb02-4081-a80e-3072ca99a1aa@{ shape: rect, label: "*Solution Component*
|
85
|
-
**SolutionComponent:Accounting ledgers:V1.0**"}
|
86
|
-
2c0f5a4e-bb02-4081-a80e-3072ca99a1aa-->|"spending types,
|
87
|
-
[Solution Linking Wire]"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
|
88
|
-
25fd5be7-692d-4752-9dc7-30068a7d665e@{ shape: rect, label: "*Solution Component*
|
89
|
-
**SolutionComponent:Hazardous Materials (HazMat) Inventory:V1.0**"}
|
90
|
-
25fd5be7-692d-4752-9dc7-30068a7d665e-->|"publish hazmat levels,
|
91
|
-
[Solution Linking Wire]"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
|
92
|
-
50768e61-43b6-4241-96a3-4c413582ec1f@{ shape: rect, label: "*Solution Component*
|
93
|
-
**SolutionComponent:Goods Inventory:V1.0**"}
|
94
|
-
50768e61-43b6-4241-96a3-4c413582ec1f-->|"goods movement,
|
95
|
-
[Solution Linking Wire]"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
|
96
|
-
02cdce9a-7630-479a-90de-fd7698d098f1@{ shape: rect, label: "*Solution Component*
|
97
|
-
**SolutionComponent:Employee Expense Tool:V1.0**"}
|
98
|
-
02cdce9a-7630-479a-90de-fd7698d098f1-->|"travel inventory,
|
99
|
-
[Solution Linking Wire]"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
|
100
|
-
8a578f0d-f7ae-4255-b4a5-236241fa5449@{ shape: rounded, label: "*Software Server*
|
101
|
-
**System:coco-sus**"}
|
102
|
-
5a2927f3-eed6-4509-bceb-2c29aa415090@{ shape: rounded, label: "*Software Server*
|
103
|
-
**System:coco-sus-dashboards**"}
|
104
|
-
8a578f0d-f7ae-4255-b4a5-236241fa5449-->|"data request [Data Flow]"|5a2927f3-eed6-4509-bceb-2c29aa415090
|
105
|
-
11071e76-23a8-4f3d-bd07-3b9aa9781bda@{ shape: rounded, label: "*Software Server*
|
106
|
-
**System:coco-ledgers**"}
|
107
|
-
11071e76-23a8-4f3d-bd07-3b9aa9781bda-->|"spending types [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
108
|
-
ad8eab54-c2f7-494d-82d0-bf5985e5a58d@{ shape: rounded, label: "*Software Server*
|
109
|
-
**System:coco-expenses**"}
|
110
|
-
ad8eab54-c2f7-494d-82d0-bf5985e5a58d-->|"travel inventory [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
111
|
-
047691ac-8628-472d-aca0-82bedc947ef4@{ shape: rounded, label: "*Software Server*
|
112
|
-
**System:austin-haz-mat**"}
|
113
|
-
047691ac-8628-472d-aca0-82bedc947ef4-->|"publish hazmat [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
114
|
-
3dbe7e96-c9e5-4336-a29a-9342258e50f8@{ shape: rounded, label: "*Software Server*
|
115
|
-
**System:coco-sus-calculators**"}
|
116
|
-
3dbe7e96-c9e5-4336-a29a-9342258e50f8-->|"results publishing [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
117
|
-
9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2@{ shape: rounded, label: "*Software Server*
|
118
|
-
**System:aus-inventory**"}
|
119
|
-
9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2-->|"goods movement [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
120
|
-
8a578f0d-f7ae-4255-b4a5-236241fa5449-->|"data request [Data Flow]"|3dbe7e96-c9e5-4336-a29a-9342258e50f8
|
121
|
-
6e786315-ae54-445b-b516-f3c1f0e5f289@{ shape: rounded, label: "*Software Server*
|
122
|
-
**System:coco-haz-mat**"}
|
123
|
-
6e786315-ae54-445b-b516-f3c1f0e5f289-->|"publish hazmat [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
124
|
-
467dd9a0-89d6-4796-a058-c079bf54b6c7@{ shape: rounded, label: "*Software Server*
|
125
|
-
**System:coco-inventory**"}
|
126
|
-
467dd9a0-89d6-4796-a058-c079bf54b6c7-->|"goods movement [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
127
|
-
style dd15b286-a38d-4f03-8625-aaded8596048 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
|
128
|
-
style ad8eab54-c2f7-494d-82d0-bf5985e5a58d color:#000000, fill:#e0ab18, stroke:#004563
|
129
|
-
style 9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2 color:#000000, fill:#e0ab18, stroke:#004563
|
130
|
-
style 11071e76-23a8-4f3d-bd07-3b9aa9781bda color:#000000, fill:#e0ab18, stroke:#004563
|
131
|
-
style 81fb3cc9-6bdb-4961-80e6-df61df658d14 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
132
|
-
style 8a578f0d-f7ae-4255-b4a5-236241fa5449 color:#000000, fill:#e0ab18, stroke:#004563
|
133
|
-
style fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
134
|
-
style 25fd5be7-692d-4752-9dc7-30068a7d665e color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
135
|
-
style 3dbe7e96-c9e5-4336-a29a-9342258e50f8 color:#000000, fill:#e0ab18, stroke:#004563
|
136
|
-
style 06edd666-06fd-43ef-b7bd-22e2651c334f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
137
|
-
style 02cdce9a-7630-479a-90de-fd7698d098f1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
138
|
-
style af07dc2b-ae07-442b-9b06-43d4ef52138a color:#004563, fill:#b7c0c7, stroke:#004563
|
139
|
-
style 047691ac-8628-472d-aca0-82bedc947ef4 color:#000000, fill:#e0ab18, stroke:#004563
|
140
|
-
style d50a6f1f-49d2-47c3-a55e-5844464bd26f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
141
|
-
style 6e786315-ae54-445b-b516-f3c1f0e5f289 color:#000000, fill:#e0ab18, stroke:#004563
|
142
|
-
style 467dd9a0-89d6-4796-a058-c079bf54b6c7 color:#000000, fill:#e0ab18, stroke:#004563
|
143
|
-
style 50768e61-43b6-4241-96a3-4c413582ec1f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
144
|
-
style 3cd22769-b940-4154-a3d3-f78546a03301 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
145
|
-
style a491accc-aaaa-455b-893e-b6f7b0bf0afb color:#004563, fill:#b7c0c7, stroke:#004563
|
146
|
-
style 5a2927f3-eed6-4509-bceb-2c29aa415090 color:#000000, fill:#e0ab18, stroke:#004563
|
147
|
-
style 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
148
|
-
style 9fb47e51-4121-495d-be31-f766a1f70856 color:#004563, fill:#b7c0c7, stroke:#004563`;
|
149
|
-
const {svg} = await mermaid.render('mySvgId', graphDefinition);
|
150
|
-
element.innerHTML = svg.replace(/( )*max-width:( 0-9\.)*px;/i, '');
|
151
|
-
|
152
|
-
var doPan = false;
|
153
|
-
var eventsHandler;
|
154
|
-
var panZoom;
|
155
|
-
var mousepos;
|
156
|
-
|
157
|
-
eventsHandler = {
|
158
|
-
haltEventListeners: ['mousedown', 'mousemove', 'mouseup']
|
159
|
-
|
160
|
-
, mouseDownHandler: function (ev) {
|
161
|
-
if (event.target.className == "[object SVGAnimatedString]") {
|
162
|
-
doPan = true;
|
163
|
-
mousepos = {x: ev.clientX, y: ev.clientY}
|
164
|
-
}
|
165
|
-
;
|
166
|
-
}
|
167
|
-
|
168
|
-
, mouseMoveHandler: function (ev) {
|
169
|
-
if (doPan) {
|
170
|
-
panZoom.panBy({x: ev.clientX - mousepos.x, y: ev.clientY - mousepos.y});
|
171
|
-
mousepos = {x: ev.clientX, y: ev.clientY};
|
172
|
-
window.getSelection().removeAllRanges();
|
173
|
-
}
|
174
|
-
}
|
175
|
-
|
176
|
-
, mouseUpHandler: function (ev) {
|
177
|
-
doPan = false;
|
178
|
-
}
|
179
|
-
|
180
|
-
, init: function (options) {
|
181
|
-
options.svgElement.addEventListener('mousedown', this.mouseDownHandler, false);
|
182
|
-
options.svgElement.addEventListener('mousemove', this.mouseMoveHandler, false);
|
183
|
-
options.svgElement.addEventListener('mouseup', this.mouseUpHandler, false);
|
184
|
-
}
|
185
|
-
|
186
|
-
, destroy: function (options) {
|
187
|
-
options.svgElement.removeEventListener('mousedown', this.mouseDownHandler, false);
|
188
|
-
options.svgElement.removeEventListener('mousemove', this.mouseMoveHandler, false);
|
189
|
-
options.svgElement.removeEventListener('mouseup', this.mouseUpHandler, false);
|
190
|
-
}
|
191
|
-
}
|
192
|
-
panZoom = svgPanZoom('#mySvgId', {
|
193
|
-
zoomEnabled: true
|
194
|
-
, controlIconsEnabled: true
|
195
|
-
, fit: 1
|
196
|
-
, center: 1
|
197
|
-
, customEventsHandler: eventsHandler
|
198
|
-
})
|
199
|
-
};
|
200
|
-
await drawDiagram();
|
201
|
-
</script>
|
202
|
-
</body>
|
203
|
-
|
@@ -1,115 +0,0 @@
|
|
1
|
-
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<style type="text/css">
|
5
|
-
#mySvgId {
|
6
|
-
width: 100%;
|
7
|
-
height: 100%;
|
8
|
-
overflow: hidden;
|
9
|
-
border: 1px solid #ccc;
|
10
|
-
position: relative;
|
11
|
-
margin-bottom: 10px;
|
12
|
-
}
|
13
|
-
svg {
|
14
|
-
cursor: grab;
|
15
|
-
}
|
16
|
-
|
17
|
-
</style>
|
18
|
-
</head>
|
19
|
-
|
20
|
-
<body>
|
21
|
-
<div id="graphDiv"></div>
|
22
|
-
<script src="https://bumbu.me/svg-pan-zoom/dist/svg-pan-zoom.min.js"></script>
|
23
|
-
<script type="module">
|
24
|
-
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
|
25
|
-
|
26
|
-
mermaid.initialize({startOnLoad: false});
|
27
|
-
await mermaid.run({
|
28
|
-
querySelector: '.mermaid',
|
29
|
-
postRenderCallback: (id) => {
|
30
|
-
const container = document.getElementById("diagram-container");
|
31
|
-
const svgElement = container.querySelector("svg");
|
32
|
-
|
33
|
-
// Initialize Panzoom
|
34
|
-
const panzoomInstance = Panzoom(svgElement, {
|
35
|
-
maxScale: 5,
|
36
|
-
minScale: 0.5,
|
37
|
-
step: 0.1,
|
38
|
-
});
|
39
|
-
|
40
|
-
// Add mouse wheel zoom
|
41
|
-
container.addEventListener("wheel", (event) => {
|
42
|
-
panzoomInstance.zoomWithWheel(event);
|
43
|
-
});
|
44
|
-
}
|
45
|
-
});
|
46
|
-
|
47
|
-
|
48
|
-
const drawDiagram = async function () {
|
49
|
-
const element = document.querySelector('#graphDiv');
|
50
|
-
const graphDefinition = `
|
51
|
-
flowchart TD
|
52
|
-
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
53
|
-
|
54
|
-
ba3ab0dd-3ec5-4ec5-9db9-f3dc56e3a732@{ shape: flip-tri, label: "*Information Supply Chain*
|
55
|
-
**{{displayName}}**"}
|
56
|
-
40130bec-d839-48cc-992a-3b2a2fc82caa@{ shape: text, label: "*Description*
|
57
|
-
**{{description}}**"}
|
58
|
-
ba3ab0dd-3ec5-4ec5-9db9-f3dc56e3a732~~~40130bec-d839-48cc-992a-3b2a2fc82caa
|
59
|
-
style ba3ab0dd-3ec5-4ec5-9db9-f3dc56e3a732 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
|
60
|
-
style 40130bec-d839-48cc-992a-3b2a2fc82caa color:#000000, fill:#F9F7ED, stroke:#b7c0c7`;
|
61
|
-
const {svg} = await mermaid.render('mySvgId', graphDefinition);
|
62
|
-
element.innerHTML = svg.replace(/( )*max-width:( 0-9\.)*px;/i, '');
|
63
|
-
|
64
|
-
var doPan = false;
|
65
|
-
var eventsHandler;
|
66
|
-
var panZoom;
|
67
|
-
var mousepos;
|
68
|
-
|
69
|
-
eventsHandler = {
|
70
|
-
haltEventListeners: ['mousedown', 'mousemove', 'mouseup']
|
71
|
-
|
72
|
-
, mouseDownHandler: function (ev) {
|
73
|
-
if (event.target.className == "[object SVGAnimatedString]") {
|
74
|
-
doPan = true;
|
75
|
-
mousepos = {x: ev.clientX, y: ev.clientY}
|
76
|
-
}
|
77
|
-
;
|
78
|
-
}
|
79
|
-
|
80
|
-
, mouseMoveHandler: function (ev) {
|
81
|
-
if (doPan) {
|
82
|
-
panZoom.panBy({x: ev.clientX - mousepos.x, y: ev.clientY - mousepos.y});
|
83
|
-
mousepos = {x: ev.clientX, y: ev.clientY};
|
84
|
-
window.getSelection().removeAllRanges();
|
85
|
-
}
|
86
|
-
}
|
87
|
-
|
88
|
-
, mouseUpHandler: function (ev) {
|
89
|
-
doPan = false;
|
90
|
-
}
|
91
|
-
|
92
|
-
, init: function (options) {
|
93
|
-
options.svgElement.addEventListener('mousedown', this.mouseDownHandler, false);
|
94
|
-
options.svgElement.addEventListener('mousemove', this.mouseMoveHandler, false);
|
95
|
-
options.svgElement.addEventListener('mouseup', this.mouseUpHandler, false);
|
96
|
-
}
|
97
|
-
|
98
|
-
, destroy: function (options) {
|
99
|
-
options.svgElement.removeEventListener('mousedown', this.mouseDownHandler, false);
|
100
|
-
options.svgElement.removeEventListener('mousemove', this.mouseMoveHandler, false);
|
101
|
-
options.svgElement.removeEventListener('mouseup', this.mouseUpHandler, false);
|
102
|
-
}
|
103
|
-
}
|
104
|
-
panZoom = svgPanZoom('#mySvgId', {
|
105
|
-
zoomEnabled: true
|
106
|
-
, controlIconsEnabled: true
|
107
|
-
, fit: 1
|
108
|
-
, center: 1
|
109
|
-
, customEventsHandler: eventsHandler
|
110
|
-
})
|
111
|
-
};
|
112
|
-
await drawDiagram();
|
113
|
-
</script>
|
114
|
-
</body>
|
115
|
-
|
File without changes
|
File without changes
|
File without changes
|