pyegeria 5.3.4.7.dev3__py3-none-any.whl → 5.3.4.9__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 (318) hide show
  1. pyegeria/__init__.py +8 -0
  2. pyegeria/_client.py +4 -4
  3. pyegeria/_globals.py +9 -0
  4. pyegeria/asset_catalog_omvs.py +4 -4
  5. pyegeria/automated_curation_omvs.py +1 -0
  6. pyegeria/classification_manager_omvs.py +32 -32
  7. pyegeria/collection_manager_omvs.py +6 -6
  8. pyegeria/commands/cat/__init__.py +22 -1
  9. pyegeria/commands/cat/get_collection.py +1 -1
  10. pyegeria/commands/cat/list_terms.py +2 -0
  11. pyegeria/commands/my/__init__.py +22 -0
  12. pyegeria/commands/my/list_my_profile.py +0 -2
  13. pyegeria/commands/ops/__init__.py +17 -17
  14. pyegeria/commands/tech/__init__.py +22 -0
  15. pyegeria/commands/tech/list_information_supply_chains.py +25 -9
  16. pyegeria/commands/tech/list_solution_blueprints.py +6 -5
  17. pyegeria/commands/tech/list_solution_components.py +1 -1
  18. pyegeria/commands/tech/list_solution_roles.py +6 -5
  19. pyegeria/commands/tech/work/mermaid_graphs/components/Accounting ledgers.html +137 -113
  20. pyegeria/commands/tech/work/mermaid_graphs/components/Analyse Patient Data.html +147 -122
  21. pyegeria/commands/tech/work/mermaid_graphs/components/Assemble Treatment Assessment Report.html +145 -120
  22. pyegeria/commands/tech/work/mermaid_graphs/components/Certify Hospital.html +128 -117
  23. pyegeria/commands/tech/work/mermaid_graphs/components/Employee Expense Tool.html +137 -113
  24. pyegeria/commands/tech/work/mermaid_graphs/components/Goods Inventory.html +138 -114
  25. pyegeria/commands/tech/work/mermaid_graphs/components/Hazardous Materials (HazMat) Inventory.html +138 -114
  26. pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Landing Area Folder.html +144 -117
  27. pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Processes.html +144 -120
  28. pyegeria/commands/tech/work/mermaid_graphs/components/Landing Folder Cataloguer.html +142 -117
  29. pyegeria/commands/tech/work/mermaid_graphs/components/Nominate Hospital.html +128 -117
  30. pyegeria/commands/tech/work/mermaid_graphs/components/Onboard Hospital.html +128 -117
  31. pyegeria/commands/tech/work/mermaid_graphs/components/Populate Sandbox.html +142 -117
  32. pyegeria/commands/tech/work/mermaid_graphs/components/Set up Data Lake Folder.html +129 -118
  33. pyegeria/commands/tech/work/mermaid_graphs/components/Set up clinical trial.html +128 -117
  34. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Calculators.html +138 -116
  35. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Dashboards.html +149 -117
  36. pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Operational Data Store (ODS).html +162 -129
  37. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Assessment Report Validation and Delivery.html +140 -120
  38. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Efficacy Evidence.html +144 -117
  39. pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Validation Sandbox.html +144 -117
  40. pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Data Lake Folder.html +148 -117
  41. pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Onboarding Pipeline.html +148 -123
  42. pyegeria/create_tech_guid_lists.py +1 -1
  43. pyegeria/feedback_manager_omvs.py +1 -1
  44. pyegeria/glossary_browser_omvs.py +1 -1
  45. pyegeria/glossary_manager_omvs.py +9 -9
  46. pyegeria/mermaid_utilities.py +113 -122
  47. pyegeria/metadata_explorer_omvs.py +1 -2
  48. pyegeria/my_profile_omvs.py +1 -1
  49. pyegeria/project_manager_omvs.py +4 -4
  50. pyegeria/runtime_manager_omvs.py +1 -1
  51. pyegeria/solution_architect_omvs.py +2 -2
  52. pyegeria/template_manager_omvs.py +1 -1
  53. pyegeria/valid_metadata_omvs.py +2 -2
  54. {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/METADATA +1 -1
  55. pyegeria-5.3.4.9.dist-info/RECORD +267 -0
  56. pyegeria/.DS_Store +0 -0
  57. pyegeria/commands/.DS_Store +0 -0
  58. pyegeria/commands/__pycache__/__init__.cpython-312.pyc +0 -0
  59. pyegeria/commands/__pycache__/server_status_widget.cpython-312-pytest-7.4.4.pyc +0 -0
  60. pyegeria/commands/cat/__pycache__/__init__.cpython-312.pyc +0 -0
  61. pyegeria/commands/cat/__pycache__/get_asset_graph.cpython-312.pyc +0 -0
  62. pyegeria/commands/cat/__pycache__/get_collection.cpython-312.pyc +0 -0
  63. pyegeria/commands/cat/__pycache__/get_project_dependencies.cpython-312.pyc +0 -0
  64. pyegeria/commands/cat/__pycache__/get_project_structure.cpython-312.pyc +0 -0
  65. pyegeria/commands/cat/__pycache__/get_tech_type_elements.cpython-312.pyc +0 -0
  66. pyegeria/commands/cat/__pycache__/glossary_actions.cpython-312.pyc +0 -0
  67. pyegeria/commands/cat/__pycache__/list_assets.cpython-312.pyc +0 -0
  68. pyegeria/commands/cat/__pycache__/list_cert_types.cpython-312.pyc +0 -0
  69. pyegeria/commands/cat/__pycache__/list_collections.cpython-312.pyc +0 -0
  70. pyegeria/commands/cat/__pycache__/list_deployed_catalogs.cpython-312.pyc +0 -0
  71. pyegeria/commands/cat/__pycache__/list_deployed_database_schemas.cpython-312.pyc +0 -0
  72. pyegeria/commands/cat/__pycache__/list_deployed_databases.cpython-312.pyc +0 -0
  73. pyegeria/commands/cat/__pycache__/list_glossaries.cpython-312.pyc +0 -0
  74. pyegeria/commands/cat/__pycache__/list_projects.cpython-312.pyc +0 -0
  75. pyegeria/commands/cat/__pycache__/list_servers_deployed_imp.cpython-312.pyc +0 -0
  76. pyegeria/commands/cat/__pycache__/list_tech_type_elements.cpython-312.pyc +0 -0
  77. pyegeria/commands/cat/__pycache__/list_tech_types.cpython-312.pyc +0 -0
  78. pyegeria/commands/cat/__pycache__/list_terms.cpython-312.pyc +0 -0
  79. pyegeria/commands/cat/__pycache__/list_todos.cpython-312.pyc +0 -0
  80. pyegeria/commands/cat/__pycache__/list_user_ids.cpython-312.pyc +0 -0
  81. pyegeria/commands/cli/__pycache__/__init__.cpython-312.pyc +0 -0
  82. pyegeria/commands/cli/__pycache__/egeria_login_tui.cpython-312.pyc +0 -0
  83. pyegeria/commands/cli/__pycache__/egeria_ops.cpython-312.pyc +0 -0
  84. pyegeria/commands/cli/__pycache__/ops_config.cpython-312.pyc +0 -0
  85. pyegeria/commands/doc/.DS_Store +0 -0
  86. pyegeria/commands/doc/Visual Command Reference/.DS_Store +0 -0
  87. pyegeria/commands/doc/Visual Command Reference/cat/.DS_Store +0 -0
  88. pyegeria/commands/doc/Visual Command Reference/cat/show/.DS_Store +0 -0
  89. pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/.DS_Store +0 -0
  90. pyegeria/commands/doc/glossary/.DS_Store +0 -0
  91. pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
  92. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
  93. pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/.DS_Store +0 -0
  94. pyegeria/commands/my/__pycache__/__init__.cpython-312.pyc +0 -0
  95. pyegeria/commands/my/__pycache__/list_my_profile.cpython-312.pyc +0 -0
  96. pyegeria/commands/my/__pycache__/list_my_roles.cpython-312.pyc +0 -0
  97. pyegeria/commands/my/__pycache__/monitor_my_todos.cpython-312.pyc +0 -0
  98. pyegeria/commands/my/__pycache__/monitor_open_todos.cpython-312.pyc +0 -0
  99. pyegeria/commands/my/__pycache__/todo_actions.cpython-312.pyc +0 -0
  100. pyegeria/commands/ops/__pycache__/__init__.cpython-312.pyc +0 -0
  101. pyegeria/commands/ops/__pycache__/gov_server_actions.cpython-312.pyc +0 -0
  102. pyegeria/commands/ops/__pycache__/list_archives.cpython-312.pyc +0 -0
  103. pyegeria/commands/ops/__pycache__/list_catalog_targets.cpython-312.pyc +0 -0
  104. pyegeria/commands/ops/__pycache__/load_archive.cpython-312.pyc +0 -0
  105. pyegeria/commands/ops/__pycache__/monitor_engine_activity.cpython-312.pyc +0 -0
  106. pyegeria/commands/ops/__pycache__/monitor_engine_activity_c.cpython-312.pyc +0 -0
  107. pyegeria/commands/ops/__pycache__/monitor_gov_eng_status.cpython-312.pyc +0 -0
  108. pyegeria/commands/ops/__pycache__/monitor_integ_daemon_status.cpython-312.pyc +0 -0
  109. pyegeria/commands/ops/__pycache__/monitor_platform_status.cpython-312.pyc +0 -0
  110. pyegeria/commands/ops/__pycache__/monitor_server_startup.cpython-312.pyc +0 -0
  111. pyegeria/commands/ops/__pycache__/monitor_server_status.cpython-312.pyc +0 -0
  112. pyegeria/commands/ops/__pycache__/refresh_integration_daemon.cpython-312.pyc +0 -0
  113. pyegeria/commands/ops/__pycache__/restart_integration_daemon.cpython-312.pyc +0 -0
  114. pyegeria/commands/ops/__pycache__/table_integ_daemon_status.cpython-312.pyc +0 -0
  115. pyegeria/commands/tech/.DS_Store +0 -0
  116. pyegeria/commands/tech/__pycache__/__init__.cpython-312.pyc +0 -0
  117. pyegeria/commands/tech/__pycache__/get_element_info.cpython-312.pyc +0 -0
  118. pyegeria/commands/tech/__pycache__/get_guid_info.cpython-312.pyc +0 -0
  119. pyegeria/commands/tech/__pycache__/get_tech_details.cpython-312.pyc +0 -0
  120. pyegeria/commands/tech/__pycache__/get_tech_type_template.cpython-312.pyc +0 -0
  121. pyegeria/commands/tech/__pycache__/list_all_om_type_elements.cpython-312.pyc +0 -0
  122. pyegeria/commands/tech/__pycache__/list_all_om_type_elements_x.cpython-312.pyc +0 -0
  123. pyegeria/commands/tech/__pycache__/list_all_related_elements.cpython-312.pyc +0 -0
  124. pyegeria/commands/tech/__pycache__/list_anchored_elements.cpython-312.pyc +0 -0
  125. pyegeria/commands/tech/__pycache__/list_asset_types.cpython-312.pyc +0 -0
  126. pyegeria/commands/tech/__pycache__/list_elements_by_classification_by_property_value.cpython-312.pyc +0 -0
  127. pyegeria/commands/tech/__pycache__/list_elements_by_property_value.cpython-312.pyc +0 -0
  128. pyegeria/commands/tech/__pycache__/list_elements_by_property_value_x.cpython-312.pyc +0 -0
  129. pyegeria/commands/tech/__pycache__/list_elements_for_classification.cpython-312.pyc +0 -0
  130. pyegeria/commands/tech/__pycache__/list_gov_action_processes.cpython-312.pyc +0 -0
  131. pyegeria/commands/tech/__pycache__/list_information_supply_chains.cpython-312.pyc +0 -0
  132. pyegeria/commands/tech/__pycache__/list_registered_services.cpython-312.pyc +0 -0
  133. pyegeria/commands/tech/__pycache__/list_related_elements_with_prop_value.cpython-312.pyc +0 -0
  134. pyegeria/commands/tech/__pycache__/list_related_specification.cpython-312.pyc +0 -0
  135. pyegeria/commands/tech/__pycache__/list_relationship_types.cpython-312.pyc +0 -0
  136. pyegeria/commands/tech/__pycache__/list_relationships.cpython-312.pyc +0 -0
  137. pyegeria/commands/tech/__pycache__/list_solution_blueprints.cpython-312.pyc +0 -0
  138. pyegeria/commands/tech/__pycache__/list_solution_components.cpython-312.pyc +0 -0
  139. pyegeria/commands/tech/__pycache__/list_solution_roles.cpython-312.pyc +0 -0
  140. pyegeria/commands/tech/__pycache__/list_tech_templates.cpython-312.pyc +0 -0
  141. pyegeria/commands/tech/__pycache__/list_valid_metadata_values.cpython-312.pyc +0 -0
  142. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Automated Manufacturing Control.html +0 -121
  143. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Clinical Trial Management Solution Blueprint.html +0 -213
  144. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Employee Management Solution Blueprint.html +0 -124
  145. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Hazardous Material Management Solution Blueprint.html +0 -124
  146. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Inventory Management.html +0 -124
  147. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Personalized Medicine Order Fulfillment Solution Blueprint.html +0 -124
  148. pyegeria/commands/tech/work/mermaid_graphs/blueprints/Sustainability Reporting Solution Blueprint.html +0 -149
  149. pyegeria/commands/tech/work/mermaid_graphs/blueprints/{{displayName}}.html +0 -121
  150. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DC-LEADER.html +0 -118
  151. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DEPOT-LEADER.html +0 -118
  152. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-LAB-LEADER.html +0 -118
  153. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-OFFICE-LEADER.html +0 -118
  154. pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-SITE-LEADER.html +0 -118
  155. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-DC-LEADER.html +0 -118
  156. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-FACTORY-LEADER.html +0 -118
  157. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-OFFICE-LEADER.html +0 -118
  158. pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-SITE-LEADER.html +0 -118
  159. pyegeria/commands/tech/work/mermaid_graphs/roles/C-TRL-SUSTAINABILITY-CHAMP.html +0 -118
  160. pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-CT:ProjectManager.html +0 -118
  161. pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-MM:ProjectManager.html +0 -118
  162. pyegeria/commands/tech/work/mermaid_graphs/roles/CertifiedDataEngineer.html +0 -130
  163. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialManager.html +0 -138
  164. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospital.html +0 -122
  165. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospitalCoordinator.html +0 -122
  166. pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialSponsor.html +0 -122
  167. pyegeria/commands/tech/work/mermaid_graphs/roles/Community Leader.html +0 -118
  168. pyegeria/commands/tech/work/mermaid_graphs/roles/CommunityMember.html +0 -118
  169. pyegeria/commands/tech/work/mermaid_graphs/roles/DIST-SUSTAINABILITY-CHAMP.html +0 -118
  170. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DC-LEADER.html +0 -118
  171. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DEPOT-LEADER.html +0 -118
  172. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-FACTORY-LEADER.html +0 -118
  173. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-OFFICE-LEADER.html +0 -118
  174. pyegeria/commands/tech/work/mermaid_graphs/roles/ED-SITE-LEADER.html +0 -118
  175. pyegeria/commands/tech/work/mermaid_graphs/roles/FIN-SUSTAINABILITY-CHAMP.html +0 -118
  176. pyegeria/commands/tech/work/mermaid_graphs/roles/GOVERNANCE_LEADER.html +0 -118
  177. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:0.html +0 -118
  178. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:1.html +0 -118
  179. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:2.html +0 -118
  180. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:3.html +0 -118
  181. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:4.html +0 -118
  182. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:5.html +0 -118
  183. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:6.html +0 -118
  184. pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:7.html +0 -118
  185. pyegeria/commands/tech/work/mermaid_graphs/roles/HR-SUSTAINABILITY-CHAMP.html +0 -118
  186. pyegeria/commands/tech/work/mermaid_graphs/roles/IT-SUSTAINABILITY-CHAMP.html +0 -118
  187. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-DEPOT-LEADER.html +0 -118
  188. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-OFFICE-LEADER.html +0 -118
  189. pyegeria/commands/tech/work/mermaid_graphs/roles/KC-SITE-LEADER.html +0 -118
  190. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-DC-LEADER.html +0 -118
  191. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-LAB-LEADER.html +0 -118
  192. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-OFFICE-LEADER.html +0 -118
  193. pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-SITE-LEADER.html +0 -118
  194. pyegeria/commands/tech/work/mermaid_graphs/roles/MFG-SUSTAINABILITY-CHAMP.html +0 -118
  195. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-DC-LEADER.html +0 -118
  196. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-LAB-LEADER.html +0 -118
  197. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-OFFICE-LEADER.html +0 -118
  198. pyegeria/commands/tech/work/mermaid_graphs/roles/NY-SITE-LEADER.html +0 -118
  199. pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentDataScientist.html +0 -122
  200. pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentResearcher.html +0 -122
  201. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-001:ProjectManager.html +0 -118
  202. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-002:ProjectManager.html +0 -118
  203. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-003:ProjectManager.html +0 -118
  204. pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF:ProjectManager.html +0 -118
  205. pyegeria/commands/tech/work/mermaid_graphs/roles/RES-SUSTAINABILITY-CHAMP.html +0 -118
  206. pyegeria/commands/tech/work/mermaid_graphs/roles/SALES-SUSTAINABILITY-CHAMP.html +0 -118
  207. pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-LEAD.html +0 -118
  208. pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-TECH-LEAD.html +0 -118
  209. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityChampion.html +0 -118
  210. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityExecutive.html +0 -118
  211. pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityLeader.html +0 -118
  212. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0001.html +0 -118
  213. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0002.html +0 -118
  214. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0003.html +0 -118
  215. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0004.html +0 -118
  216. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0005.html +0 -118
  217. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0006.html +0 -118
  218. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0007.html +0 -118
  219. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0008.html +0 -118
  220. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0009.html +0 -118
  221. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0010.html +0 -118
  222. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0011.html +0 -118
  223. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0012.html +0 -118
  224. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0013.html +0 -118
  225. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0014.html +0 -118
  226. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0015.html +0 -118
  227. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0016.html +0 -118
  228. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0017.html +0 -118
  229. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0018.html +0 -118
  230. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0019.html +0 -118
  231. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0020.html +0 -118
  232. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0021.html +0 -118
  233. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0022.html +0 -118
  234. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0023.html +0 -118
  235. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0024.html +0 -118
  236. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2343.html +0 -118
  237. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2373.html +0 -118
  238. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3067.html +0 -118
  239. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3082.html +0 -118
  240. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4051.html +0 -118
  241. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4302.html +0 -118
  242. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4332.html +0 -118
  243. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:5656.html +0 -118
  244. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6788.html +0 -118
  245. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6877.html +0 -118
  246. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:7432.html +0 -118
  247. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9657.html +0 -118
  248. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9992.html +0 -118
  249. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9993.html +0 -118
  250. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9994.html +0 -118
  251. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9995.html +0 -118
  252. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9996.html +0 -118
  253. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9997.html +0 -118
  254. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9998.html +0 -118
  255. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9999.html +0 -118
  256. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0001.html +0 -118
  257. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0002.html +0 -118
  258. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0003.html +0 -118
  259. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0004.html +0 -118
  260. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0005.html +0 -118
  261. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0006.html +0 -118
  262. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0007.html +0 -118
  263. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0008.html +0 -118
  264. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0009.html +0 -118
  265. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0010.html +0 -118
  266. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0011.html +0 -118
  267. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0012.html +0 -118
  268. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0013.html +0 -118
  269. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0014.html +0 -118
  270. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0015.html +0 -118
  271. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0016.html +0 -118
  272. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0017.html +0 -118
  273. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0018.html +0 -118
  274. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0019.html +0 -118
  275. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0020.html +0 -118
  276. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0021.html +0 -118
  277. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0022.html +0 -118
  278. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0023.html +0 -118
  279. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0024.html +0 -118
  280. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2343.html +0 -118
  281. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2373.html +0 -118
  282. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3067.html +0 -118
  283. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3082.html +0 -118
  284. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4051.html +0 -118
  285. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4302.html +0 -118
  286. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4332.html +0 -118
  287. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:5656.html +0 -118
  288. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6788.html +0 -118
  289. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6877.html +0 -118
  290. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:7432.html +0 -118
  291. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9657.html +0 -118
  292. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9992.html +0 -118
  293. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9993.html +0 -118
  294. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9994.html +0 -118
  295. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9995.html +0 -118
  296. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9996.html +0 -118
  297. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9997.html +0 -118
  298. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9998.html +0 -118
  299. pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9999.html +0 -118
  300. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DC-LEADER.html +0 -118
  301. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DEPOT-LEADER.html +0 -118
  302. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-FACTORY-LEADER.html +0 -118
  303. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-OFFICE-LEADER.html +0 -118
  304. pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-SITE-LEADER.html +0 -118
  305. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Subject Onboarding.html +0 -142
  306. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Treatment Validation.html +0 -222
  307. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Employee Expense Payment.html +0 -133
  308. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Drug Product Information Distribution.html +0 -148
  309. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Employee Onboarding.html +0 -145
  310. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Personalized Treatment Ordering.html +0 -150
  311. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Physical Inventory Tracking.html +0 -185
  312. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Sustainability Reporting.html +0 -210
  313. pyegeria/commands/tech/work/mermaid_graphs/supply-chains/{{displayName}}.html +0 -122
  314. pyegeria/test_m.html +0 -213
  315. pyegeria-5.3.4.7.dev3.dist-info/RECORD +0 -526
  316. {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/LICENSE +0 -0
  317. {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/WHEEL +0 -0
  318. {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/entry_points.txt +0 -0
@@ -1,129 +1,153 @@
1
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>Solution Component - Hospital Processes </title>
22
- <h3 style="text-align: center;">Solution Component - Hospital Processes </h3>
23
- GUID : ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
24
-
25
-
26
- <body>
2
+ <div id="mermaid-graph-ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec-wrapper" style="width: 100%; height: 100%; display: flex; flex-direction: column; align-items: stretch;">
27
3
 
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}} }%%
4
+ <!-- Title/Heading -->
5
+
6
+
7
+ <h3 id="mermaid-graph-ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
+ Solution Component - Hospital Processes
9
+ </h3>
10
+ <p id="mermaid-graph-ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
+ GUID: ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
12
+ </p>
13
+
14
+ <!-- Mermaid Diagram -->
15
+ <div id="mermaid-graph-ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec-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-ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec" 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}} }%%
60
21
 
