pyegeria 5.3.6.2.4__py3-none-any.whl → 5.3.6.3__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 (31) hide show
  1. pyegeria/__init__.py +3 -0
  2. pyegeria/commands/cat/{freddies-inbox → dr_egeria_inbox}/freddie_intro.md +64 -16
  3. pyegeria/commands/cat/{freddie_jupyter.py → dr_egeria_jupyter.py} +8 -16
  4. pyegeria/commands/cat/{freddie_md.py → dr_egeria_md.py} +29 -32
  5. pyegeria/commands/cat/glossary_actions.py +59 -1
  6. pyegeria/commands/cat/list_categories.py +185 -0
  7. pyegeria/commands/cat/list_glossaries.py +26 -33
  8. pyegeria/commands/cat/list_terms.py +47 -47
  9. pyegeria/commands/cli/egeria.py +51 -61
  10. pyegeria/commands/cli/egeria_cat.py +53 -31
  11. pyegeria/create_tech_guid_lists.py +2 -5
  12. pyegeria/glossary_browser_omvs.py +257 -105
  13. pyegeria/glossary_manager_omvs.py +148 -1591
  14. pyegeria/md_processing_utils.py +816 -0
  15. {pyegeria-5.3.6.2.4.dist-info → pyegeria-5.3.6.3.dist-info}/METADATA +1 -1
  16. {pyegeria-5.3.6.2.4.dist-info → pyegeria-5.3.6.3.dist-info}/RECORD +21 -29
  17. {pyegeria-5.3.6.2.4.dist-info → pyegeria-5.3.6.3.dist-info}/entry_points.txt +5 -0
  18. pyegeria/commands/cat/freddie_jup.py +0 -124
  19. pyegeria/commands/cat/freddie_utils.py +0 -590
  20. pyegeria/commands/cat/freddies-outbox/Terms-2025-03-06-13-19-29-Report.md +0 -69
  21. pyegeria/commands/cat/freddies-outbox/Terms-2025-03-06-13-20-30-Update-Form.md +0 -78
  22. pyegeria/commands/cat/glossary_creation_experiment.ipynb +0 -235
  23. pyegeria/test_j.html +0 -0
  24. pyegeria/test_m.html +0 -213
  25. pyegeria/test_m1.html +0 -273
  26. pyegeria/test_mer.ipynb +0 -596
  27. pyegeria/test_w.html +0 -213
  28. /pyegeria/commands/cat/{freddies-inbox → dr_egeria_inbox}/glossary_creation_experiment.ipynb +0 -0
  29. /pyegeria/commands/cat/{freddies-inbox → dr_egeria_inbox}/glossary_exp.md +0 -0
  30. {pyegeria-5.3.6.2.4.dist-info → pyegeria-5.3.6.3.dist-info}/LICENSE +0 -0
  31. {pyegeria-5.3.6.2.4.dist-info → pyegeria-5.3.6.3.dist-info}/WHEEL +0 -0
