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,154 +0,0 @@
1
-
2
- <div id="mermaid-graph-72a86eec-9734-4bc0-babb-4fec0aa7c9ff-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-72a86eec-9734-4bc0-babb-4fec0aa7c9ff-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
- Solution Component - Assemble Treatment Assessment Report
9
- </h3>
10
- <p id="mermaid-graph-72a86eec-9734-4bc0-babb-4fec0aa7c9ff-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
- GUID: 72a86eec-9734-4bc0-babb-4fec0aa7c9ff
12
- </p>
13
-
14
- <!-- Mermaid Diagram -->
15
- <div id="mermaid-graph-72a86eec-9734-4bc0-babb-4fec0aa7c9ff-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-72a86eec-9734-4bc0-babb-4fec0aa7c9ff" 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
- e7f44d8e-9adf-49ba-861a-e13187ba8a8b@{ shape: text, label: &quot;*Description*
23
- **A process of creating a filing report for the regulators detailing the findings from the clinical trial.**&quot;}
24
- 72a86eec-9734-4bc0-babb-4fec0aa7c9ff@{ shape: docs, label: &quot;*Solution Component*
25
- **Assemble Treatment Assessment Report**&quot;}
26
- 48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5@{ shape: rect, label: &quot;*Solution Component*
27
- **Treatment Efficacy Evidence**&quot;}
28
- 48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5==&gt;|&quot;retrieve evidence,
29
- [Solution Linking Wire]&quot;|72a86eec-9734-4bc0-babb-4fec0aa7c9ff
30
- 0bf2547c-937c-41b6-814f-6284849271a1@{ shape: rect, label: &quot;*Solution Component*
31
- **Treatment Assessment Report Validation and Delivery**&quot;}
32
- 72a86eec-9734-4bc0-babb-4fec0aa7c9ff==&gt;|&quot;publish results,
33
- [Solution Linking Wire]&quot;|0bf2547c-937c-41b6-814f-6284849271a1
34
- f37f3735-28a1-4e03-9ff5-3fe2f137f661@{ shape: trap-t, label: &quot;*Solution Actor Role*
35
- **Clinical Trial Manager**&quot;}
36
- f37f3735-28a1-4e03-9ff5-3fe2f137f661==&gt;|&quot;Author&quot;|72a86eec-9734-4bc0-babb-4fec0aa7c9ff
37
- 04ae768e-3816-47bc-bddb-c9ae25018684@{ shape: hex, label: &quot;*Information Supply Chain Segment*
38
- **Hospital Delivers Patient Weekly Readings**&quot;}
39
- 04ae768e-3816-47bc-bddb-c9ae25018684==&gt;|&quot;InformationSupplyChainLink&quot;|72a86eec-9734-4bc0-babb-4fec0aa7c9ff
40
- 1f71e403-1187-4f03-a1dd-ae7dc105f06f@{ shape: flip-tri, label: &quot;*Information Supply Chain*
41
- **Clinical Trial Treatment Validation**&quot;}
42
- 1f71e403-1187-4f03-a1dd-ae7dc105f06f==&gt;|&quot;InformationSupplyChainComposition&quot;|04ae768e-3816-47bc-bddb-c9ae25018684
43
- style 48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
44
- style e7f44d8e-9adf-49ba-861a-e13187ba8a8b color:#000000, fill:#F9F7ED, stroke:#b7c0c7
45
- style 0bf2547c-937c-41b6-814f-6284849271a1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
46
- style f37f3735-28a1-4e03-9ff5-3fe2f137f661 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
47
- style 1f71e403-1187-4f03-a1dd-ae7dc105f06f color:#FFFFFF, fill:#004563, stroke:#b7c0c7
48
- style 04ae768e-3816-47bc-bddb-c9ae25018684 color:#004563, fill:#b7c0c7, stroke:#004563
49
- style 72a86eec-9734-4bc0-babb-4fec0aa7c9ff color:#FFFFFF, fill:#838cc7, stroke:#3079ab
50
- </div>
51
- </div>
52
- </div>
53
-
54
- <style>
55
- /* Ensure no margins or padding for the body or html in Jupyter */
56
- body, html {
57
- margin: 0;
58
- padding: 0;
59
- width: 100%;
60
- height: 100%;
61
- }
62
- /* General reset for Jupyter Notebook's extra spacing */
63
- #notebook, .container, .cell, .output_area {
64
- margin: 0 !important;
65
- padding: 0 !important;
66
- }
67
- .diagram-container {
68
- width: 100%;
69
- height: 100%;
70
- overflow: hidden; /* Prevent scrollbars during zoom/pan */
71
- }
72
- h2 {
73
- margin: 0;
74
- padding: 10px;
75
- font-size: 24px;
76
- text-align: center;
77
- flex: 0 0 auto; /* Fix height explicitly for heading */
78
- }
79
- .mermaid {
80
- margin: 0;
81
- padding: 0;
82
- }
83
- </style>
84
-
85
- <script>
86
- (function() {
87
- const graphId = "mermaid-graph-72a86eec-9734-4bc0-babb-4fec0aa7c9ff"; // Pass the graph ID
88
-
89
- function loadScript(url, callback) {
90
- const script = document.createElement('script');
91
- script.src = url;
92
- script.onload = callback;
93
- document.head.appendChild(script);
94
- }
95
-
96
- // Initialize Mermaid and render the diagram
97
- function initializeMermaid() {
98
- mermaid.initialize({startOnLoad: false});
99
- mermaid.init(undefined, "#" + graphId);
100
-
101
- setTimeout(() => {
102
- const container = document.getElementById(graphId);
103
- if (!container) {
104
- console.error("Container not found for graph:", graphId);
105
- return;
106
- }
107
-
108
- const svg = container.querySelector("svg");
109
- if (!svg) {
110
- console.error("SVG not rendered by Mermaid.");
111
- return;
112
- }
113
-
114
- console.log("SVG rendered. Applying pan & zoom.");
115
-
116
- // Adjust to container size
117
- const containerElement = document.getElementById("mermaid-graph-72a86eec-9734-4bc0-babb-4fec0aa7c9ff-container");
118
- svg.setAttribute("width", containerElement.offsetWidth);
119
- svg.setAttribute("height", containerElement.offsetHeight);
120
-
121
- // Add pan/zoom functionality
122
- loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
123
- const panZoom = svgPanZoom(svg, {
124
- zoomEnabled: true,
125
- controlIconsEnabled: true,
126
- fit: true,
127
- center: true,
128
- minZoom: 0.5,
129
- maxZoom: 10
130
- });
131
-
132
- // Reinitialize pan-zoom on window resize
133
- function onResize() {
134
- panZoom.resize();
135
- panZoom.fit();
136
- panZoom.center();
137
- }
138
- window.addEventListener('resize', onResize);
139
-
140
- console.log("Pan & zoom initialized successfully.");
141
- });
142
- }, 500);
143
- }
144
-
145
- // Load Mermaid.js and initialize
146
- if (typeof mermaid === "undefined") {
147
- loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
148
- } else {
149
- initializeMermaid();
150
- }
151
- })();
152
- </script>
153
-
154
-
@@ -1,136 +0,0 @@
1
-
2
- <div id="mermaid-graph-37b8560d-84d4-434b-9b0d-105420fcc924-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-37b8560d-84d4-434b-9b0d-105420fcc924-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
- Solution Component - Certify Hospital
9
- </h3>
10
- <p id="mermaid-graph-37b8560d-84d4-434b-9b0d-105420fcc924-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
- GUID: 37b8560d-84d4-434b-9b0d-105420fcc924
12
- </p>
13
-
14
- <!-- Mermaid Diagram -->
15
- <div id="mermaid-graph-37b8560d-84d4-434b-9b0d-105420fcc924-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-37b8560d-84d4-434b-9b0d-105420fcc924" 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
- cc4ef0dd-8a0c-48a5-9975-594cdafa01b7@{ shape: text, label: &quot;*Description*
23
- **Confirm that a hospital has met all of the criteria to participate in the clinical trial.**&quot;}
24
- 37b8560d-84d4-434b-9b0d-105420fcc924@{ shape: subproc, label: &quot;*Solution Component*
25
- **Certify Hospital**&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;Certifier&quot;|37b8560d-84d4-434b-9b0d-105420fcc924
29
- style 37b8560d-84d4-434b-9b0d-105420fcc924 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
30
- style f37f3735-28a1-4e03-9ff5-3fe2f137f661 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
31
- style cc4ef0dd-8a0c-48a5-9975-594cdafa01b7 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-37b8560d-84d4-434b-9b0d-105420fcc924"; // 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-37b8560d-84d4-434b-9b0d-105420fcc924-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,145 +0,0 @@
1
-
2
- <div id="mermaid-graph-02cdce9a-7630-479a-90de-fd7698d098f1-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-02cdce9a-7630-479a-90de-fd7698d098f1-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
- Solution Component - Employee Expense Tool
9
- </h3>
10
- <p id="mermaid-graph-02cdce9a-7630-479a-90de-fd7698d098f1-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
- GUID: 02cdce9a-7630-479a-90de-fd7698d098f1
12
- </p>
13
-
14
- <!-- Mermaid Diagram -->
15
- <div id="mermaid-graph-02cdce9a-7630-479a-90de-fd7698d098f1-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-02cdce9a-7630-479a-90de-fd7698d098f1" 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
- e4570a6d-51de-409f-9301-4fe9bec32489@{ shape: text, label: &quot;*Description*
23
- **Application for recording and categorizing employee expenses, and authorizing the repayment.**&quot;}
24
- 02cdce9a-7630-479a-90de-fd7698d098f1@{ shape: subproc, label: &quot;*Solution Component*
25
- **Employee Expense Tool**&quot;}
26
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: rect, label: &quot;*Solution Component*
27
- **Sustainability Operational Data Store (ODS)**&quot;}
28
- 02cdce9a-7630-479a-90de-fd7698d098f1==&gt;|&quot;travel inventory,
29
- [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
30
- 9fb47e51-4121-495d-be31-f766a1f70856@{ shape: hex, label: &quot;*Information Supply Chain Segment*
31
- **Sustainability Data Gathering**&quot;}
32
- 9fb47e51-4121-495d-be31-f766a1f70856==&gt;|&quot;ImplementedBy&quot;|02cdce9a-7630-479a-90de-fd7698d098f1
33
- dd15b286-a38d-4f03-8625-aaded8596048@{ shape: flip-tri, label: &quot;*Information Supply Chain*
34
- **Sustainability Reporting**&quot;}
35
- dd15b286-a38d-4f03-8625-aaded8596048==&gt;|&quot;InformationSupplyChainComposition&quot;|9fb47e51-4121-495d-be31-f766a1f70856
36
- style e4570a6d-51de-409f-9301-4fe9bec32489 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
37
- style dd15b286-a38d-4f03-8625-aaded8596048 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
38
- style fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
39
- style 02cdce9a-7630-479a-90de-fd7698d098f1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
40
- style 9fb47e51-4121-495d-be31-f766a1f70856 color:#004563, fill:#b7c0c7, stroke:#004563
41
- </div>
42
- </div>
43
- </div>
44
-
45
- <style>
46
- /* Ensure no margins or padding for the body or html in Jupyter */
47
- body, html {
48
- margin: 0;
49
- padding: 0;
50
- width: 100%;
51
- height: 100%;
52
- }
53
- /* General reset for Jupyter Notebook's extra spacing */
54
- #notebook, .container, .cell, .output_area {
55
- margin: 0 !important;
56
- padding: 0 !important;
57
- }
58
- .diagram-container {
59
- width: 100%;
60
- height: 100%;
61
- overflow: hidden; /* Prevent scrollbars during zoom/pan */
62
- }
63
- h2 {
64
- margin: 0;
65
- padding: 10px;
66
- font-size: 24px;
67
- text-align: center;
68
- flex: 0 0 auto; /* Fix height explicitly for heading */
69
- }
70
- .mermaid {
71
- margin: 0;
72
- padding: 0;
73
- }
74
- </style>
75
-
76
- <script>
77
- (function() {
78
- const graphId = "mermaid-graph-02cdce9a-7630-479a-90de-fd7698d098f1"; // Pass the graph ID
79
-
80
- function loadScript(url, callback) {
81
- const script = document.createElement('script');
82
- script.src = url;
83
- script.onload = callback;
84
- document.head.appendChild(script);
85
- }
86
-
87
- // Initialize Mermaid and render the diagram
88
- function initializeMermaid() {
89
- mermaid.initialize({startOnLoad: false});
90
- mermaid.init(undefined, "#" + graphId);
91
-
92
- setTimeout(() => {
93
- const container = document.getElementById(graphId);
94
- if (!container) {
95
- console.error("Container not found for graph:", graphId);
96
- return;
97
- }
98
-
99
- const svg = container.querySelector("svg");
100
- if (!svg) {
101
- console.error("SVG not rendered by Mermaid.");
102
- return;
103
- }
104
-
105
- console.log("SVG rendered. Applying pan & zoom.");
106
-
107
- // Adjust to container size
108
- const containerElement = document.getElementById("mermaid-graph-02cdce9a-7630-479a-90de-fd7698d098f1-container");
109
- svg.setAttribute("width", containerElement.offsetWidth);
110
- svg.setAttribute("height", containerElement.offsetHeight);
111
-
112
- // Add pan/zoom functionality
113
- loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
114
- const panZoom = svgPanZoom(svg, {
115
- zoomEnabled: true,
116
- controlIconsEnabled: true,
117
- fit: true,
118
- center: true,
119
- minZoom: 0.5,
120
- maxZoom: 10
121
- });
122
-
123
- // Reinitialize pan-zoom on window resize
124
- function onResize() {
125
- panZoom.resize();
126
- panZoom.fit();
127
- panZoom.center();
128
- }
129
- window.addEventListener('resize', onResize);
130
-
131
- console.log("Pan & zoom initialized successfully.");
132
- });
133
- }, 500);
134
- }
135
-
136
- // Load Mermaid.js and initialize
137
- if (typeof mermaid === "undefined") {
138
- loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
139
- } else {
140
- initializeMermaid();
141
- }
142
- })();
143
- </script>
144
-
145
-
@@ -1,145 +0,0 @@
1
-
2
- <div id="mermaid-graph-50768e61-43b6-4241-96a3-4c413582ec1f-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-50768e61-43b6-4241-96a3-4c413582ec1f-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
- Solution Component - Goods Inventory
9
- </h3>
10
- <p id="mermaid-graph-50768e61-43b6-4241-96a3-4c413582ec1f-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
- GUID: 50768e61-43b6-4241-96a3-4c413582ec1f
12
- </p>
13
-
14
- <!-- Mermaid Diagram -->
15
- <div id="mermaid-graph-50768e61-43b6-4241-96a3-4c413582ec1f-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-50768e61-43b6-4241-96a3-4c413582ec1f" 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
- 576206e1-aaf2-4fc6-ba17-ad3a01aa1ff6@{ shape: text, label: &quot;*Description*
23
- **Application for recording and tracing physical materials as they are acquired, stored, distributed and used.**&quot;}
24
- 50768e61-43b6-4241-96a3-4c413582ec1f@{ shape: subproc, label: &quot;*Solution Component*
25
- **Goods Inventory**&quot;}
26
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: rect, label: &quot;*Solution Component*
27
- **Sustainability Operational Data Store (ODS)**&quot;}
28
- 50768e61-43b6-4241-96a3-4c413582ec1f==&gt;|&quot;goods movement,
29
- [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
30
- 9fb47e51-4121-495d-be31-f766a1f70856@{ shape: hex, label: &quot;*Information Supply Chain Segment*
31
- **Sustainability Data Gathering**&quot;}
32
- 9fb47e51-4121-495d-be31-f766a1f70856==&gt;|&quot;ImplementedBy&quot;|50768e61-43b6-4241-96a3-4c413582ec1f
33
- dd15b286-a38d-4f03-8625-aaded8596048@{ shape: flip-tri, label: &quot;*Information Supply Chain*
34
- **Sustainability Reporting**&quot;}
35
- dd15b286-a38d-4f03-8625-aaded8596048==&gt;|&quot;InformationSupplyChainComposition&quot;|9fb47e51-4121-495d-be31-f766a1f70856
36
- style dd15b286-a38d-4f03-8625-aaded8596048 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
37
- style 50768e61-43b6-4241-96a3-4c413582ec1f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
38
- style fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
39
- style 576206e1-aaf2-4fc6-ba17-ad3a01aa1ff6 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
40
- style 9fb47e51-4121-495d-be31-f766a1f70856 color:#004563, fill:#b7c0c7, stroke:#004563
41
- </div>
42
- </div>
43
- </div>
44
-
45
- <style>
46
- /* Ensure no margins or padding for the body or html in Jupyter */
47
- body, html {
48
- margin: 0;
49
- padding: 0;
50
- width: 100%;
51
- height: 100%;
52
- }
53
- /* General reset for Jupyter Notebook's extra spacing */
54
- #notebook, .container, .cell, .output_area {
55
- margin: 0 !important;
56
- padding: 0 !important;
57
- }
58
- .diagram-container {
59
- width: 100%;
60
- height: 100%;
61
- overflow: hidden; /* Prevent scrollbars during zoom/pan */
62
- }
63
- h2 {
64
- margin: 0;
65
- padding: 10px;
66
- font-size: 24px;
67
- text-align: center;
68
- flex: 0 0 auto; /* Fix height explicitly for heading */
69
- }
70
- .mermaid {
71
- margin: 0;
72
- padding: 0;
73
- }
74
- </style>
75
-
76
- <script>
77
- (function() {
78
- const graphId = "mermaid-graph-50768e61-43b6-4241-96a3-4c413582ec1f"; // Pass the graph ID
79
-
80
- function loadScript(url, callback) {
81
- const script = document.createElement('script');
82
- script.src = url;
83
- script.onload = callback;
84
- document.head.appendChild(script);
85
- }
86
-
87
- // Initialize Mermaid and render the diagram
88
- function initializeMermaid() {
89
- mermaid.initialize({startOnLoad: false});
90
- mermaid.init(undefined, "#" + graphId);
91
-
92
- setTimeout(() => {
93
- const container = document.getElementById(graphId);
94
- if (!container) {
95
- console.error("Container not found for graph:", graphId);
96
- return;
97
- }
98
-
99
- const svg = container.querySelector("svg");
100
- if (!svg) {
101
- console.error("SVG not rendered by Mermaid.");
102
- return;
103
- }
104
-
105
- console.log("SVG rendered. Applying pan & zoom.");
106
-
107
- // Adjust to container size
108
- const containerElement = document.getElementById("mermaid-graph-50768e61-43b6-4241-96a3-4c413582ec1f-container");
109
- svg.setAttribute("width", containerElement.offsetWidth);
110
- svg.setAttribute("height", containerElement.offsetHeight);
111
-
112
- // Add pan/zoom functionality
113
- loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
114
- const panZoom = svgPanZoom(svg, {
115
- zoomEnabled: true,
116
- controlIconsEnabled: true,
117
- fit: true,
118
- center: true,
119
- minZoom: 0.5,
120
- maxZoom: 10
121
- });
122
-
123
- // Reinitialize pan-zoom on window resize
124
- function onResize() {
125
- panZoom.resize();
126
- panZoom.fit();
127
- panZoom.center();
128
- }
129
- window.addEventListener('resize', onResize);
130
-
131
- console.log("Pan & zoom initialized successfully.");
132
- });
133
- }, 500);
134
- }
135
-
136
- // Load Mermaid.js and initialize
137
- if (typeof mermaid === "undefined") {
138
- loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
139
- } else {
140
- initializeMermaid();
141
- }
142
- })();
143
- </script>
144
-
145
-