61
- 5bfe07ca-c2ac-4213-a711-5726f2c10ada@{ shape: text, label: "*Description*
62
- **Processes running in the hospital that negotiate data sharing agreements, recruit patients, train staf and deliver data.**"}
63
- ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec@{ shape: processes, label: "*Solution Component*
64
- **Hospital Processes**"}
65
- a8bd84ca-0aae-4534-b0e8-87e8659467a6@{ shape: trap-t, label: "*Solution Actor Role*
66
- **Clinical Trial Participating Hospital Coordinator**"}
67
- a8bd84ca-0aae-4534-b0e8-87e8659467a6-->|"Coordinator on behalf of hospital"|ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
68
- 30adaab5-8870-47a8-8ae9-facbf84cb05a@{ shape: trap-t, label: "*Solution Actor Role*
69
- **Clinical Trial Participating Hospital**"}
70
- 30adaab5-8870-47a8-8ae9-facbf84cb05a-->|"Owner"|ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
22
+ 0b42e136-2589-4284-9a35-f767a1e69004@{ shape: text, label: &quot;*Description*
23
+ **Processes running in the hospital that negotiate data sharing agreements, recruit patients, train staf and deliver data.**&quot;}
24
+ ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec@{ shape: processes, label: &quot;*Solution Component*
25
+ **Hospital Processes**&quot;}
26
+ 1c150d6e-30cf-481c-9afb-3b06c9c9e78f@{ shape: rect, label: &quot;*Solution Component*
27
+ **Hospital Landing Area Folder**&quot;}
28
+ ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec==&gt;|&quot;publish,
29
+ [Solution Linking Wire]&quot;|1c150d6e-30cf-481c-9afb-3b06c9c9e78f
30
+ a8bd84ca-0aae-4534-b0e8-87e8659467a6@{ shape: trap-t, label: &quot;*Solution Actor Role*
31
+ **Clinical Trial Participating Hospital Coordinator**&quot;}
32
+ a8bd84ca-0aae-4534-b0e8-87e8659467a6==&gt;|&quot;Coordinator on behalf of hospital&quot;|ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
33
+ 30adaab5-8870-47a8-8ae9-facbf84cb05a@{ shape: trap-t, label: &quot;*Solution Actor Role*
34
+ **Clinical Trial Participating Hospital**&quot;}
35
+ 30adaab5-8870-47a8-8ae9-facbf84cb05a==&gt;|&quot;Owner&quot;|ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
36
+ 04ae768e-3816-47bc-bddb-c9ae25018684@{ shape: hex, label: &quot;*Information Supply Chain Segment*
37
+ **Hospital Delivers Patient Weekly Readings**&quot;}
38
+ 04ae768e-3816-47bc-bddb-c9ae25018684==&gt;|&quot;ImplementedBy&quot;|ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
39
+ 1f71e403-1187-4f03-a1dd-ae7dc105f06f@{ shape: flip-tri, label: &quot;*Information Supply Chain*
40
+ **Clinical Trial Treatment Validation**&quot;}
41
+ 1f71e403-1187-4f03-a1dd-ae7dc105f06f==&gt;|&quot;InformationSupplyChainComposition&quot;|04ae768e-3816-47bc-bddb-c9ae25018684
71
42
  style a8bd84ca-0aae-4534-b0e8-87e8659467a6 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
72
- style 5bfe07ca-c2ac-4213-a711-5726f2c10ada color:#000000, fill:#F9F7ED, stroke:#b7c0c7
73
43
  style 30adaab5-8870-47a8-8ae9-facbf84cb05a color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
74
- style ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec color:#FFFFFF, fill:#838cc7, stroke:#3079ab`;
75
- const {svg} = await mermaid.render('mySvgId', graphDefinition);
76
- element.innerHTML = svg.replace(/( )*max-width:( 0-9\.)*px;/i, '');
44
+ style 1f71e403-1187-4f03-a1dd-ae7dc105f06f color:#FFFFFF, fill:#004563, stroke:#b7c0c7
45
+ style 04ae768e-3816-47bc-bddb-c9ae25018684 color:#004563, fill:#b7c0c7, stroke:#004563
46
+ style 0b42e136-2589-4284-9a35-f767a1e69004 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
47
+ style ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec color:#FFFFFF, fill:#838cc7, stroke:#3079ab
48
+ style 1c150d6e-30cf-481c-9afb-3b06c9c9e78f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
49
+ </div>
50
+ </div>
51
+ </div>
77
52
 
78
- var doPan = false;
79
- var eventsHandler;
80
- var panZoom;
81
- var mousepos;
82
-
83
- eventsHandler = {
84
- haltEventListeners: ['mousedown', 'mousemove', 'mouseup']
53
+ <style>
54
+ /* Ensure no margins or padding for the body or html in Jupyter */
55
+ body, html {
56
+ margin: 0;
57
+ padding: 0;
58
+ width: 100%;
59
+ height: 100%;
60
+ }
61
+ /* General reset for Jupyter Notebook's extra spacing */
62
+ #notebook, .container, .cell, .output_area {
63
+ margin: 0 !important;
64
+ padding: 0 !important;
65
+ }
66
+ .diagram-container {
67
+ width: 100%;
68
+ height: 100%;
69
+ overflow: hidden; /* Prevent scrollbars during zoom/pan */
70
+ }
71
+ h2 {
72
+ margin: 0;
73
+ padding: 10px;
74
+ font-size: 24px;
75
+ text-align: center;
76
+ flex: 0 0 auto; /* Fix height explicitly for heading */
77
+ }
78
+ .mermaid {
79
+ margin: 0;
80
+ padding: 0;
81
+ }
82
+ </style>
85
83
 
86
- , mouseDownHandler: function (ev) {
87
- if (event.target.className == "[object SVGAnimatedString]") {
88
- doPan = true;
89
- mousepos = {x: ev.clientX, y: ev.clientY}
90
- }
84
+ <script>
85
+ (function() {
86
+ const graphId = "mermaid-graph-ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec"; // Pass the graph ID
87
+
88
+ function loadScript(url, callback) {
89
+ const script = document.createElement('script');
90
+ script.src = url;
91
+ script.onload = callback;
92
+ document.head.appendChild(script);
93
+ }
94
+
95
+ // Initialize Mermaid and render the diagram
96
+ function initializeMermaid() {
97
+ mermaid.initialize({startOnLoad: false});
98
+ mermaid.init(undefined, "#" + graphId);
99
+
100
+ setTimeout(() => {
101
+ const container = document.getElementById(graphId);
102
+ if (!container) {
103
+ console.error("Container not found for graph:", graphId);
104
+ return;
105
+ }
106
+
107
+ const svg = container.querySelector("svg");
108
+ if (!svg) {
109
+ console.error("SVG not rendered by Mermaid.");
110
+ return;
111
+ }
112
+
113
+ console.log("SVG rendered. Applying pan & zoom.");
114
+
115
+ // Adjust to container size
116
+ const containerElement = document.getElementById("mermaid-graph-ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec-container");
117
+ svg.setAttribute("width", containerElement.offsetWidth);
118
+ svg.setAttribute("height", containerElement.offsetHeight);
119
+
120
+ // Add pan/zoom functionality
121
+ loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
122
+ const panZoom = svgPanZoom(svg, {
123
+ zoomEnabled: true,
124
+ controlIconsEnabled: true,
125
+ fit: true,
126
+ center: true,
127
+ minZoom: 0.5,
128
+ maxZoom: 10
129
+ });
130
+
131
+ // Reinitialize pan-zoom on window resize
132
+ function onResize() {
133
+ panZoom.resize();
134
+ panZoom.fit();
135
+ panZoom.center();
136
+ }
137
+ window.addEventListener('resize', onResize);
138
+
139
+ console.log("Pan & zoom initialized successfully.");
140
+ });
141
+ }, 500);
142
+ }
143
+
144
+ // Load Mermaid.js and initialize
145
+ if (typeof mermaid === "undefined") {
146
+ loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
147
+ } else {
148
+ initializeMermaid();
149
+ }
150
+ })();
151
+ </script>
91
152
 
92
- }
93
-
94
- , mouseMoveHandler: function (ev) {
95
- if (doPan) {
96
- panZoom.panBy({x: ev.clientX - mousepos.x, y: ev.clientY - mousepos.y});
97
- mousepos = {x: ev.clientX, y: ev.clientY};
98
- window.getSelection().removeAllRanges();
99
- }
100
- }
101
-
102
- , mouseUpHandler: function (ev) {
103
- doPan = false;
104
- }
105
-
106
- , init: function (options) {
107
- options.svgElement.addEventListener('mousedown', this.mouseDownHandler, false);
108
- options.svgElement.addEventListener('mousemove', this.mouseMoveHandler, false);
109
- options.svgElement.addEventListener('mouseup', this.mouseUpHandler, false);
110
- }
111
-
112
- , destroy: function (options) {
113
- options.svgElement.removeEventListener('mousedown', this.mouseDownHandler, false);
114
- options.svgElement.removeEventListener('mousemove', this.mouseMoveHandler, false);
115
- options.svgElement.removeEventListener('mouseup', this.mouseUpHandler, false);
116
- }
117
- }
118
- panZoom = svgPanZoom('#mySvgId', {
119
- zoomEnabled: true
120
- , controlIconsEnabled: true
121
- , fit: 1
122
- , center: 1
123
- , customEventsHandler: eventsHandler
124
- })
125
- };
126
- await drawDiagram();
127
- </script>
128
- </body>
129
153
 