@@ -1,78 +0,0 @@
1
- # Update Glossaries Form - created at 2025-03-06 13:20
2
- Glossaries found from the search string: `All Glossaries`
3
-
4
- # Update Glossary
5
-
6
- ## Glossary Name
7
- Egeria-Markdown
8
-
9
- ## Description
10
- Glossary to describe the vocabulary of Freddie - an Egeria Markdown language to support the exchange of metadata in a Markdown form.
11
- Freddie allows users to input metadata using any text entry system that supports the entry of standard Markdown characters and through post-processing
12
- commands, validates the Egeria content and allows the requests to be sent to Egeria. This is an update
13
-
14
- ## Language
15
- English
16
-
17
- ## Usage
18
- 1) (optional) load an example or template for the type of object from Egeria.
19
- 2) Create a new document (perhaps from the template) and edit it, adding in the content with the Freddie controlled Markdown language.
20
- 3) Process the document to validate and display it before you submit it, Validation may annotate your document with recommendations and potential issues.
21
- 4) Submit the document to Egeria using the Freddie_sings command.
22
- 5) anything?
23
-
24
- ## Qualified Name
25
- Glossary:Egeria-Markdown
26
-
27
- ## GUID
28
- 5d45b499-d0d5-4fad-bc23-763bc4073296
29
-
30
-
31
- ---
32
-
33
- # Update Glossary
34
-
35
- ## Glossary Name
36
- Teddy Bear Drop Foot Terminology
37
-
38
- ## Description
39
- This glossary describes terminology invented for the fictitious study into Teddy Bear Drop Foot that is being used to demonstrate aspects of open governance without risk to real patient data.
40
-
41
- ## Language
42
- English
43
-
44
- ## Usage
45
- Used with the Teddy Bear Drop Foot Demonstration Study.
46
-
47
- ## Qualified Name
48
- Glossary:TeddyBearDropFootTerminology
49
-
50
- ## GUID
51
- c103d0c9-7581-47e1-a684-6bbe0ecd596f
52
-
53
-
54
- ---
55
-
56
- # Update Glossary
57
-
58
- ## Glossary Name
59
- Sustainability Glossary
60
-
61
- ## Description
62
- Terminology associated with Coco Pharmaceutical's sustainability initiative.
63
-
64
- ## Language
65
- English
66
-
67
- ## Usage
68
- For all Coco Pharmaceutical employees wishing to understand more about sustainability and the organization's efforts to improve its operations.
69
-
70
- ## Qualified Name
71
- Glossary:Sustainability
72
-
73
- ## GUID
74
- 30bfe79e-adf2-4fda-b9c5-9c86ad6b0d6c
75
-
76
-
77
- ---
78
-
@@ -1,235 +0,0 @@
1
- {
2
- "cells": [
3
- {
4
- "cell_type": "markdown",
5
- "id": "f211c1736f87555",
6
- "metadata": {},
7
- "source": [
8
- "# This notebook contains experimental Freddie commands\n",
9
- "## Lets see if this is parsed\n",
10
- "meow"
11
- ]
12
- },
13
- {
14
- "cell_type": "markdown",
15
- "id": "3b321563-4977-496a-963b-9b9dd75de968",
16
- "metadata": {},
17
- "source": [
18
- "# Create Glossary\n",
19
- "## Glossary Name\n",
20
- "\n",
21
- "Egeria-Markdown\n",
22
- "\n",
23
- "## Language\n",
24
- "English\n",
25
- "\n",
26
- "## Description\n",
27
- "\n",
28
- "Glossary to describe the vocabulary of Freddie - an Egeria Markdown language to support the exchange of metadata in a Markdown form.\n",
29
- "Freddie allows users to input metadata using any text entry system that supports the entry of standard Markdown characters and through post-processing\n",
30
- "commands, validates the Egeria content and allows the requests to be sent to Egeria.\n",
31
- "\n",
32
- "\n",
33
- "## Usage\n",
34
- "1) (optional) load an example or template for the type of object from Egeria.\n",
35
- "2) Create a new document (perhaps from the template) and edit it, adding in the content with the Freddie controlled Markdown language.\n",
36
- "3) Process the document to validate and display it before you submit it, Validation may annotate your document with recommendations and potential issues.\n",
37
- "4) Submit the document to Egeria using the Freddie_sings command.\n",
38
- "\n",
39
- "## <Qualified Name>\n",
40
- "\n",
41
- "## <GUID>\n",
42
- "\n"
43
- ]
44
- },
45
- {
46
- "cell_type": "code",
47
- "execution_count": null,
48
- "id": "a7295df2-5afb-46ba-889a-94881d883678",
49
- "metadata": {
50
- "execution": {
51
- "iopub.execute_input": "2025-02-27T15:23:58.820592Z",
52
- "iopub.status.busy": "2025-02-27T15:23:58.820416Z",
53
- "iopub.status.idle": "2025-02-27T15:24:00.802861Z",
54
- "shell.execute_reply": "2025-02-27T15:24:00.802425Z",
55
- "shell.execute_reply.started": "2025-02-27T15:23:58.820583Z"
56
- }
57
- },
58
- "outputs": [],
59
- "source": [
60
- "%pip install jupyter-notebook-parser\n",
61
- "%pip install marko"
62
- ]
63
- },
64
- {
65
- "cell_type": "code",
66
- "execution_count": null,
67
- "id": "d02383df-f617-48f7-be54-e930b6275a7e",
68
- "metadata": {
69
- "execution": {
70
- "iopub.execute_input": "2025-02-27T15:25:33.155175Z",
71
- "iopub.status.busy": "2025-02-27T15:25:33.154695Z",
72
- "iopub.status.idle": "2025-02-27T15:25:33.162801Z",
73
- "shell.execute_reply": "2025-02-27T15:25:33.162362Z",
74
- "shell.execute_reply.started": "2025-02-27T15:25:33.155158Z"
75
- }
76
- },
77
- "outputs": [],
78
- "source": [
79
- "import json\n",
80
- "import marko\n",
81
- "from jupyter_notebook_parser import JupyterNotebookParser"
82
- ]
83
- },
84
- {
85
- "cell_type": "code",
86
- "execution_count": null,
87
- "id": "b5560fcd-afe4-4133-8204-8f2535feb9b6",
88
- "metadata": {
89
- "execution": {
90
- "iopub.execute_input": "2025-02-27T15:25:34.354443Z",
91
- "iopub.status.busy": "2025-02-27T15:25:34.354300Z",
92
- "iopub.status.idle": "2025-02-27T15:25:34.358702Z",
93
- "shell.execute_reply": "2025-02-27T15:25:34.358236Z",
94
- "shell.execute_reply.started": "2025-02-27T15:25:34.354435Z"
95
- }
96
- },
97
- "outputs": [],
98
- "source": [
99
- "parsed = JupyterNotebookParser('glossary_creation_experiment.ipynb')\n",
100
- "\n",
101
- "parsed.get_all_cells() # returns List[Dict], each Dict is a notebook cell\n",
102
- "\n",
103
- "cells = parsed.get_markdown_cells() # returns List[Dict], each Dict is a markdown cel\n",
104
- "indices = parsed.get_markdown_cell_indices() # returns List[int], each is a markdown cell's index\n",
105
- "cell_sources = parsed.get_markdown_cell_sources() # returns List[str], each is a markdown cell's text\n",
106
- "print(json.dumps(cell_sources, indent = 4))"
107
- ]
108
- },
109
- {
110
- "cell_type": "code",
111
- "execution_count": null,
112
- "id": "79dffa96-7e2a-40e3-a0d7-ba363d87b70c",
113
- "metadata": {
114
- "execution": {
115
- "iopub.execute_input": "2025-02-27T15:42:47.354237Z",
116
- "iopub.status.busy": "2025-02-27T15:42:47.353238Z",
117
- "iopub.status.idle": "2025-02-27T15:42:47.360634Z",
118
- "shell.execute_reply": "2025-02-27T15:42:47.360090Z",
119
- "shell.execute_reply.started": "2025-02-27T15:42:47.354193Z"
120
- }
121
- },
122
- "outputs": [],
123
- "source": [
124
- "parsed_markdown = marko.parse(cell_sources[0])\n",
125
- "print(type(parsed_markdown))"
126
- ]
127
- },
128
- {
129
- "cell_type": "code",
130
- "execution_count": null,
131
- "id": "f3d66578-cf02-4e95-a102-f84fbe3aae95",
132
- "metadata": {
133
- "execution": {
134
- "iopub.execute_input": "2025-02-27T15:44:51.000320Z",
135
- "iopub.status.busy": "2025-02-27T15:44:51.000168Z",
136
- "iopub.status.idle": "2025-02-27T15:44:51.007790Z",
137
- "shell.execute_reply": "2025-02-27T15:44:51.007211Z",
138
- "shell.execute_reply.started": "2025-02-27T15:44:51.000309Z"
139
- }
140
- },
141
- "outputs": [],
142
- "source": [
143
- "parsed_source = marko.parse_source(cell_sources[0])"
144
- ]
145
- },
146
- {
147
- "cell_type": "code",
148
- "execution_count": null,
149
- "id": "7cc1a99c-46b3-42c9-8b38-77fb721586a7",
150
- "metadata": {
151
- "execution": {
152
- "iopub.execute_input": "2025-02-27T15:45:28.853162Z",
153
- "iopub.status.busy": "2025-02-27T15:45:28.852948Z",
154
- "iopub.status.idle": "2025-02-27T15:45:28.856556Z",
155
- "shell.execute_reply": "2025-02-27T15:45:28.856159Z",
156
- "shell.execute_reply.started": "2025-02-27T15:45:28.853153Z"
157
- }
158
- },
159
- "outputs": [],
160
- "source": [
161
- "? marko"
162
- ]
163
- },
164
- {
165
- "cell_type": "code",
166
- "execution_count": null,
167
- "id": "ca5f9660-1f56-4de9-8127-5e7e4a922b5f",
168
- "metadata": {},
169
- "outputs": [],
170
- "source": []
171
- },
172
- {
173
- "cell_type": "code",
174
- "execution_count": null,
175
- "id": "e967897d83588f86",
176
- "metadata": {},
177
- "outputs": [],
178
- "source": []
179
- },
180
- {
181
- "cell_type": "markdown",
182
- "id": "ed29f0e5d46a7c20",
183
- "metadata": {},
184
- "source": [
185
- "# Create Glossary\n",
186
- "## Glossary Name\n",
187
- "\n",
188
- "Another Test\n",
189
- "\n",
190
- "## Language\n",
191
- "English\n",
192
- "\n",
193
- "## Description\n",
194
- "\n",
195
- "Another quick test\n",
196
- "\n",
197
- "## Usage\n",
198
- "Alternate sundays\n",
199
- "\n",
200
- "## <Qualified Name>\n",
201
- "\n",
202
- "## <GUID>"
203
- ]
204
- },
205
- {
206
- "cell_type": "code",
207
- "execution_count": null,
208
- "id": "e36a5074b9a94c1a",
209
- "metadata": {},
210
- "outputs": [],
211
- "source": []
212
- }
213
- ],
214
- "metadata": {
215
- "kernelspec": {
216
- "display_name": "Python 3 (ipykernel)",
217
- "language": "python",
218
- "name": "python3"
219
- },
220
- "language_info": {
221
- "codemirror_mode": {
222
- "name": "ipython",
223
- "version": 3
224
- },
225
- "file_extension": ".py",
226
- "mimetype": "text/x-python",
227
- "name": "python",
228
- "nbconvert_exporter": "python",
229
- "pygments_lexer": "ipython3",
230
- "version": "3.12.9"
231
- }
232
- },
233
- "nbformat": 4,
234
- "nbformat_minor": 5
235
- }
pyegeria/test_j.html DELETED
File without changes
pyegeria/test_m.html DELETED
@@ -1,213 +0,0 @@
1
-
2
- <!DOCTYPE html>
3
- <html>
4
- <head>
5
- <style type="text/css">
6
- #mySvgId {
7
- width: 100%;
8
- height: 600px;
9
- overflow: scroll;
10
- border: 2px solid #ccc;
11
- position: relative;
12
- margin-bottom: 10px;
13
- }
14
- svg {
15
- cursor: grab;
16
- }
17
-
18
- </style>
19
- </head>
20
-
21
- <title>Component for Solution Blueprint - Clinical Trial Management Solution Blueprint </title>
22
- <h3>Component for Solution Blueprint - Clinical Trial Management Solution Blueprint </h3>
23
- GUID : c4f8d707-7c85-4125-b5fd-c3257a2ef2ef
24
-
25
-
26
- <body>
27
-
28
- <div id="graphDiv"></div>
29
- <script src="https://bumbu.me/svg-pan-zoom/dist/svg-pan-zoom.min.js"></script>
30
- <script type="module">
31
- import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
32
-
33
- mermaid.initialize({startOnLoad: false});
34
- await mermaid.run({
35
- querySelector: '.mermaid',
36
- postRenderCallback: (id) => {
37
- const container = document.getElementById("diagram-container");
38
- const svgElement = container.querySelector("svg");
39
-
40
- // Initialize Panzoom
41
- const panzoomInstance = Panzoom(svgElement, {
42
- maxScale: 5,
43
- minScale: 0.5,
44
- step: 0.1,
45
- });
46
-
47
- // Add mouse wheel zoom
48
- container.addEventListener("wheel", (event) => {
49
- panzoomInstance.zoomWithWheel(event);
50
- });
51
- }
52
- });
53
-
54
-
55
- const drawDiagram = async function () {
56
- const element = document.querySelector('#graphDiv');
57
- const graphDefinition = `
58
- flowchart TD
59
- %%{init: {"flowchart": {"htmlLabels": false}} }%%
60
-
61
- subgraph c4f8d707-7c85-4125-b5fd-c3257a2ef2ef [Components and Actors]
62
- fc2de77f-7320-48ea-8750-d434c6e870db@{ shape: text, label: "*Description*
63
- **A description of how a clinical trial is managed in Coco Pharmaceuticals.**"}
64
- 37b8560d-84d4-434b-9b0d-105420fcc924@{ shape: subproc, label: "*Solution Component*
65
- **Certify Hospital**"}
66
- f37f3735-28a1-4e03-9ff5-3fe2f137f661@{ shape: trap-t, label: "*Solution Actor Role*
67
- **Clinical Trial Manager**"}
68
- f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Certifier"|37b8560d-84d4-434b-9b0d-105420fcc924
69
- 72a86eec-9734-4bc0-babb-4fec0aa7c9ff@{ shape: docs, label: "*Solution Component*
70
- **Assemble Treatment Assessment Report**"}
71
- 48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5@{ shape: rect, label: "*Solution Component*
72
- **Treatment Efficacy Evidence**"}
73
- 48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5-->|"Solution Linking Wire"|72a86eec-9734-4bc0-babb-4fec0aa7c9ff
74
- f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Author"|72a86eec-9734-4bc0-babb-4fec0aa7c9ff
75
- b5c8da4c-f925-4cf1-8294-e43cd2c1a584@{ shape: rect, label: "*Solution Component*
76
- **Analyse Patient Data**"}
77
- b5c8da4c-f925-4cf1-8294-e43cd2c1a584-->|"Solution Linking Wire"|48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5
78
- 7f5dca65-50b4-4103-9ac7-3a406a09047a@{ shape: subproc, label: "*Solution Component*
79
- **Weekly Measurements Onboarding Pipeline**"}
80
- 07705e15-efff-4f80-8992-f04ac85e0ef1@{ shape: rect, label: "*Solution Component*
81
- **Landing Folder Cataloguer**"}
82
- 07705e15-efff-4f80-8992-f04ac85e0ef1-->|"Solution Linking Wire"|7f5dca65-50b4-4103-9ac7-3a406a09047a
83
- f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Steward"|7f5dca65-50b4-4103-9ac7-3a406a09047a
84
- b0290339-c96c-4b05-904f-12fc98e54e14@{ shape: trap-t, label: "*Solution Actor Role*
85
- **Certified Data Engineer**"}
86
- b0290339-c96c-4b05-904f-12fc98e54e14-->|"Steward"|7f5dca65-50b4-4103-9ac7-3a406a09047a
87
- d48f579f-76d3-4c49-b1b4-575f5645a9d0@{ shape: lin-cyl, label: "*Solution Component*
88
- **Treatment Validation Sandbox**"}
89
- 26c07ca4-3b8e-484b-812b-36c1ace4b275@{ shape: rect, label: "*Solution Component*
90
- **Populate Sandbox**"}
91
- 26c07ca4-3b8e-484b-812b-36c1ace4b275-->|"Solution Linking Wire"|d48f579f-76d3-4c49-b1b4-575f5645a9d0
92
- ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec@{ shape: processes, label: "*Solution Component*
93
- **Hospital Processes**"}
94
- a8bd84ca-0aae-4534-b0e8-87e8659467a6@{ shape: trap-t, label: "*Solution Actor Role*
95
- **Clinical Trial Participating Hospital Coordinator**"}
96
- a8bd84ca-0aae-4534-b0e8-87e8659467a6-->|"Coordinator on behalf of hospital"|ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
97
- 30adaab5-8870-47a8-8ae9-facbf84cb05a@{ shape: trap-t, label: "*Solution Actor Role*
98
- **Clinical Trial Participating Hospital**"}
99
- 30adaab5-8870-47a8-8ae9-facbf84cb05a-->|"Owner"|ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
100
- d48f579f-76d3-4c49-b1b4-575f5645a9d0-->|"Solution Linking Wire"|b5c8da4c-f925-4cf1-8294-e43cd2c1a584
101
- ece17806-836c-4756-b3a2-2d12dde215f6@{ shape: trap-t, label: "*Solution Actor Role*
102
- **New Treatment Data Scientist**"}
103
- ece17806-836c-4756-b3a2-2d12dde215f6-->|"Data Analyser"|b5c8da4c-f925-4cf1-8294-e43cd2c1a584
104
- 0c757e35-8a42-4d5f-b01b-c72a6cea65cc@{ shape: trap-t, label: "*Solution Actor Role*
105
- **New Treatment Researcher.**"}
106
- 0c757e35-8a42-4d5f-b01b-c72a6cea65cc-->|"Results Interpreter"|b5c8da4c-f925-4cf1-8294-e43cd2c1a584
107
- e9c2f911-ffcb-40c6-aeee-8c4d43811576@{ shape: subproc, label: "*Solution Component*
108
- **Onboard Hospital**"}
109
- b0290339-c96c-4b05-904f-12fc98e54e14-->|"Initiator"|e9c2f911-ffcb-40c6-aeee-8c4d43811576
110
- 849b0b42-f465-452b-813c-477d6398e082@{ shape: subproc, label: "*Solution Component*
111
- **Set up clinical trial**"}
112
- f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Initiator"|849b0b42-f465-452b-813c-477d6398e082
113
- a5d4d638-6836-47e5-99d0-fdcde637e13f@{ shape: lin-cyl, label: "*Solution Component*
114
- **Weekly Measurements Data Lake Folder**"}
115
- 7f5dca65-50b4-4103-9ac7-3a406a09047a-->|"Solution Linking Wire"|a5d4d638-6836-47e5-99d0-fdcde637e13f
116
- 0bf2547c-937c-41b6-814f-6284849271a1@{ shape: odd, label: "*Solution Component*
117
- **Treatment Assessment Report Validation and Delivery**"}
118
- 72a86eec-9734-4bc0-babb-4fec0aa7c9ff-->|"Solution Linking Wire"|0bf2547c-937c-41b6-814f-6284849271a1
119
- f6bc847b-868d-43cc-b767-41f5fe3e47d1@{ shape: trap-t, label: "*Solution Actor Role*
120
- **Clinical Trial Sponsor**"}
121
- f6bc847b-868d-43cc-b767-41f5fe3e47d1-->|"Reviewer"|0bf2547c-937c-41b6-814f-6284849271a1
122
- a5d4d638-6836-47e5-99d0-fdcde637e13f-->|"Solution Linking Wire"|26c07ca4-3b8e-484b-812b-36c1ace4b275
123
- fb32bef2-e79f-4893-b500-2e547f24d482@{ shape: subproc, label: "*Solution Component*
124
- **Set up Data Lake Folder**"}
125
- b0290339-c96c-4b05-904f-12fc98e54e14-->|"Initiator"|fb32bef2-e79f-4893-b500-2e547f24d482
126
- 1c150d6e-30cf-481c-9afb-3b06c9c9e78f@{ shape: lin-cyl, label: "*Solution Component*
127
- **Hospital Landing Area Folder**"}
128
- ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec-->|"Solution Linking Wire"|1c150d6e-30cf-481c-9afb-3b06c9c9e78f
129
- 1c150d6e-30cf-481c-9afb-3b06c9c9e78f-->|"Solution Linking Wire"|07705e15-efff-4f80-8992-f04ac85e0ef1
130
- 11c7c850-c67c-41cc-9423-d74db47cbf3a@{ shape: subproc, label: "*Solution Component*
131
- **Nominate Hospital**"}
132
- f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Initiator"|11c7c850-c67c-41cc-9423-d74db47cbf3a
133
- end
134
- style 48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
135
- style ece17806-836c-4756-b3a2-2d12dde215f6 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
136
- style e9c2f911-ffcb-40c6-aeee-8c4d43811576 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
137
- style a5d4d638-6836-47e5-99d0-fdcde637e13f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
138
- style 0bf2547c-937c-41b6-814f-6284849271a1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
139
- style 30adaab5-8870-47a8-8ae9-facbf84cb05a color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
140
- style b0290339-c96c-4b05-904f-12fc98e54e14 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
141
- style 26c07ca4-3b8e-484b-812b-36c1ace4b275 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
142
- style 1c150d6e-30cf-481c-9afb-3b06c9c9e78f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
143
- style 07705e15-efff-4f80-8992-f04ac85e0ef1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
144
- style a8bd84ca-0aae-4534-b0e8-87e8659467a6 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
145
- style 0c757e35-8a42-4d5f-b01b-c72a6cea65cc color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
146
- style c4f8d707-7c85-4125-b5fd-c3257a2ef2ef color:#3079ab, fill:#b7c0c7, stroke:#3079ab
147
- style 37b8560d-84d4-434b-9b0d-105420fcc924 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
148
- style 11c7c850-c67c-41cc-9423-d74db47cbf3a color:#FFFFFF, fill:#838cc7, stroke:#3079ab
149
- style fc2de77f-7320-48ea-8750-d434c6e870db color:#000000, fill:#F9F7ED, stroke:#b7c0c7
150
- style 849b0b42-f465-452b-813c-477d6398e082 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
151
- style 7f5dca65-50b4-4103-9ac7-3a406a09047a color:#FFFFFF, fill:#838cc7, stroke:#3079ab
152
- style ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec color:#FFFFFF, fill:#838cc7, stroke:#3079ab
153
- style 72a86eec-9734-4bc0-babb-4fec0aa7c9ff color:#FFFFFF, fill:#838cc7, stroke:#3079ab
154
- style b5c8da4c-f925-4cf1-8294-e43cd2c1a584 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
155
- style f6bc847b-868d-43cc-b767-41f5fe3e47d1 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
156
- style d48f579f-76d3-4c49-b1b4-575f5645a9d0 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
157
- style f37f3735-28a1-4e03-9ff5-3fe2f137f661 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
158
- style fb32bef2-e79f-4893-b500-2e547f24d482 color:#FFFFFF, fill:#838cc7, stroke:#3079ab`;
159
- const {svg} = await mermaid.render('mySvgId', graphDefinition);
160
- element.innerHTML = svg.replace(/( )*max-width:( 0-9\.)*px;/i, '');
161
-
162
- var doPan = false;
163
- var eventsHandler;
164
- var panZoom;
165
- var mousepos;
166
-
167
- eventsHandler = {
168
- haltEventListeners: ['mousedown', 'mousemove', 'mouseup']
169
-
170
- , mouseDownHandler: function (ev) {
171
- if (event.target.className == "[object SVGAnimatedString]") {
172
- doPan = true;
173
- mousepos = {x: ev.clientX, y: ev.clientY}
174
- }
175
- ;
176
- }
177
-
178
- , mouseMoveHandler: function (ev) {
179
- if (doPan) {
180
- panZoom.panBy({x: ev.clientX - mousepos.x, y: ev.clientY - mousepos.y});
181
- mousepos = {x: ev.clientX, y: ev.clientY};
182
- window.getSelection().removeAllRanges();
183
- }
184
- }
185
-
186
- , mouseUpHandler: function (ev) {
187
- doPan = false;
188
- }
189
-
190
- , init: function (options) {
191
- options.svgElement.addEventListener('mousedown', this.mouseDownHandler, false);
192
- options.svgElement.addEventListener('mousemove', this.mouseMoveHandler, false);
193
- options.svgElement.addEventListener('mouseup', this.mouseUpHandler, false);
194
- }
195
-
196
- , destroy: function (options) {
197
- options.svgElement.removeEventListener('mousedown', this.mouseDownHandler, false);
198
- options.svgElement.removeEventListener('mousemove', this.mouseMoveHandler, false);
199
- options.svgElement.removeEventListener('mouseup', this.mouseUpHandler, false);
200
- }
201
- }
202
- panZoom = svgPanZoom('#mySvgId', {
203
- zoomEnabled: true
204
- , controlIconsEnabled: true
205
- , fit: 1
206
- , center: 1
207
- , customEventsHandler: eventsHandler
208
- })
209
- };
210
- await drawDiagram();
211
- </script>
212
- </body>
213
-