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,125 +1,157 @@
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 - Sustainability Dashboards </title>
22
- <h3 style="text-align: center;">Solution Component - Sustainability Dashboards </h3>
23
- GUID : d50a6f1f-49d2-47c3-a55e-5844464bd26f
24
-
25
-
26
- <body>
2
+ <div id="mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f-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-d50a6f1f-49d2-47c3-a55e-5844464bd26f-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
+ Solution Component - Sustainability Dashboards
9
+ </h3>
10
+ <p id="mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
+ GUID: d50a6f1f-49d2-47c3-a55e-5844464bd26f
12
+ </p>
13
+
14
+ <!-- Mermaid Diagram -->
15
+ <div id="mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f-container" class="diagram-container"
16
+ style="width: 100%; flex: 1 1 auto; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;">
17
+ <div id="mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f" class="mermaid"
18
+ style="width: 100%; height: 100%; cursor: grab; user-select: none; margin: 0; padding: 0;">
19
+ flowchart TD
20
+ %%{init: {&quot;flowchart&quot;: {&quot;htmlLabels&quot;: false}} }%%
60
21
 
61
- 7374580d-56f5-4b04-876f-0516a82144d6@{ shape: text, label: "*Description*
62
- **Dashboards that illustrate Coco Pharmaceuticals' sustainability position.**"}
63
- d50a6f1f-49d2-47c3-a55e-5844464bd26f@{ shape: subproc, label: "*Solution Component*
64
- **Sustainability Dashboards**"}
65
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: rect, label: "*Solution Component*
66
- **Sustainability Operational Data Store (ODS)**"}
67
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-->|"Solution Linking Wire"|d50a6f1f-49d2-47c3-a55e-5844464bd26f
22
+ 28c6a29e-19a9-4997-a9e7-b8ecb4f0a890@{ shape: text, label: &quot;*Description*
23
+ **Dashboards that illustrate Coco Pharmaceuticals&#x27; sustainability position.**&quot;}
24
+ d50a6f1f-49d2-47c3-a55e-5844464bd26f@{ shape: subproc, label: &quot;*Solution Component*
25
+ **Sustainability Dashboards**&quot;}
26
+ fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: rect, label: &quot;*Solution Component*
27
+ **Sustainability Operational Data Store (ODS)**&quot;}
28
+ fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4==&gt;|&quot;travel inventory,
29
+ [Solution Linking Wire]&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
30
+ ac0e0d11-6523-499f-bcdb-5db15fc49ac8@{ shape: trap-t, label: &quot;*Solution Actor Role*
31
+ **Sustainability Champion**&quot;}
32
+ ac0e0d11-6523-499f-bcdb-5db15fc49ac8==&gt;|&quot;Review Status&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
33
+ 2942cd61-d8ad-427d-847a-dae4a1a6f32f@{ shape: trap-t, label: &quot;*Solution Actor Role*
34
+ **Sustainability Executive**&quot;}
35
+ 2942cd61-d8ad-427d-847a-dae4a1a6f32f==&gt;|&quot;Review Status&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
36
+ 3d6e9e6e-6dda-4586-a114-d8e7a1f47972@{ shape: trap-t, label: &quot;*Solution Actor Role*
37
+ **Sustainability Leader**&quot;}
38
+ 3d6e9e6e-6dda-4586-a114-d8e7a1f47972==&gt;|&quot;Review Status&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
39
+ 9fb47e51-4121-495d-be31-f766a1f70856@{ shape: hex, label: &quot;*Information Supply Chain Segment*
40
+ **Sustainability Data Gathering**&quot;}
41
+ 9fb47e51-4121-495d-be31-f766a1f70856==&gt;|&quot;InformationSupplyChainLink&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
42
+ dd15b286-a38d-4f03-8625-aaded8596048@{ shape: flip-tri, label: &quot;*Information Supply Chain*
43
+ **Sustainability Reporting**&quot;}
44
+ dd15b286-a38d-4f03-8625-aaded8596048==&gt;|&quot;InformationSupplyChainComposition&quot;|9fb47e51-4121-495d-be31-f766a1f70856
45
+ style 28c6a29e-19a9-4997-a9e7-b8ecb4f0a890 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
68
46
  style d50a6f1f-49d2-47c3-a55e-5844464bd26f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
69
- style 7374580d-56f5-4b04-876f-0516a82144d6 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
70
- style fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4 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, '');
47
+ style ac0e0d11-6523-499f-bcdb-5db15fc49ac8 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
48
+ style 2942cd61-d8ad-427d-847a-dae4a1a6f32f color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
49
+ style dd15b286-a38d-4f03-8625-aaded8596048 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
50
+ style fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
51
+ style 3d6e9e6e-6dda-4586-a114-d8e7a1f47972 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
52
+ style 9fb47e51-4121-495d-be31-f766a1f70856 color:#004563, fill:#b7c0c7, stroke:#004563
53
+ </div>
54
+ </div>
55
+ </div>
73
56
 
74
- var doPan = false;
75
- var eventsHandler;
76
- var panZoom;
77
- var mousepos;
78
-
79
- eventsHandler = {
80
- haltEventListeners: ['mousedown', 'mousemove', 'mouseup']
57
+ <style>
58
+ /* Ensure no margins or padding for the body or html in Jupyter */
59
+ body, html {
60
+ margin: 0;
61
+ padding: 0;
62
+ width: 100%;
63
+ height: 100%;
64
+ }
65
+ /* General reset for Jupyter Notebook's extra spacing */
66
+ #notebook, .container, .cell, .output_area {
67
+ margin: 0 !important;
68
+ padding: 0 !important;
69
+ }
70
+ .diagram-container {
71
+ width: 100%;
72
+ height: 100%;
73
+ overflow: hidden; /* Prevent scrollbars during zoom/pan */
74
+ }
75
+ h2 {
76
+ margin: 0;
77
+ padding: 10px;
78
+ font-size: 24px;
79
+ text-align: center;
80
+ flex: 0 0 auto; /* Fix height explicitly for heading */
81
+ }
82
+ .mermaid {
83
+ margin: 0;
84
+ padding: 0;
85
+ }
86
+ </style>
81
87
 
82
- , mouseDownHandler: function (ev) {
83
- if (event.target.className == "[object SVGAnimatedString]") {
84
- doPan = true;
85
- mousepos = {x: ev.clientX, y: ev.clientY}
86
- }
88
+ <script>
89
+ (function() {
90
+ const graphId = "mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f"; // Pass the graph ID
91
+
92
+ function loadScript(url, callback) {
93
+ const script = document.createElement('script');
94
+ script.src = url;
95
+ script.onload = callback;
96
+ document.head.appendChild(script);
97
+ }
98
+
99
+ // Initialize Mermaid and render the diagram
100
+ function initializeMermaid() {
101
+ mermaid.initialize({startOnLoad: false});
102
+ mermaid.init(undefined, "#" + graphId);
103
+
104
+ setTimeout(() => {
105
+ const container = document.getElementById(graphId);
106
+ if (!container) {
107
+ console.error("Container not found for graph:", graphId);
108
+ return;
109
+ }
110
+
111
+ const svg = container.querySelector("svg");
112
+ if (!svg) {
113
+ console.error("SVG not rendered by Mermaid.");
114
+ return;
115
+ }
116
+
117
+ console.log("SVG rendered. Applying pan & zoom.");
118
+
119
+ // Adjust to container size
120
+ const containerElement = document.getElementById("mermaid-graph-d50a6f1f-49d2-47c3-a55e-5844464bd26f-container");
121
+ svg.setAttribute("width", containerElement.offsetWidth);
122
+ svg.setAttribute("height", containerElement.offsetHeight);
123
+
124
+ // Add pan/zoom functionality
125
+ loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
126
+ const panZoom = svgPanZoom(svg, {
127
+ zoomEnabled: true,
128
+ controlIconsEnabled: true,
129
+ fit: true,
130
+ center: true,
131
+ minZoom: 0.5,
132
+ maxZoom: 10
133
+ });
134
+
135
+ // Reinitialize pan-zoom on window resize
136
+ function onResize() {
137
+ panZoom.resize();
138
+ panZoom.fit();
139
+ panZoom.center();
140
+ }
141
+ window.addEventListener('resize', onResize);
142
+
143
+ console.log("Pan & zoom initialized successfully.");
144
+ });
145
+ }, 500);
146
+ }
147
+
148
+ // Load Mermaid.js and initialize
149
+ if (typeof mermaid === "undefined") {
150
+ loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
151
+ } else {
152
+ initializeMermaid();
153
+ }
154
+ })();
155
+ </script>
87
156
 
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
157
 