@@ -1,125 +1,150 @@
1
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>Solution Component - Landing Folder Cataloguer </title>
22
- <h3 style="text-align: center;">Solution Component - Landing Folder Cataloguer </h3>
23
- GUID : 07705e15-efff-4f80-8992-f04ac85e0ef1
24
-
25
-
26
- <body>
2
+ <div id="mermaid-graph-07705e15-efff-4f80-8992-f04ac85e0ef1-wrapper" style="width: 100%; height: 100%; display: flex; flex-direction: column; align-items: stretch;">
27
3
 
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}} }%%
4
+ <!-- Title/Heading -->
5
+
6
+
7
+ <h3 id="mermaid-graph-07705e15-efff-4f80-8992-f04ac85e0ef1-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
+ Solution Component - Landing Folder Cataloguer
9
+ </h3>
10
+ <p id="mermaid-graph-07705e15-efff-4f80-8992-f04ac85e0ef1-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
+ GUID: 07705e15-efff-4f80-8992-f04ac85e0ef1
12
+ </p>
13
+
14
+ <!-- Mermaid Diagram -->
15
+ <div id="mermaid-graph-07705e15-efff-4f80-8992-f04ac85e0ef1-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-07705e15-efff-4f80-8992-f04ac85e0ef1" 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}} }%%
60
21
 
