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,133 +1,158 @@
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 - Weekly Measurements Onboarding Pipeline </title>
22
- <h3 style="text-align: center;">Solution Component - Weekly Measurements Onboarding Pipeline </h3>
23
- GUID : 7f5dca65-50b4-4103-9ac7-3a406a09047a
24
-
25
-
26
- <body>
2
+ <div id="mermaid-graph-7f5dca65-50b4-4103-9ac7-3a406a09047a-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-7f5dca65-50b4-4103-9ac7-3a406a09047a-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
+ Solution Component - Weekly Measurements Onboarding Pipeline
9
+ </h3>
10
+ <p id="mermaid-graph-7f5dca65-50b4-4103-9ac7-3a406a09047a-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
+ GUID: 7f5dca65-50b4-4103-9ac7-3a406a09047a
12
+ </p>
13
+
14
+ <!-- Mermaid Diagram -->
15
+ <div id="mermaid-graph-7f5dca65-50b4-4103-9ac7-3a406a09047a-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-7f5dca65-50b4-4103-9ac7-3a406a09047a" 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
- 955c3304-2d5c-4efe-bdac-11849cb5d9cc@{ shape: text, label: "*Description*
62
- **Move landing area files to data lake, catalog files in data lake with lineage from the landing area and validate/certify that the data contains valid values. The cataloguing includes lineage, retention, origin, governance zones. The quality validation survey will add a certification to the file asset if the data contains valid values.**"}
63
- 7f5dca65-50b4-4103-9ac7-3a406a09047a@{ shape: subproc, label: "*Solution Component*
64
- **Weekly Measurements Onboarding Pipeline**"}
65
- 07705e15-efff-4f80-8992-f04ac85e0ef1@{ shape: rect, label: "*Solution Component*
66
- **Landing Folder Cataloguer**"}
67
- 07705e15-efff-4f80-8992-f04ac85e0ef1-->|"Solution Linking Wire"|7f5dca65-50b4-4103-9ac7-3a406a09047a
68
- f37f3735-28a1-4e03-9ff5-3fe2f137f661@{ shape: trap-t, label: "*Solution Actor Role*
69
- **Clinical Trial Manager**"}
70
- f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Steward"|7f5dca65-50b4-4103-9ac7-3a406a09047a
71
- b0290339-c96c-4b05-904f-12fc98e54e14@{ shape: trap-t, label: "*Solution Actor Role*
72
- **Certified Data Engineer**"}
73
- b0290339-c96c-4b05-904f-12fc98e54e14-->|"Steward"|7f5dca65-50b4-4103-9ac7-3a406a09047a
22
+ 61cbbf59-3c77-4ae6-bf34-96540fbe5542@{ shape: text, label: &quot;*Description*
23
+ **Move landing area files to data lake, catalog files in data lake with lineage from the landing area and validate/certify that the data contains valid values. The cataloguing includes lineage, retention, origin, governance zones. The quality validation survey will add a certification to the file asset if the data contains valid values.**&quot;}
24
+ 7f5dca65-50b4-4103-9ac7-3a406a09047a@{ shape: subproc, label: &quot;*Solution Component*
25
+ **Weekly Measurements Onboarding Pipeline**&quot;}
26
+ 07705e15-efff-4f80-8992-f04ac85e0ef1@{ shape: rect, label: &quot;*Solution Component*
27
+ **Landing Folder Cataloguer**&quot;}
28
+ 07705e15-efff-4f80-8992-f04ac85e0ef1==&gt;|&quot;request onboarding,
29
+ [Solution Linking Wire]&quot;|7f5dca65-50b4-4103-9ac7-3a406a09047a
30
+ a5d4d638-6836-47e5-99d0-fdcde637e13f@{ shape: rect, label: &quot;*Solution Component*
31
+ **Weekly Measurements Data Lake Folder**&quot;}
32
+ 7f5dca65-50b4-4103-9ac7-3a406a09047a==&gt;|&quot;save new files,
33
+ [Solution Linking Wire]&quot;|a5d4d638-6836-47e5-99d0-fdcde637e13f
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;Steward&quot;|7f5dca65-50b4-4103-9ac7-3a406a09047a
37
+ b0290339-c96c-4b05-904f-12fc98e54e14@{ shape: trap-t, label: &quot;*Solution Actor Role*
38
+ **Certified Data Engineer**&quot;}
39
+ b0290339-c96c-4b05-904f-12fc98e54e14==&gt;|&quot;Steward&quot;|7f5dca65-50b4-4103-9ac7-3a406a09047a
40
+ 04ae768e-3816-47bc-bddb-c9ae25018684@{ shape: hex, label: &quot;*Information Supply Chain Segment*
41
+ **Hospital Delivers Patient Weekly Readings**&quot;}
42
+ 04ae768e-3816-47bc-bddb-c9ae25018684==&gt;|&quot;InformationSupplyChainLink&quot;|7f5dca65-50b4-4103-9ac7-3a406a09047a
43
+ 1f71e403-1187-4f03-a1dd-ae7dc105f06f@{ shape: flip-tri, label: &quot;*Information Supply Chain*
44
+ **Clinical Trial Treatment Validation**&quot;}
45
+ 1f71e403-1187-4f03-a1dd-ae7dc105f06f==&gt;|&quot;InformationSupplyChainComposition&quot;|04ae768e-3816-47bc-bddb-c9ae25018684
46
+ style 61cbbf59-3c77-4ae6-bf34-96540fbe5542 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
74
47
  style f37f3735-28a1-4e03-9ff5-3fe2f137f661 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
75
48
  style b0290339-c96c-4b05-904f-12fc98e54e14 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
76
- style 955c3304-2d5c-4efe-bdac-11849cb5d9cc color:#000000, fill:#F9F7ED, stroke:#b7c0c7
49
+ style 1f71e403-1187-4f03-a1dd-ae7dc105f06f color:#FFFFFF, fill:#004563, stroke:#b7c0c7
50
+ style 04ae768e-3816-47bc-bddb-c9ae25018684 color:#004563, fill:#b7c0c7, stroke:#004563
77
51
  style 7f5dca65-50b4-4103-9ac7-3a406a09047a color:#FFFFFF, fill:#838cc7, stroke:#3079ab
78
- style 07705e15-efff-4f80-8992-f04ac85e0ef1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab`;
79
- const {svg} = await mermaid.render('mySvgId', graphDefinition);
80
- element.innerHTML = svg.replace(/( )*max-width:( 0-9\.)*px;/i, '');
52
+ style 07705e15-efff-4f80-8992-f04ac85e0ef1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
53
+ style a5d4d638-6836-47e5-99d0-fdcde637e13f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
54
+ </div>
55
+ </div>
56
+ </div>
81
57
 
82
- var doPan = false;
83
- var eventsHandler;
84
- var panZoom;
85
- var mousepos;
86
-
87
- eventsHandler = {
88
- haltEventListeners: ['mousedown', 'mousemove', 'mouseup']
58
+ <style>
59
+ /* Ensure no margins or padding for the body or html in Jupyter */
60
+ body, html {
61
+ margin: 0;
62
+ padding: 0;
63
+ width: 100%;
64
+ height: 100%;
65
+ }
66
+ /* General reset for Jupyter Notebook's extra spacing */
67
+ #notebook, .container, .cell, .output_area {
68
+ margin: 0 !important;
69
+ padding: 0 !important;
70
+ }
71
+ .diagram-container {
72
+ width: 100%;
73
+ height: 100%;
74
+ overflow: hidden; /* Prevent scrollbars during zoom/pan */
75
+ }
76
+ h2 {
77
+ margin: 0;
78
+ padding: 10px;
79
+ font-size: 24px;
80
+ text-align: center;
81
+ flex: 0 0 auto; /* Fix height explicitly for heading */
82
+ }
83
+ .mermaid {
84
+ margin: 0;
85
+ padding: 0;
86
+ }
87
+ </style>
89
88
 
90
- , mouseDownHandler: function (ev) {
91
- if (event.target.className == "[object SVGAnimatedString]") {
92
- doPan = true;
93
- mousepos = {x: ev.clientX, y: ev.clientY}
94
- }
89
+ <script>
90
+ (function() {
91
+ const graphId = "mermaid-graph-7f5dca65-50b4-4103-9ac7-3a406a09047a"; // Pass the graph ID
92
+
93
+ function loadScript(url, callback) {
94
+ const script = document.createElement('script');
95
+ script.src = url;
96
+ script.onload = callback;
97
+ document.head.appendChild(script);
98
+ }
99
+
100
+ // Initialize Mermaid and render the diagram
101
+ function initializeMermaid() {
102
+ mermaid.initialize({startOnLoad: false});
103
+ mermaid.init(undefined, "#" + graphId);
104
+
105
+ setTimeout(() => {
106
+ const container = document.getElementById(graphId);
107
+ if (!container) {
108
+ console.error("Container not found for graph:", graphId);
109
+ return;
110
+ }
111
+
112
+ const svg = container.querySelector("svg");
113
+ if (!svg) {
114
+ console.error("SVG not rendered by Mermaid.");
115
+ return;
116
+ }
117
+
118
+ console.log("SVG rendered. Applying pan & zoom.");
119
+
120
+ // Adjust to container size
121
+ const containerElement = document.getElementById("mermaid-graph-7f5dca65-50b4-4103-9ac7-3a406a09047a-container");
122
+ svg.setAttribute("width", containerElement.offsetWidth);
123
+ svg.setAttribute("height", containerElement.offsetHeight);
124
+
125
+ // Add pan/zoom functionality
126
+ loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
127
+ const panZoom = svgPanZoom(svg, {
128
+ zoomEnabled: true,
129
+ controlIconsEnabled: true,
130
+ fit: true,
131
+ center: true,
132
+ minZoom: 0.5,
133
+ maxZoom: 10
134
+ });
135
+
136
+ // Reinitialize pan-zoom on window resize
137
+ function onResize() {
138
+ panZoom.resize();
139
+ panZoom.fit();
140
+ panZoom.center();
141
+ }
142
+ window.addEventListener('resize', onResize);
143
+
144
+ console.log("Pan & zoom initialized successfully.");
145
+ });
146
+ }, 500);
147
+ }
148
+
149
+ // Load Mermaid.js and initialize
150
+ if (typeof mermaid === "undefined") {
151
+ loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
152
+ } else {
153
+ initializeMermaid();
154
+ }
155
+ })();
156
+ </script>
95
157
 
96
- }
97
-
98
- , mouseMoveHandler: function (ev) {
99
- if (doPan) {
100
- panZoom.panBy({x: ev.clientX - mousepos.x, y: ev.clientY - mousepos.y});
101
- mousepos = {x: ev.clientX, y: ev.clientY};
102
- window.getSelection().removeAllRanges();
103
- }
104
- }
105
-
106
- , mouseUpHandler: function (ev) {
107
- doPan = false;
108
- }
109
-
110
- , init: function (options) {
111
- options.svgElement.addEventListener('mousedown', this.mouseDownHandler, false);
112
- options.svgElement.addEventListener('mousemove', this.mouseMoveHandler, false);
113
- options.svgElement.addEventListener('mouseup', this.mouseUpHandler, false);
114
- }
115
-
116
- , destroy: function (options) {
117
- options.svgElement.removeEventListener('mousedown', this.mouseDownHandler, false);
118
- options.svgElement.removeEventListener('mousemove', this.mouseMoveHandler, false);
119
- options.svgElement.removeEventListener('mouseup', this.mouseUpHandler, false);
120
- }
121
- }
122
- panZoom = svgPanZoom('#mySvgId', {
123
- zoomEnabled: true
124
- , controlIconsEnabled: true
125
- , fit: 1
126
- , center: 1
127
- , customEventsHandler: eventsHandler
128
- })
129
- };
130
- await drawDiagram();
131
- </script>
132
- </body>
133
158
 
@@ -13,7 +13,7 @@ from rich.console import Console
13
13
 
14
14
  from pyegeria.server_operations import ServerOps
15
15
  from pyegeria.automated_curation_omvs import AutomatedCuration
16
-
16
+ from pyegeria._globals import NO_ELEMENTS_FOUND
17
17
  console = Console(width=200)
18
18
 
19
19
 
@@ -11,7 +11,7 @@ import json
11
11
 
12
12
  # import json
13
13
  from pyegeria._client import Client, max_paging_size
14
-
14
+ from pyegeria._globals import NO_ELEMENTS_FOUND
15
15
 
16
16
  def jprint(info, comment=None):
17
17
  if comment:
@@ -14,7 +14,7 @@ from datetime import datetime
14
14
  from pyegeria._client import Client
15
15
  from pyegeria._validators import validate_guid, validate_name, validate_search_string
16
16
  from pyegeria.utils import body_slimmer
17
-
17
+ from pyegeria._globals import NO_ELEMENTS_FOUND
18
18
 
19
19
  class GlossaryBrowser(Client):
20
20
  """
@@ -13,7 +13,7 @@ import os
13
13
  import time
14
14
  from datetime import datetime
15
15
  from typing import List
16
-
16
+ from pyegeria._globals import NO_ELEMENTS_FOUND
17
17
  from pyegeria._exceptions import InvalidParameterException
18
18
 
19
19
  # import json
@@ -21,7 +21,7 @@ from pyegeria._client import Client
21
21
  from pyegeria._validators import validate_guid, validate_name, validate_search_string
22
22
  from pyegeria.glossary_browser_omvs import GlossaryBrowser
23
23
  from pyegeria.utils import body_slimmer
24
-
24
+ from pyegeria._globals import NO_CATEGORIES_FOUND,NO_TERMS_FOUND, NO_GLOSSARIES_FOUND
25
25
 
26
26
  class GlossaryManager(GlossaryBrowser):
27
27
  """
@@ -2619,7 +2619,7 @@ class GlossaryManager(GlossaryBrowser):
2619
2619
  else:
2620
2620
  response = await self._async_make_request("POST", url)
2621
2621
 
2622
- return response.json().get("elementList", "No terms found")
2622
+ return response.json().get("elementList", NO_TERMS_FOUND)
2623
2623
 
2624
2624
  def get_terms_for_category(
2625
2625
  self,
@@ -2807,7 +2807,7 @@ class GlossaryManager(GlossaryBrowser):
2807
2807
  else:
2808
2808
  response = await self._async_make_request("POST", url)
2809
2809
 
2810
- return response.json().get("elementList", "No terms found")
2810
+ return response.json().get("elementList", NO_TERMS_FOUND)
2811
2811
 
2812
2812
  def get_term_relationships(
2813
2813
  self,
@@ -2976,7 +2976,7 @@ class GlossaryManager(GlossaryBrowser):
2976
2976
  Returns
2977
2977
  -------
2978
2978
  list
2979
- A list of terms matching the search criteria. If no terms are found, it returns the string "No terms found".
2979
+ A list of terms matching the search criteria. If no terms are found, it returns the string NO_TERMS_FOUND.
2980
2980
 
2981
2981
  Raises
2982
2982
  ------
@@ -3014,7 +3014,7 @@ class GlossaryManager(GlossaryBrowser):
3014
3014
  # print(f"\n\nURL is: \n {url}\n\nBody is: \n{body}")
3015
3015
 
3016
3016
  response = await self._async_make_request("POST", url, body)
3017
- return response.json().get("elementList", "No terms found")
3017
+ return response.json().get("elementList", NO_TERMS_FOUND)
3018
3018
 
3019
3019
  def get_terms_by_name(
3020
3020
  self,
@@ -3054,7 +3054,7 @@ class GlossaryManager(GlossaryBrowser):
3054
3054
  -------
3055
3055
  list
3056
3056
  A list of terms matching the search criteria. If no terms are found,
3057
- it returns the string "No terms found".
3057
+ it returns the string NO_TERMS_FOUND.
3058
3058
 
3059
3059
  Raises
3060
3060
  ------
@@ -3488,7 +3488,7 @@ class GlossaryManager(GlossaryBrowser):
3488
3488
  "effectiveTime": effective_time,
3489
3489
  "limitResultsByStatus": status_filter,
3490
3490
  }
3491
- # body = body_slimmer(body)
3491
+ body = body_slimmer(body)
3492
3492
 
3493
3493
  url = (
3494
3494
  f"{self.platform_url}/servers/{self.view_server}/api/open-metadata/glossary-browser/glossaries/"
@@ -3501,7 +3501,7 @@ class GlossaryManager(GlossaryBrowser):
3501
3501
 
3502
3502
  response = await self._async_make_request("POST", url, body)
3503
3503
  return response.json().get(
3504
- "elementList", "No terms found"
3504
+ "elementList", NO_TERMS_FOUND
3505
3505
  ) # return response.text
3506
3506
 
3507
3507
  def find_glossary_terms(
@@ -21,12 +21,13 @@ nest_asyncio.apply()
21
21
  from IPython.display import HTML, display
22
22
  from rich.console import Console
23
23
 
24
- from pyegeria import (
25
- AutomatedCuration,
24
+ from pyegeria.automated_curation_omvs import AutomatedCuration
25
+ from pyegeria._exceptions import (
26
26
  InvalidParameterException,
27
27
  PropertyServerException,
28
28
  UserNotAuthorizedException,
29
29
  )
30
+ from pyegeria._globals import NO_ELEMENTS_FOUND
30
31
 
31
32
  EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
32
33
  EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
@@ -61,20 +62,6 @@ def load_mermaid():
61
62
  display(HTML(mermaid_js))
62
63
 
63
64
 
64
- # def render_mermaid(mermaid_code):
65
- # """Function to display a Mermaid diagram in a Jupyter notebook"""
66
- # mermaid_html = f"""
67
- # <div class="mermaid">
68
- # {mermaid_code}
69
- # </div>
70
- # <script type="text/javascript">
71
- # if (window.mermaid) {{
72
- # mermaid.initialize({{startOnLoad: true}});
73
- # mermaid.contentLoaded();
74
- # }}
75
- # </script>
76
- # """
77
- # display(HTML(mermaid_html))
78
65
  def render_mermaid(mermaid_code):
79
66
  return display(HTML(construct_mermaid_html(mermaid_code)))
80
67
 
@@ -236,131 +223,135 @@ def construct_mermaid_html(mermaid_str: str) -> str:
236
223
  escaped_header = html.escape(title_label) if title_label else "" # Sanitize the header safely
237
224
  escaped_mermaid_code = html.escape(mermaid_code)
238
225
 
239
- # header_html = f"<h2 class='diagram-header'>{escaped_header}</h2>\nGUID: {guid}" if title_label else ""
240
- # Header HTML (display only if header exists)
241
226
  header_html = f"""
242
- <h2 style="text-align: center; color: #007acc; margin-bottom: 16px;">
227
+ <h3 id="{graph_id}-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
243
228
  {escaped_header}
244
- </h2>
229
+ </h3>
230
+ <p id="{graph_id}-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
231
+ GUID: {guid}
232
+ </p>
245
233
  """ if title_label else ""
246
234
 
247
- # Construct the HTML content with Mermaid.js initialization and zoom/pan support
248
-
249
-
250
- mermaid_html = f"""
251
- <div id="{graph_id}-container" class="diagram-container"
252
- style="width: 90%; max-width: 800px; margin: auto; padding: 20px;
253
- background: white; border: 1px solid #ddd;
254
- border-radius: 12px; position: relative;">
255
- <div class="pan-zoom-container"
256
- style="width: 100%; height: 500px; overflow: hidden;
257
- position: relative; background: #f9f9f9;
258
- border: 1px solid #ccc; cursor: grab;">
259
- <div id="pz-{graph_id}" class="mermaid pan-zoom-content"
260
- style="position: absolute; transform-origin: 0 0;">
235
+ html_content = f"""
236
+ <div id="{graph_id}-wrapper" style="width: 100%; height: 100%; display: flex; flex-direction: column; align-items: stretch;">
237
+
238
+ <!-- Title/Heading -->
239
+
240
+ {header_html if header_html else ""}
241
+ <!-- Mermaid Diagram -->
242
+ <div id="{graph_id}-container" class="diagram-container"
243
+ style="width: 100%; flex: 1 1 auto; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;">
244
+ <div id="{graph_id}" class="mermaid"
245
+ style="width: 100%; height: 100%; cursor: grab; user-select: none; margin: 0; padding: 0;">
261
246
  {escaped_mermaid_code}
262
247
  </div>
263
248
  </div>
264
249
  </div>
250
+
251
+ <style>
252
+ /* Ensure no margins or padding for the body or html in Jupyter */
253
+ body, html {{
254
+ margin: 0;
255
+ padding: 0;
256
+ width: 100%;
257
+ height: 100%;
258
+ }}
259
+ /* General reset for Jupyter Notebook's extra spacing */
260
+ #notebook, .container, .cell, .output_area {{
261
+ margin: 0 !important;
262
+ padding: 0 !important;
263
+ }}
264
+ .diagram-container {{
265
+ width: 100%;
266
+ height: 100%;
267
+ overflow: hidden; /* Prevent scrollbars during zoom/pan */
268
+ }}
269
+ h2 {{
270
+ margin: 0;
271
+ padding: 10px;
272
+ font-size: 24px;
273
+ text-align: center;
274
+ flex: 0 0 auto; /* Fix height explicitly for heading */
275
+ }}
276
+ .mermaid {{
277
+ margin: 0;
278
+ padding: 0;
279
+ }}
280
+ </style>
281
+
265
282
  <script>
266
283
  (function() {{
267
- // Ensure Mermaid.js is loaded
268
- if (typeof mermaid === "undefined") {{
284
+ const graphId = "{graph_id}"; // Pass the graph ID
285
+
286
+ function loadScript(url, callback) {{
269
287
  const script = document.createElement('script');
270
- script.src = "https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js";
271
- script.onload = () => renderGraph();
288
+ script.src = url;
289
+ script.onload = callback;
272
290
  document.head.appendChild(script);
273
- }} else {{
274
- renderGraph();
291
+ }}
292
+
293
+ // Initialize Mermaid and render the diagram
294
+ function initializeMermaid() {{
295
+ mermaid.initialize({{startOnLoad: false}});
296
+ mermaid.init(undefined, "#" + graphId);
297
+
298
+ setTimeout(() => {{
299
+ const container = document.getElementById(graphId);
300
+ if (!container) {{
301
+ console.error("Container not found for graph:", graphId);
302
+ return;
303
+ }}
304
+
305
+ const svg = container.querySelector("svg");
306
+ if (!svg) {{
307
+ console.error("SVG not rendered by Mermaid.");
308
+ return;
309
+ }}
310
+
311
+ console.log("SVG rendered. Applying pan & zoom.");
312
+
313
+ // Adjust to container size
314
+ const containerElement = document.getElementById("{graph_id}-container");
315
+ svg.setAttribute("width", containerElement.offsetWidth);
316
+ svg.setAttribute("height", containerElement.offsetHeight);
317
+
318
+ // Add pan/zoom functionality
319
+ loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {{
320
+ const panZoom = svgPanZoom(svg, {{
321
+ zoomEnabled: true,
322
+ controlIconsEnabled: true,
323
+ fit: true,
324
+ center: true,
325
+ minZoom: 0.5,
326
+ maxZoom: 10
327
+ }});
328
+
329
+ // Reinitialize pan-zoom on window resize
330
+ function onResize() {{
331
+ panZoom.resize();
332
+ panZoom.fit();
333
+ panZoom.center();
334
+ }}
335
+ window.addEventListener('resize', onResize);
336
+
337
+ console.log("Pan & zoom initialized successfully.");
338
+ }});
339
+ }}, 500);
275
340
  }}
276
341
 
277
- function renderGraph() {{
278
- // Render the Mermaid graph
279
- mermaid.initialize({{ startOnLoad: true }});
280
- mermaid.init(undefined, `#pz-{graph_id}`);
281
-
282
- // Pan and Zoom Variables
283
- const container = document.querySelector(`#{graph_id}-container .pan-zoom-container`);
284
- const content = document.querySelector(`#{graph_id}-container .pan-zoom-content`);
285
-
286
- if (!container || !content) {{
287
- console.error("Pan/Zoom container or content not found");
288
- return;
289
- }}
290
-
291
- let scale = 1; // Current zoom level
292
- let panX = 0; // X-axis pan
293
- let panY = 0; // Y-axis pan
294
- let isDragging = false;
295
- let startX, startY;
296
-
297
- // Apply Transformations
298
- const applyTransform = () => {{
299
- content.style.transform = `translate(${{panX}}px, ${{panY}}px) scale(${{scale}})`;
300
- }};
301
-
302
- // Center Diagram on Load
303
- const centerAndFitDiagram = () => {{
304
- const containerRect = container.getBoundingClientRect();
305
- const rect = content.getBoundingClientRect();
306
-
307
- // Calculate scale
308
- scale = Math.min(
309
- containerRect.width / rect.width,
310
- containerRect.height / rect.height
311
- );
312
-
313
- // Set panning to center the diagram
314
- panX = (containerRect.width - rect.width * scale) / 2;
315
- panY = (containerRect.height - rect.height * scale) / 2;
316
-
317
- applyTransform();
318
- }};
319
-
320
- // Delay centering to ensure rendering is complete
321
- setTimeout(centerAndFitDiagram, 500);
322
-
323
- // Pan/Drag Logic
324
- container.addEventListener("mousedown", (e) => {{
325
- isDragging = true;
326
- startX = e.clientX - panX;
327
- startY = e.clientY - panY;
328
- container.style.cursor = "grabbing";
329
- }});
330
-
331
- window.addEventListener("mousemove", (e) => {{
332
- if (!isDragging) return;
333
- panX = e.clientX - startX;
334
- panY = e.clientY - startY;
335
- applyTransform();
336
- }});
337
-
338
- window.addEventListener("mouseup", () => {{
339
- isDragging = false;
340
- container.style.cursor = "grab";
341
- }});
342
-
343
- // Scroll-Wheel Zoom Logic
344
- container.addEventListener("wheel", (e) => {{
345
- e.preventDefault();
346
- const delta = -Math.sign(e.deltaY); // Dynamic zoom direction
347
- const zoomIntensity = 0.1; // Adjust zoom speed
348
- const zoomFactor = 1 + delta * zoomIntensity;
349
-
350
- scale *= zoomFactor;
351
-
352
- // Clamp the zoom level to a minimum and maximum level
353
- scale = Math.min(Math.max(scale, 0.5), 5);
354
-
355
- applyTransform();
356
- }});
342
+ // Load Mermaid.js and initialize
343
+ if (typeof mermaid === "undefined") {{
344
+ loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
345
+ }} else {{
346
+ initializeMermaid();
357
347
  }}
358
348
  }})();
359
349
  </script>
360
350
 
361
-
362
351
  """
363
- return mermaid_html
352
+
353
+
354
+ return html_content
364
355
  # mermaid_html = f"""
365
356
  # <h2 style="text-align: center; color: #007acc; margin-bottom: 16px;">
366
357
  # {escaped_header}