pyegeria 5.3.4.24__py3-none-any.whl → 5.3.4.26__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.
Files changed (36) hide show
  1. pyegeria/_client.py +4 -0
  2. pyegeria/commands/cat/list_glossaries.py +4 -4
  3. pyegeria/glossary_browser_omvs.py +4 -4
  4. pyegeria/glossary_manager_omvs.py +1 -1
  5. pyegeria/platform_services.py +1 -1
  6. pyegeria/server_operations.py +1 -1
  7. pyegeria/valid_metadata_omvs.py +1 -1
  8. pyegeria/x_action_author_omvs.py +1 -1
  9. {pyegeria-5.3.4.24.dist-info → pyegeria-5.3.4.26.dist-info}/METADATA +2 -3
  10. {pyegeria-5.3.4.24.dist-info → pyegeria-5.3.4.26.dist-info}/RECORD +13 -36
  11. {pyegeria-5.3.4.24.dist-info → pyegeria-5.3.4.26.dist-info}/WHEEL +1 -1
  12. pyegeria/commands/tech/work/mermaid_graphs/components/Accounting ledgers.html +0 -145
  13. pyegeria/commands/tech/work/mermaid_graphs/components/Analyse Patient Data.html +0 -158
  14. pyegeria/commands/tech/work/mermaid_graphs/components/Assemble Treatment Assessment Report.html +0 -154
  15. pyegeria/commands/tech/work/mermaid_graphs/components/Certify Hospital.html +0 -136
  16. pyegeria/commands/tech/work/mermaid_graphs/components/Employee Expense Tool.html +0 -145
  17. pyegeria/commands/tech/work/mermaid_graphs/components/Goods Inventory.html +0 -145
  18. pyegeria/commands/tech/work/mermaid_graphs/components/Hazardous Materials (HazMat) Inventory.html +0 -145
  19. pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Landing Area Folder.html +0 -152
  20. pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Processes.html +0 -153
  21. pyegeria/commands/tech/work/mermaid_graphs/components/Landing Folder Cataloguer.html +0 -150
  22. pyegeria/commands/tech/work/mermaid_graphs/components/Nominate Hospital.html +0 -136
  23. pyegeria/commands/tech/work/mermaid_graphs/components/Onboard Hospital.html +0 -136
  24. pyegeria/commands/tech/work/mermaid_graphs/components/Populate Sandbox.html +0 -150
  25. pyegeria/commands/tech/work/mermaid_graphs/components/Set up Data Lake Folder.html +0 -138
  26. pyegeria/commands/tech/work/mermaid_graphs/components/Set up clinical trial.html +0 -136
  27. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Calculators.html +0 -147
  28. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Dashboards.html +0 -157
  29. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Operational Data Store (ODS).html +0 -174
  30. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Assessment Report Validation and Delivery.html +0 -149
  31. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Efficacy Evidence.html +0 -152
  32. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Validation Sandbox.html +0 -152
  33. pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Data Lake Folder.html +0 -156
  34. pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Onboarding Pipeline.html +0 -158
  35. {pyegeria-5.3.4.24.dist-info → pyegeria-5.3.4.26.dist-info}/LICENSE +0 -0
  36. {pyegeria-5.3.4.24.dist-info → pyegeria-5.3.4.26.dist-info}/entry_points.txt +0 -0