61
- faebfcab-4bd9-4fbd-8635-25b8f7a85c93@{ shape: text, label: "*Description*
62
- **Integration connector that is cataloguing files arriving in the hospital landing area folders and invoking the onboarding pipeline.**"}
63
- 07705e15-efff-4f80-8992-f04ac85e0ef1@{ shape: subproc, label: "*Solution Component*
64
- **Landing Folder Cataloguer**"}
65
- 1c150d6e-30cf-481c-9afb-3b06c9c9e78f@{ shape: rect, label: "*Solution Component*
66
- **Hospital Landing Area Folder**"}
67
- 1c150d6e-30cf-481c-9afb-3b06c9c9e78f-->|"Solution Linking Wire"|07705e15-efff-4f80-8992-f04ac85e0ef1
68
- style faebfcab-4bd9-4fbd-8635-25b8f7a85c93 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
22
+ 3e227f13-48a8-40c7-90fd-4cea3d5bfb49@{ shape: text, label: &quot;*Description*
23
+ **Integration connector that is cataloguing files arriving in the hospital landing area folders and invoking the onboarding pipeline.**&quot;}
24
+ 07705e15-efff-4f80-8992-f04ac85e0ef1@{ shape: subproc, label: &quot;*Solution Component*
25
+ **Landing Folder Cataloguer**&quot;}
26
+ 1c150d6e-30cf-481c-9afb-3b06c9c9e78f@{ shape: rect, label: &quot;*Solution Component*
27
+ **Hospital Landing Area Folder**&quot;}
28
+ 1c150d6e-30cf-481c-9afb-3b06c9c9e78f==&gt;|&quot;detect new files,
29
+ [Solution Linking Wire]&quot;|07705e15-efff-4f80-8992-f04ac85e0ef1
30
+ 7f5dca65-50b4-4103-9ac7-3a406a09047a@{ shape: rect, label: &quot;*Solution Component*
31
+ **Weekly Measurements Onboarding Pipeline**&quot;}
32
+ 07705e15-efff-4f80-8992-f04ac85e0ef1==&gt;|&quot;request onboarding,
33
+ [Solution Linking Wire]&quot;|7f5dca65-50b4-4103-9ac7-3a406a09047a
34
+ 04ae768e-3816-47bc-bddb-c9ae25018684@{ shape: hex, label: &quot;*Information Supply Chain Segment*
35
+ **Hospital Delivers Patient Weekly Readings**&quot;}
36
+ 04ae768e-3816-47bc-bddb-c9ae25018684==&gt;|&quot;InformationSupplyChainLink&quot;|07705e15-efff-4f80-8992-f04ac85e0ef1
37
+ 1f71e403-1187-4f03-a1dd-ae7dc105f06f@{ shape: flip-tri, label: &quot;*Information Supply Chain*
38
+ **Clinical Trial Treatment Validation**&quot;}
39
+ 1f71e403-1187-4f03-a1dd-ae7dc105f06f==&gt;|&quot;InformationSupplyChainComposition&quot;|04ae768e-3816-47bc-bddb-c9ae25018684
40
+ style 1f71e403-1187-4f03-a1dd-ae7dc105f06f color:#FFFFFF, fill:#004563, stroke:#b7c0c7
41
+ style 3e227f13-48a8-40c7-90fd-4cea3d5bfb49 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
42
+ style 04ae768e-3816-47bc-bddb-c9ae25018684 color:#004563, fill:#b7c0c7, stroke:#004563
43
+ style 7f5dca65-50b4-4103-9ac7-3a406a09047a color:#FFFFFF, fill:#838cc7, stroke:#3079ab
69
44
  style 1c150d6e-30cf-481c-9afb-3b06c9c9e78f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
70
- style 07705e15-efff-4f80-8992-f04ac85e0ef1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab`;
71
- const {svg} = await mermaid.render('mySvgId', graphDefinition);
72
- element.innerHTML = svg.replace(/( )*max-width:( 0-9\.)*px;/i, '');
45
+ style 07705e15-efff-4f80-8992-f04ac85e0ef1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
46
+ </div>
47
+ </div>
48
+ </div>
73
49
 
74
- var doPan = false;
75
- var eventsHandler;
76
- var panZoom;
77
- var mousepos;
78
-
79
- eventsHandler = {
80
- haltEventListeners: ['mousedown', 'mousemove', 'mouseup']
50
+ <style>
51
+ /* Ensure no margins or padding for the body or html in Jupyter */
52
+ body, html {
53
+ margin: 0;
54
+ padding: 0;
55
+ width: 100%;
56
+ height: 100%;
57
+ }
58
+ /* General reset for Jupyter Notebook's extra spacing */
59
+ #notebook, .container, .cell, .output_area {
60
+ margin: 0 !important;
61
+ padding: 0 !important;
62
+ }
63
+ .diagram-container {
64
+ width: 100%;
65
+ height: 100%;
66
+ overflow: hidden; /* Prevent scrollbars during zoom/pan */
67
+ }
68
+ h2 {
69
+ margin: 0;
70
+ padding: 10px;
71
+ font-size: 24px;
72
+ text-align: center;
73
+ flex: 0 0 auto; /* Fix height explicitly for heading */
74
+ }
75
+ .mermaid {
76
+ margin: 0;
77
+ padding: 0;
78
+ }
79
+ </style>
81
80
 
82
- , mouseDownHandler: function (ev) {
83
- if (event.target.className == "[object SVGAnimatedString]") {
84
- doPan = true;
85
- mousepos = {x: ev.clientX, y: ev.clientY}
86
- }
81
+ <script>
82
+ (function() {
83
+ const graphId = "mermaid-graph-07705e15-efff-4f80-8992-f04ac85e0ef1"; // Pass the graph ID
84
+
85
+ function loadScript(url, callback) {
86
+ const script = document.createElement('script');
87
+ script.src = url;
88
+ script.onload = callback;
89
+ document.head.appendChild(script);
90
+ }
91
+
92
+ // Initialize Mermaid and render the diagram
93
+ function initializeMermaid() {
94
+ mermaid.initialize({startOnLoad: false});
95
+ mermaid.init(undefined, "#" + graphId);
96
+
97
+ setTimeout(() => {
98
+ const container = document.getElementById(graphId);
99
+ if (!container) {
100
+ console.error("Container not found for graph:", graphId);
101
+ return;
102
+ }
103
+
104
+ const svg = container.querySelector("svg");
105
+ if (!svg) {
106
+ console.error("SVG not rendered by Mermaid.");
107
+ return;
108
+ }
109
+
110
+ console.log("SVG rendered. Applying pan & zoom.");
111
+
112
+ // Adjust to container size
113
+ const containerElement = document.getElementById("mermaid-graph-07705e15-efff-4f80-8992-f04ac85e0ef1-container");
114
+ svg.setAttribute("width", containerElement.offsetWidth);
115
+ svg.setAttribute("height", containerElement.offsetHeight);
116
+
117
+ // Add pan/zoom functionality
118
+ loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
119
+ const panZoom = svgPanZoom(svg, {
120
+ zoomEnabled: true,
121
+ controlIconsEnabled: true,
122
+ fit: true,
123
+ center: true,
124
+ minZoom: 0.5,
125
+ maxZoom: 10
126
+ });
127
+
128
+ // Reinitialize pan-zoom on window resize
129
+ function onResize() {
130
+ panZoom.resize();
131
+ panZoom.fit();
132
+ panZoom.center();
133
+ }
134
+ window.addEventListener('resize', onResize);
135
+
136
+ console.log("Pan & zoom initialized successfully.");
137
+ });
138
+ }, 500);
139
+ }
140
+
141
+ // Load Mermaid.js and initialize
142
+ if (typeof mermaid === "undefined") {
143
+ loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
144
+ } else {
145
+ initializeMermaid();
146
+ }
147
+ })();
148
+ </script>
87
149
 
88
- }
89
-
90
- , mouseMoveHandler: function (ev) {
91
- if (doPan) {
92
- panZoom.panBy({x: ev.clientX - mousepos.x, y: ev.clientY - mousepos.y});
93
- mousepos = {x: ev.clientX, y: ev.clientY};
94
- window.getSelection().removeAllRanges();
95
- }
96
- }
97
-
98
- , mouseUpHandler: function (ev) {
99
- doPan = false;
100
- }
101
-
102
- , init: function (options) {
103
- options.svgElement.addEventListener('mousedown', this.mouseDownHandler, false);
104
- options.svgElement.addEventListener('mousemove', this.mouseMoveHandler, false);
105
- options.svgElement.addEventListener('mouseup', this.mouseUpHandler, false);
106
- }
107
-
108
- , destroy: function (options) {
109
- options.svgElement.removeEventListener('mousedown', this.mouseDownHandler, false);
110
- options.svgElement.removeEventListener('mousemove', this.mouseMoveHandler, false);
111
- options.svgElement.removeEventListener('mouseup', this.mouseUpHandler, false);
112
- }
113
- }
114
- panZoom = svgPanZoom('#mySvgId', {
115
- zoomEnabled: true
116
- , controlIconsEnabled: true
117
- , fit: 1
118
- , center: 1
119
- , customEventsHandler: eventsHandler
120
- })
121
- };
122
- await drawDiagram();
123
- </script>
124
- </body>
125
150