@@ -1,141 +1,174 @@
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 - Sustainability Operational Data Store (ODS) </title>
22
- <h3 style="text-align: center;">Solution Component - Sustainability Operational Data Store (ODS) </h3>
23
- GUID : fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
24
-
25
-
26
- <body>
2
+ <div id="mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-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-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
8
+ Solution Component - Sustainability Operational Data Store (ODS)
9
+ </h3>
10
+ <p id="mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
11
+ GUID: fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
12
+ </p>
13
+
14
+ <!-- Mermaid Diagram -->
15
+ <div id="mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-container" class="diagram-container"
16
+ style="width: 100%; flex: 1 1 auto; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden;">
17
+ <div id="mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4" class="mermaid"
18
+ style="width: 100%; height: 100%; cursor: grab; user-select: none; margin: 0; padding: 0;">
19
+ flowchart TD
20
+ %%{init: {&quot;flowchart&quot;: {&quot;htmlLabels&quot;: false}} }%%
60
21
 
61
- 45f3cef8-56e8-4eca-83eb-72d967731fad@{ shape: text, label: "*Description*
62
- **A store for both the raw data needed for the sustainability calculations and the results.**"}
63
- fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: subproc, label: "*Solution Component*
64
- **Sustainability Operational Data Store (ODS)**"}
65
- 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa@{ shape: rect, label: "*Solution Component*
66
- **Accounting ledgers**"}
67
- 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa-->|"Solution Linking Wire"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
68
- 06edd666-06fd-43ef-b7bd-22e2651c334f@{ shape: rect, label: "*Solution Component*
69
- **Sustainability Calculators**"}
70
- 06edd666-06fd-43ef-b7bd-22e2651c334f-->|"Solution Linking Wire"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
71
- 25fd5be7-692d-4752-9dc7-30068a7d665e@{ shape: rect, label: "*Solution Component*
72
- **Hazardous Materials (HazMat) Inventory**"}
73
- 25fd5be7-692d-4752-9dc7-30068a7d665e-->|"Solution Linking Wire"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
74
- 50768e61-43b6-4241-96a3-4c413582ec1f@{ shape: rect, label: "*Solution Component*
75
- **Goods Inventory**"}
76
- 50768e61-43b6-4241-96a3-4c413582ec1f-->|"Solution Linking Wire"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
77
- 02cdce9a-7630-479a-90de-fd7698d098f1@{ shape: rect, label: "*Solution Component*
78
- **Employee Expense Tool**"}
79
- 02cdce9a-7630-479a-90de-fd7698d098f1-->|"Solution Linking Wire"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
80
- style 45f3cef8-56e8-4eca-83eb-72d967731fad color:#000000, fill:#F9F7ED, stroke:#b7c0c7
22
+ 0ddb735b-737f-4321-9c4a-33c7bbeee6d5@{ shape: text, label: &quot;*Description*
23
+ **A store for both the raw data needed for the sustainability calculations and the results.**&quot;}
24
+ fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: subproc, label: &quot;*Solution Component*
25
+ **Sustainability Operational Data Store (ODS)**&quot;}
26
+ 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa@{ shape: rect, label: &quot;*Solution Component*
27
+ **Accounting ledgers**&quot;}
28
+ 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa==&gt;|&quot;spending types,
29
+ [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
30
+ 06edd666-06fd-43ef-b7bd-22e2651c334f@{ shape: rect, label: &quot;*Solution Component*
31
+ **Sustainability Calculators**&quot;}
32
+ 06edd666-06fd-43ef-b7bd-22e2651c334f==&gt;|&quot;results publishing,
33
+ [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
34
+ 25fd5be7-692d-4752-9dc7-30068a7d665e@{ shape: rect, label: &quot;*Solution Component*
35
+ **Hazardous Materials (HazMat) Inventory**&quot;}
36
+ 25fd5be7-692d-4752-9dc7-30068a7d665e==&gt;|&quot;publish hazmat levels,
37
+ [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
38
+ 50768e61-43b6-4241-96a3-4c413582ec1f@{ shape: rect, label: &quot;*Solution Component*
39
+ **Goods Inventory**&quot;}
40
+ 50768e61-43b6-4241-96a3-4c413582ec1f==&gt;|&quot;goods movement,
41
+ [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
42
+ 02cdce9a-7630-479a-90de-fd7698d098f1@{ shape: rect, label: &quot;*Solution Component*
43
+ **Employee Expense Tool**&quot;}
44
+ 02cdce9a-7630-479a-90de-fd7698d098f1==&gt;|&quot;travel inventory,
45
+ [Solution Linking Wire]&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
46
+ d50a6f1f-49d2-47c3-a55e-5844464bd26f@{ shape: rect, label: &quot;*Solution Component*
47
+ **Sustainability Dashboards**&quot;}
48
+ fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4==&gt;|&quot;travel inventory,
49
+ [Solution Linking Wire]&quot;|d50a6f1f-49d2-47c3-a55e-5844464bd26f
50
+ fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4==&gt;|&quot;raw data request,
51
+ [Solution Linking Wire]&quot;|06edd666-06fd-43ef-b7bd-22e2651c334f
52
+ 9fb47e51-4121-495d-be31-f766a1f70856@{ shape: hex, label: &quot;*Information Supply Chain Segment*
53
+ **Sustainability Data Gathering**&quot;}
54
+ 9fb47e51-4121-495d-be31-f766a1f70856==&gt;|&quot;ImplementedBy&quot;|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
55
+ dd15b286-a38d-4f03-8625-aaded8596048@{ shape: flip-tri, label: &quot;*Information Supply Chain*
56
+ **Sustainability Reporting**&quot;}
57
+ dd15b286-a38d-4f03-8625-aaded8596048==&gt;|&quot;InformationSupplyChainComposition&quot;|9fb47e51-4121-495d-be31-f766a1f70856
58
+ 9fb47e51-4121-495d-be31-f766a1f70856==&gt;|&quot;InformationSupplyChainLink&quot;|dd15b286-a38d-4f03-8625-aaded8596048
59
+ dd15b286-a38d-4f03-8625-aaded8596048==&gt;|&quot;InformationSupplyChainComposition&quot;|9fb47e51-4121-495d-be31-f766a1f70856
60
+ style 0ddb735b-737f-4321-9c4a-33c7bbeee6d5 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
61
+ style d50a6f1f-49d2-47c3-a55e-5844464bd26f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
62
+ style dd15b286-a38d-4f03-8625-aaded8596048 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
81
63
  style 50768e61-43b6-4241-96a3-4c413582ec1f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
82
64
  style fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
83
65
  style 25fd5be7-692d-4752-9dc7-30068a7d665e color:#FFFFFF, fill:#838cc7, stroke:#3079ab
84
66
  style 06edd666-06fd-43ef-b7bd-22e2651c334f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
85
67
  style 02cdce9a-7630-479a-90de-fd7698d098f1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
86
- style 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa color:#FFFFFF, fill:#838cc7, stroke:#3079ab`;
87
- const {svg} = await mermaid.render('mySvgId', graphDefinition);
88
- element.innerHTML = svg.replace(/( )*max-width:( 0-9\.)*px;/i, '');
68
+ style 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa color:#FFFFFF, fill:#838cc7, stroke:#3079ab
69
+ style 9fb47e51-4121-495d-be31-f766a1f70856 color:#004563, fill:#b7c0c7, stroke:#004563
70
+ </div>
71
+ </div>
72
+ </div>
89
73
 
90
- var doPan = false;
91
- var eventsHandler;
92
- var panZoom;
93
- var mousepos;
94
-
95
- eventsHandler = {
96
- haltEventListeners: ['mousedown', 'mousemove', 'mouseup']
74
+ <style>
75
+ /* Ensure no margins or padding for the body or html in Jupyter */
76
+ body, html {
77
+ margin: 0;
78
+ padding: 0;
79
+ width: 100%;
80
+ height: 100%;
81
+ }
82
+ /* General reset for Jupyter Notebook's extra spacing */
83
+ #notebook, .container, .cell, .output_area {
84
+ margin: 0 !important;
85
+ padding: 0 !important;
86
+ }
87
+ .diagram-container {
88
+ width: 100%;
89
+ height: 100%;
90
+ overflow: hidden; /* Prevent scrollbars during zoom/pan */
91
+ }
92
+ h2 {
93
+ margin: 0;
94
+ padding: 10px;
95
+ font-size: 24px;
96
+ text-align: center;
97
+ flex: 0 0 auto; /* Fix height explicitly for heading */
98
+ }
99
+ .mermaid {
100
+ margin: 0;
101
+ padding: 0;
102
+ }
103
+ </style>
97
104
 
98
- , mouseDownHandler: function (ev) {
99
- if (event.target.className == "[object SVGAnimatedString]") {
100
- doPan = true;
101
- mousepos = {x: ev.clientX, y: ev.clientY}
102
- }
105
+ <script>
106
+ (function() {
107
+ const graphId = "mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4"; // Pass the graph ID
108
+
109
+ function loadScript(url, callback) {
110
+ const script = document.createElement('script');
111
+ script.src = url;
112
+ script.onload = callback;
113
+ document.head.appendChild(script);
114
+ }
115
+
116
+ // Initialize Mermaid and render the diagram
117
+ function initializeMermaid() {
118
+ mermaid.initialize({startOnLoad: false});
119
+ mermaid.init(undefined, "#" + graphId);
120
+
121
+ setTimeout(() => {
122
+ const container = document.getElementById(graphId);
123
+ if (!container) {
124
+ console.error("Container not found for graph:", graphId);
125
+ return;
126
+ }
127
+
128
+ const svg = container.querySelector("svg");
129
+ if (!svg) {
130
+ console.error("SVG not rendered by Mermaid.");
131
+ return;
132
+ }
133
+
134
+ console.log("SVG rendered. Applying pan & zoom.");
135
+
136
+ // Adjust to container size
137
+ const containerElement = document.getElementById("mermaid-graph-fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-container");
138
+ svg.setAttribute("width", containerElement.offsetWidth);
139
+ svg.setAttribute("height", containerElement.offsetHeight);
140
+
141
+ // Add pan/zoom functionality
142
+ loadScript("https://cdn.jsdelivr.net/npm/svg-pan-zoom/dist/svg-pan-zoom.min.js", () => {
143
+ const panZoom = svgPanZoom(svg, {
144
+ zoomEnabled: true,
145
+ controlIconsEnabled: true,
146
+ fit: true,
147
+ center: true,
148
+ minZoom: 0.5,
149
+ maxZoom: 10
150
+ });
151
+
152
+ // Reinitialize pan-zoom on window resize
153
+ function onResize() {
154
+ panZoom.resize();
155
+ panZoom.fit();
156
+ panZoom.center();
157
+ }
158
+ window.addEventListener('resize', onResize);
159
+
160
+ console.log("Pan & zoom initialized successfully.");
161
+ });
162
+ }, 500);
163
+ }
164
+
165
+ // Load Mermaid.js and initialize
166
+ if (typeof mermaid === "undefined") {
167
+ loadScript("https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js", initializeMermaid);
168
+ } else {
169
+ initializeMermaid();
170
+ }
171
+ })();
172
+ </script>
103
173
 
104
- }
105
-
106
- , mouseMoveHandler: function (ev) {
107
- if (doPan) {
108
- panZoom.panBy({x: ev.clientX - mousepos.x, y: ev.clientY - mousepos.y});
109
- mousepos = {x: ev.clientX, y: ev.clientY};
110
- window.getSelection().removeAllRanges();
111
- }
112
- }
113
-
114
- , mouseUpHandler: function (ev) {
115
- doPan = false;
116
- }
117
-
118
- , init: function (options) {
119
- options.svgElement.addEventListener('mousedown', this.mouseDownHandler, false);
120
- options.svgElement.addEventListener('mousemove', this.mouseMoveHandler, false);
121
- options.svgElement.addEventListener('mouseup', this.mouseUpHandler, false);
122
- }
123
-
124
- , destroy: function (options) {
125
- options.svgElement.removeEventListener('mousedown', this.mouseDownHandler, false);
126
- options.svgElement.removeEventListener('mousemove', this.mouseMoveHandler, false);
127
- options.svgElement.removeEventListener('mouseup', this.mouseUpHandler, false);
128
- }
129
- }
130
- panZoom = svgPanZoom('#mySvgId', {
131
- zoomEnabled: true
132
- , controlIconsEnabled: true
133
- , fit: 1
134
- , center: 1
135
- , customEventsHandler: eventsHandler
136
- })
137
- };
138
- await drawDiagram();
139
- </script>
140
- </body>
141
174