@@ -1,136 +0,0 @@
1
-
2
- <div id="mermaid-graph-849b0b42-f465-452b-813c-477d6398e082-wrapper" style="width: 100%; height: 100%; display: flex; flex-direction: column; align-items: stretch;">
3
-
4
- <!-- Title/Heading -->
5
-
6
-
7
- <h3 id="mermaid-graph-849b0b42-f465-452b-813c-477d6398e082-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
- Solution Component - Set up clinical trial
9
- </h3>
10
- <p id="mermaid-graph-849b0b42-f465-452b-813c-477d6398e082-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
- GUID: 849b0b42-f465-452b-813c-477d6398e082
12
- </p>
13
-
14
- <!-- Mermaid Diagram -->
15
- <div id="mermaid-graph-849b0b42-f465-452b-813c-477d6398e082-container" class="diagram-container"
16
- style="width: 100%; flex: 1 1 auto; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;">
17
- <div id="mermaid-graph-849b0b42-f465-452b-813c-477d6398e082" class="mermaid"
18
- style="width: 100%; height: 100%; cursor: grab; user-select: none; margin: 0; padding: 0;">
19
- flowchart TD
20
- %%{init: {&quot;flowchart&quot;: {&quot;htmlLabels&quot;: false}} }%%
21
-
22
- 1e194ea7-32ea-43fe-adcd-f618eb7cfa4b@{ shape: text, label: &quot;*Description*
23
- **Generates the project, and governance action processes needed to drive a clinical trial.**&quot;}
24
- 849b0b42-f465-452b-813c-477d6398e082@{ shape: subproc, label: &quot;*Solution Component*
25
- **Set up clinical trial**&quot;}
26
- f37f3735-28a1-4e03-9ff5-3fe2f137f661@{ shape: trap-t, label: &quot;*Solution Actor Role*
27
- **Clinical Trial Manager**&quot;}
28
- f37f3735-28a1-4e03-9ff5-3fe2f137f661==&gt;|&quot;Initiator&quot;|849b0b42-f465-452b-813c-477d6398e082
29
- style f37f3735-28a1-4e03-9ff5-3fe2f137f661 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
30
- style 849b0b42-f465-452b-813c-477d6398e082 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
31
- style 1e194ea7-32ea-43fe-adcd-f618eb7cfa4b color:#000000, fill:#F9F7ED, stroke:#b7c0c7
32
- </div>
33
- </div>
34
- </div>
35
-
36
- <style>
37
- /* Ensure no margins or padding for the body or html in Jupyter */
38
- body, html {
39
- margin: 0;
40
- padding: 0;
41
- width: 100%;
42
- height: 100%;
43
- }
44
- /* General reset for Jupyter Notebook's extra spacing */
45
- #notebook, .container, .cell, .output_area {
46
- margin: 0 !important;
47
- padding: 0 !important;
48
- }
49
- .diagram-container {
50
- width: 100%;
51
- height: 100%;
52
- overflow: hidden; /* Prevent scrollbars during zoom/pan */
53
- }
54
- h2 {
55
- margin: 0;
56
- padding: 10px;
57
- font-size: 24px;
58
- text-align: center;
59
- flex: 0 0 auto; /* Fix height explicitly for heading */
60
- }
61
- .mermaid {
62
- margin: 0;
63
- padding: 0;
64
- }
65
- </style>
66
-
67
- <script>
68
- (function() {
69
- const graphId = "mermaid-graph-849b0b42-f465-452b-813c-477d6398e082"; // Pass the graph ID
70
-
71
- function loadScript(url, callback) {
72
- const script = document.createElement('script');
73
- script.src = url;
74
- script.onload = callback;
75
- document.head.appendChild(script);
76
- }
77
-
78
- // Initialize Mermaid and render the diagram
79
- function initializeMermaid() {
80
- mermaid.initialize({startOnLoad: false});
81
- mermaid.init(undefined, "#" + graphId);
82
-
83
- setTimeout(() => {
84
- const container = document.getElementById(graphId);
85
- if (!container) {
86
- console.error("Container not found for graph:", graphId);
87
- return;
88
- }
89
-
90
- const svg = container.querySelector("svg");
91
- if (!svg) {
92
- console.error("SVG not rendered by Mermaid.");
93
- return;
94
- }
95
-
96
- console.log("SVG rendered. Applying pan & zoom.");
97
-
98
- // Adjust to container size
99
- const containerElement = document.getElementById("mermaid-graph-849b0b42-f465-452b-813c-477d6398e082-container");
100
- svg.setAttribute("width", containerElement.offsetWidth);
101
- svg.setAttribute("height", containerElement.offsetHeight);
102
-
103
- // Add pan/zoom functionality
104
- loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
105
- const panZoom = svgPanZoom(svg, {
106
- zoomEnabled: true,
107
- controlIconsEnabled: true,
108
- fit: true,
109
- center: true,
110
- minZoom: 0.5,
111
- maxZoom: 10
112
- });
113
-
114
- // Reinitialize pan-zoom on window resize
115
- function onResize() {
116
- panZoom.resize();
117
- panZoom.fit();
118
- panZoom.center();
119
- }
120
- window.addEventListener('resize', onResize);
121
-
122
- console.log("Pan & zoom initialized successfully.");
123
- });
124
- }, 500);
125
- }
126
-
127
- // Load Mermaid.js and initialize
128
- if (typeof mermaid === "undefined") {
129
- loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
130
- } else {
131
- initializeMermaid();
132
- }
133
- })();
134
- </script>
135
-
136
-
@@ -1,147 +0,0 @@
1
-
2
- <div id="mermaid-graph-06edd666-06fd-43ef-b7bd-22e2651c334f-wrapper" style="width: 100%; height: 100%; display: flex; flex-direction: column; align-items: stretch;">
3
-
4
- <!-- Title/Heading -->
5
-
6
-
7
- <h3 id="mermaid-graph-06edd666-06fd-43ef-b7bd-22e2651c334f-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
- Solution Component - Sustainability Calculators
9
- </h3>
10
- <p id="mermaid-graph-06edd666-06fd-43ef-b7bd-22e2651c334f-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
- GUID: 06edd666-06fd-43ef-b7bd-22e2651c334f
12
- </p>
13
-
14
- <!-- Mermaid Diagram -->
15
- <div id="mermaid-graph-06edd666-06fd-43ef-b7bd-22e2651c334f-container" class="diagram-container"
16
- style="width: 100%; flex: 1 1 auto; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;">
17
- <div id="mermaid-graph-06edd666-06fd-43ef-b7bd-22e2651c334f" class="mermaid"
18
- style="width: 100%; height: 100%; cursor: grab; user-select: none; margin: 0; padding: 0;">
19
- flowchart TD
20
- %%{init: {&quot;flowchart&quot;: {&quot;htmlLabels&quot;: false}} }%%
21
-
22
- df28fe81-a652-4ef7-a746-f632b0cedb12@{ shape: text, label: &quot;*Description*
23
- **Algorithms that calculate the impact of Coco Pharmaceuticals&#x27; operation and the changes that are making a difference.**&quot;}
24
- 06edd666-06fd-43ef-b7bd-22e2651c334f@{ shape: subproc, label: &quot;*Solution Component*
25
- **Sustainability Calculators**&quot;}
26
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: rect, label: &quot;*Solution Component*
27
- **Sustainability Operational Data Store (ODS)**&quot;}
28
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4==&gt;|&quot;raw data request,
29
- [Solution Linking Wire]&quot;|06edd666-06fd-43ef-b7bd-22e2651c334f
30
- 06edd666-06fd-43ef-b7bd-22e2651c334f==&gt;|&quot;results publishing,
31
- [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
32
- 9fb47e51-4121-495d-be31-f766a1f70856@{ shape: hex, label: &quot;*Information Supply Chain Segment*
33
- **Sustainability Data Gathering**&quot;}
34
- 9fb47e51-4121-495d-be31-f766a1f70856==&gt;|&quot;InformationSupplyChainLink&quot;|06edd666-06fd-43ef-b7bd-22e2651c334f
35
- dd15b286-a38d-4f03-8625-aaded8596048@{ shape: flip-tri, label: &quot;*Information Supply Chain*
36
- **Sustainability Reporting**&quot;}
37
- dd15b286-a38d-4f03-8625-aaded8596048==&gt;|&quot;InformationSupplyChainComposition&quot;|9fb47e51-4121-495d-be31-f766a1f70856
38
- style dd15b286-a38d-4f03-8625-aaded8596048 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
39
- style df28fe81-a652-4ef7-a746-f632b0cedb12 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
40
- style fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
41
- style 06edd666-06fd-43ef-b7bd-22e2651c334f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
42
- style 9fb47e51-4121-495d-be31-f766a1f70856 color:#004563, fill:#b7c0c7, stroke:#004563
43
- </div>
44
- </div>
45
- </div>
46
-
47
- <style>
48
- /* Ensure no margins or padding for the body or html in Jupyter */
49
- body, html {
50
- margin: 0;
51
- padding: 0;
52
- width: 100%;
53
- height: 100%;
54
- }
55
- /* General reset for Jupyter Notebook's extra spacing */
56
- #notebook, .container, .cell, .output_area {
57
- margin: 0 !important;
58
- padding: 0 !important;
59
- }
60
- .diagram-container {
61
- width: 100%;
62
- height: 100%;
63
- overflow: hidden; /* Prevent scrollbars during zoom/pan */
64
- }
65
- h2 {
66
- margin: 0;
67
- padding: 10px;
68
- font-size: 24px;
69
- text-align: center;
70
- flex: 0 0 auto; /* Fix height explicitly for heading */
71
- }
72
- .mermaid {
73
- margin: 0;
74
- padding: 0;
75
- }
76
- </style>
77
-
78
- <script>
79
- (function() {
80
- const graphId = "mermaid-graph-06edd666-06fd-43ef-b7bd-22e2651c334f"; // Pass the graph ID
81
-
82
- function loadScript(url, callback) {
83
- const script = document.createElement('script');
84
- script.src = url;
85
- script.onload = callback;
86
- document.head.appendChild(script);
87
- }
88
-
89
- // Initialize Mermaid and render the diagram
90
- function initializeMermaid() {
91
- mermaid.initialize({startOnLoad: false});
92
- mermaid.init(undefined, "#" + graphId);
93
-
94
- setTimeout(() => {
95
- const container = document.getElementById(graphId);
96
- if (!container) {
97
- console.error("Container not found for graph:", graphId);
98
- return;
99
- }
100
-
101
- const svg = container.querySelector("svg");
102
- if (!svg) {
103
- console.error("SVG not rendered by Mermaid.");
104
- return;
105
- }
106
-
107
- console.log("SVG rendered. Applying pan & zoom.");
108
-
109
- // Adjust to container size
110
- const containerElement = document.getElementById("mermaid-graph-06edd666-06fd-43ef-b7bd-22e2651c334f-container");
111
- svg.setAttribute("width", containerElement.offsetWidth);
112
- svg.setAttribute("height", containerElement.offsetHeight);
113
-
114
- // Add pan/zoom functionality
115
- loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
116
- const panZoom = svgPanZoom(svg, {
117
- zoomEnabled: true,
118
- controlIconsEnabled: true,
119
- fit: true,
120
- center: true,
121
- minZoom: 0.5,
122
- maxZoom: 10
123
- });
124
-
125
- // Reinitialize pan-zoom on window resize
126
- function onResize() {
127
- panZoom.resize();
128
- panZoom.fit();
129
- panZoom.center();
130
- }
131
- window.addEventListener('resize', onResize);
132
-
133
- console.log("Pan & zoom initialized successfully.");
134
- });
135
- }, 500);
136
- }
137
-
138
- // Load Mermaid.js and initialize
139
- if (typeof mermaid === "undefined") {
140
- loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
141
- } else {
142
- initializeMermaid();
143
- }
144
- })();
145
- </script>
146
-
147
-
@@ -1,157 +0,0 @@
1
-
2
- <div id="mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f-wrapper" style="width: 100%; height: 100%; display: flex; flex-direction: column; align-items: stretch;">
3
-
4
- <!-- Title/Heading -->
5
-
6
-
7
- <h3 id="mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
- Solution Component - Sustainability Dashboards
9
- </h3>
10
- <p id="mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
- GUID: d50a6f1f-49d2-47c3-a55e-5844464bd26f
12
- </p>
13
-
14
- <!-- Mermaid Diagram -->
15
- <div id="mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f-container" class="diagram-container"
16
- style="width: 100%; flex: 1 1 auto; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;">
17
- <div id="mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f" class="mermaid"
18
- style="width: 100%; height: 100%; cursor: grab; user-select: none; margin: 0; padding: 0;">
19
- flowchart TD
20
- %%{init: {&quot;flowchart&quot;: {&quot;htmlLabels&quot;: false}} }%%
21
-
22
- 28c6a29e-19a9-4997-a9e7-b8ecb4f0a890@{ shape: text, label: &quot;*Description*
23
- **Dashboards that illustrate Coco Pharmaceuticals&#x27; sustainability position.**&quot;}
24
- d50a6f1f-49d2-47c3-a55e-5844464bd26f@{ shape: subproc, label: &quot;*Solution Component*
25
- **Sustainability Dashboards**&quot;}
26
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: rect, label: &quot;*Solution Component*
27
- **Sustainability Operational Data Store (ODS)**&quot;}
28
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4==&gt;|&quot;travel inventory,
29
- [Solution Linking Wire]&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
30
- ac0e0d11-6523-499f-bcdb-5db15fc49ac8@{ shape: trap-t, label: &quot;*Solution Actor Role*
31
- **Sustainability Champion**&quot;}
32
- ac0e0d11-6523-499f-bcdb-5db15fc49ac8==&gt;|&quot;Review Status&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
33
- 2942cd61-d8ad-427d-847a-dae4a1a6f32f@{ shape: trap-t, label: &quot;*Solution Actor Role*
34
- **Sustainability Executive**&quot;}
35
- 2942cd61-d8ad-427d-847a-dae4a1a6f32f==&gt;|&quot;Review Status&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
36
- 3d6e9e6e-6dda-4586-a114-d8e7a1f47972@{ shape: trap-t, label: &quot;*Solution Actor Role*
37
- **Sustainability Leader**&quot;}
38
- 3d6e9e6e-6dda-4586-a114-d8e7a1f47972==&gt;|&quot;Review Status&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
39
- 9fb47e51-4121-495d-be31-f766a1f70856@{ shape: hex, label: &quot;*Information Supply Chain Segment*
40
- **Sustainability Data Gathering**&quot;}
41
- 9fb47e51-4121-495d-be31-f766a1f70856==&gt;|&quot;InformationSupplyChainLink&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
42
- dd15b286-a38d-4f03-8625-aaded8596048@{ shape: flip-tri, label: &quot;*Information Supply Chain*
43
- **Sustainability Reporting**&quot;}
44
- dd15b286-a38d-4f03-8625-aaded8596048==&gt;|&quot;InformationSupplyChainComposition&quot;|9fb47e51-4121-495d-be31-f766a1f70856
45
- style 28c6a29e-19a9-4997-a9e7-b8ecb4f0a890 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
46
- style d50a6f1f-49d2-47c3-a55e-5844464bd26f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
47
- style ac0e0d11-6523-499f-bcdb-5db15fc49ac8 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
48
- style 2942cd61-d8ad-427d-847a-dae4a1a6f32f color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
49
- style dd15b286-a38d-4f03-8625-aaded8596048 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
50
- style fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
51
- style 3d6e9e6e-6dda-4586-a114-d8e7a1f47972 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
52
- style 9fb47e51-4121-495d-be31-f766a1f70856 color:#004563, fill:#b7c0c7, stroke:#004563
53
- </div>
54
- </div>
55
- </div>
56
-
57
- <style>
58
- /* Ensure no margins or padding for the body or html in Jupyter */
59
- body, html {
60
- margin: 0;
61
- padding: 0;
62
- width: 100%;
63
- height: 100%;
64
- }
65
- /* General reset for Jupyter Notebook's extra spacing */
66
- #notebook, .container, .cell, .output_area {
67
- margin: 0 !important;
68
- padding: 0 !important;
69
- }
70
- .diagram-container {
71
- width: 100%;
72
- height: 100%;
73
- overflow: hidden; /* Prevent scrollbars during zoom/pan */
74
- }
75
- h2 {
76
- margin: 0;
77
- padding: 10px;
78
- font-size: 24px;
79
- text-align: center;
80
- flex: 0 0 auto; /* Fix height explicitly for heading */
81
- }
82
- .mermaid {
83
- margin: 0;
84
- padding: 0;
85
- }
86
- </style>
87
-
88
- <script>
89
- (function() {
90
- const graphId = "mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f"; // Pass the graph ID
91
-
92
- function loadScript(url, callback) {
93
- const script = document.createElement('script');
94
- script.src = url;
95
- script.onload = callback;
96
- document.head.appendChild(script);
97
- }
98
-
99
- // Initialize Mermaid and render the diagram
100
- function initializeMermaid() {
101
- mermaid.initialize({startOnLoad: false});
102
- mermaid.init(undefined, "#" + graphId);
103
-
104
- setTimeout(() => {
105
- const container = document.getElementById(graphId);
106
- if (!container) {
107
- console.error("Container not found for graph:", graphId);
108
- return;
109
- }
110
-
111
- const svg = container.querySelector("svg");
112
- if (!svg) {
113
- console.error("SVG not rendered by Mermaid.");
114
- return;
115
- }
116
-
117
- console.log("SVG rendered. Applying pan & zoom.");
118
-
119
- // Adjust to container size
120
- const containerElement = document.getElementById("mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f-container");
121
- svg.setAttribute("width", containerElement.offsetWidth);
122
- svg.setAttribute("height", containerElement.offsetHeight);
123
-
124
- // Add pan/zoom functionality
125
- loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
126
- const panZoom = svgPanZoom(svg, {
127
- zoomEnabled: true,
128
- controlIconsEnabled: true,
129
- fit: true,
130
- center: true,
131
- minZoom: 0.5,
132
- maxZoom: 10
133
- });
134
-
135
- // Reinitialize pan-zoom on window resize
136
- function onResize() {
137
- panZoom.resize();
138
- panZoom.fit();
139
- panZoom.center();
140
- }
141
- window.addEventListener('resize', onResize);
142
-
143
- console.log("Pan & zoom initialized successfully.");
144
- });
145
- }, 500);
146
- }
147
-
148
- // Load Mermaid.js and initialize
149
- if (typeof mermaid === "undefined") {
150
- loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
151
- } else {
152
- initializeMermaid();
153
- }
154
- })();
155
- </script>
156
-
157
-
@@ -1,174 +0,0 @@
1
-
2
- <div id="mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-wrapper" style="width: 100%; height: 100%; display: flex; flex-direction: column; align-items: stretch;">
3
-
4
- <!-- Title/Heading -->
5
-
6
-
7
- <h3 id="mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
- Solution Component - Sustainability Operational Data Store (ODS)
9
- </h3>
10
- <p id="mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
- GUID: fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
12
- </p>
13
-
14
- <!-- Mermaid Diagram -->
15
- <div id="mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-container" class="diagram-container"
16
- style="width: 100%; flex: 1 1 auto; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;">
17
- <div id="mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4" class="mermaid"
18
- style="width: 100%; height: 100%; cursor: grab; user-select: none; margin: 0; padding: 0;">
19
- flowchart TD
20
- %%{init: {&quot;flowchart&quot;: {&quot;htmlLabels&quot;: false}} }%%
21
-
22
- 0ddb735b-737f-4321-9c4a-33c7bbeee6d5@{ shape: text, label: &quot;*Description*
23
- **A store for both the raw data needed for the sustainability calculations and the results.**&quot;}
24
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: subproc, label: &quot;*Solution Component*
25
- **Sustainability Operational Data Store (ODS)**&quot;}
26
- 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa@{ shape: rect, label: &quot;*Solution Component*
27
- **Accounting ledgers**&quot;}
28
- 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa==&gt;|&quot;spending types,
29
- [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
30
- 06edd666-06fd-43ef-b7bd-22e2651c334f@{ shape: rect, label: &quot;*Solution Component*
31
- **Sustainability Calculators**&quot;}
32
- 06edd666-06fd-43ef-b7bd-22e2651c334f==&gt;|&quot;results publishing,
33
- [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
34
- 25fd5be7-692d-4752-9dc7-30068a7d665e@{ shape: rect, label: &quot;*Solution Component*
35
- **Hazardous Materials (HazMat) Inventory**&quot;}
36
- 25fd5be7-692d-4752-9dc7-30068a7d665e==&gt;|&quot;publish hazmat levels,
37
- [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
38
- 50768e61-43b6-4241-96a3-4c413582ec1f@{ shape: rect, label: &quot;*Solution Component*
39
- **Goods Inventory**&quot;}
40
- 50768e61-43b6-4241-96a3-4c413582ec1f==&gt;|&quot;goods movement,
41
- [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
42
- 02cdce9a-7630-479a-90de-fd7698d098f1@{ shape: rect, label: &quot;*Solution Component*
43
- **Employee Expense Tool**&quot;}
44
- 02cdce9a-7630-479a-90de-fd7698d098f1==&gt;|&quot;travel inventory,
45
- [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
46
- d50a6f1f-49d2-47c3-a55e-5844464bd26f@{ shape: rect, label: &quot;*Solution Component*
47
- **Sustainability Dashboards**&quot;}
48
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4==&gt;|&quot;travel inventory,
49
- [Solution Linking Wire]&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
50
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4==&gt;|&quot;raw data request,
51
- [Solution Linking Wire]&quot;|06edd666-06fd-43ef-b7bd-22e2651c334f
52
- 9fb47e51-4121-495d-be31-f766a1f70856@{ shape: hex, label: &quot;*Information Supply Chain Segment*
53
- **Sustainability Data Gathering**&quot;}
54
- 9fb47e51-4121-495d-be31-f766a1f70856==&gt;|&quot;ImplementedBy&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
55
- dd15b286-a38d-4f03-8625-aaded8596048@{ shape: flip-tri, label: &quot;*Information Supply Chain*
56
- **Sustainability Reporting**&quot;}
57
- dd15b286-a38d-4f03-8625-aaded8596048==&gt;|&quot;InformationSupplyChainComposition&quot;|9fb47e51-4121-495d-be31-f766a1f70856
58
- 9fb47e51-4121-495d-be31-f766a1f70856==&gt;|&quot;InformationSupplyChainLink&quot;|dd15b286-a38d-4f03-8625-aaded8596048
59
- dd15b286-a38d-4f03-8625-aaded8596048==&gt;|&quot;InformationSupplyChainComposition&quot;|9fb47e51-4121-495d-be31-f766a1f70856
60
- style 0ddb735b-737f-4321-9c4a-33c7bbeee6d5 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
61
- style d50a6f1f-49d2-47c3-a55e-5844464bd26f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
62
- style dd15b286-a38d-4f03-8625-aaded8596048 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
63
- style 50768e61-43b6-4241-96a3-4c413582ec1f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
64
- style fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
65
- style 25fd5be7-692d-4752-9dc7-30068a7d665e color:#FFFFFF, fill:#838cc7, stroke:#3079ab
66
- style 06edd666-06fd-43ef-b7bd-22e2651c334f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
67
- style 02cdce9a-7630-479a-90de-fd7698d098f1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
68
- style 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa color:#FFFFFF, fill:#838cc7, stroke:#3079ab
69
- style 9fb47e51-4121-495d-be31-f766a1f70856 color:#004563, fill:#b7c0c7, stroke:#004563
70
- </div>
71
- </div>
72
- </div>
73
-
74
- <style>
75
- /* Ensure no margins or padding for the body or html in Jupyter */
76
- body, html {
77
- margin: 0;
78
- padding: 0;
79
- width: 100%;
80
- height: 100%;
81
- }
82
- /* General reset for Jupyter Notebook's extra spacing */
83
- #notebook, .container, .cell, .output_area {
84
- margin: 0 !important;
85
- padding: 0 !important;
86
- }
87
- .diagram-container {
88
- width: 100%;
89
- height: 100%;
90
- overflow: hidden; /* Prevent scrollbars during zoom/pan */
91
- }
92
- h2 {
93
- margin: 0;
94
- padding: 10px;
95
- font-size: 24px;
96
- text-align: center;
97
- flex: 0 0 auto; /* Fix height explicitly for heading */
98
- }
99
- .mermaid {
100
- margin: 0;
101
- padding: 0;
102
- }
103
- </style>
104
-
105
- <script>
106
- (function() {
107
- const graphId = "mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4"; // Pass the graph ID
108
-
109
- function loadScript(url, callback) {
110
- const script = document.createElement('script');
111
- script.src = url;
112
- script.onload = callback;
113
- document.head.appendChild(script);
114
- }
115
-
116
- // Initialize Mermaid and render the diagram
117
- function initializeMermaid() {
118
- mermaid.initialize({startOnLoad: false});
119
- mermaid.init(undefined, "#" + graphId);
120
-
121
- setTimeout(() => {
122
- const container = document.getElementById(graphId);
123
- if (!container) {
124
- console.error("Container not found for graph:", graphId);
125
- return;
126
- }
127
-
128
- const svg = container.querySelector("svg");
129
- if (!svg) {
130
- console.error("SVG not rendered by Mermaid.");
131
- return;
132
- }
133
-
134
- console.log("SVG rendered. Applying pan & zoom.");
135
-
136
- // Adjust to container size
137
- const containerElement = document.getElementById("mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-container");
138
- svg.setAttribute("width", containerElement.offsetWidth);
139
- svg.setAttribute("height", containerElement.offsetHeight);
140
-
141
- // Add pan/zoom functionality
142
- loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
143
- const panZoom = svgPanZoom(svg, {
144
- zoomEnabled: true,
145
- controlIconsEnabled: true,
146
- fit: true,
147
- center: true,
148
- minZoom: 0.5,
149
- maxZoom: 10
150
- });
151
-
152
- // Reinitialize pan-zoom on window resize
153
- function onResize() {
154
- panZoom.resize();
155
- panZoom.fit();
156
- panZoom.center();
157
- }
158
- window.addEventListener('resize', onResize);
159
-
160
- console.log("Pan & zoom initialized successfully.");
161
- });
162
- }, 500);
163
- }
164
-
165
- // Load Mermaid.js and initialize
166
- if (typeof mermaid === "undefined") {
167
- loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
168
- } else {
169
- initializeMermaid();
170
- }
171
- })();
172
- </script>
173
-
174
-