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.
- pyegeria/__init__.py +8 -0
- pyegeria/_client.py +4 -4
- pyegeria/_globals.py +9 -0
- pyegeria/asset_catalog_omvs.py +4 -4
- pyegeria/automated_curation_omvs.py +1 -0
- pyegeria/classification_manager_omvs.py +32 -32
- pyegeria/collection_manager_omvs.py +6 -6
- pyegeria/commands/cat/__init__.py +22 -1
- pyegeria/commands/cat/get_collection.py +1 -1
- pyegeria/commands/cat/list_terms.py +2 -0
- pyegeria/commands/my/__init__.py +22 -0
- pyegeria/commands/my/list_my_profile.py +0 -2
- pyegeria/commands/ops/__init__.py +17 -17
- pyegeria/commands/tech/__init__.py +22 -0
- pyegeria/commands/tech/list_information_supply_chains.py +25 -9
- pyegeria/commands/tech/list_solution_blueprints.py +6 -5
- pyegeria/commands/tech/list_solution_components.py +1 -1
- pyegeria/commands/tech/list_solution_roles.py +6 -5
- pyegeria/commands/tech/work/mermaid_graphs/components/Accounting ledgers.html +137 -113
- pyegeria/commands/tech/work/mermaid_graphs/components/Analyse Patient Data.html +147 -122
- pyegeria/commands/tech/work/mermaid_graphs/components/Assemble Treatment Assessment Report.html +145 -120
- pyegeria/commands/tech/work/mermaid_graphs/components/Certify Hospital.html +128 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Employee Expense Tool.html +137 -113
- pyegeria/commands/tech/work/mermaid_graphs/components/Goods Inventory.html +138 -114
- pyegeria/commands/tech/work/mermaid_graphs/components/Hazardous Materials (HazMat) Inventory.html +138 -114
- pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Landing Area Folder.html +144 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Processes.html +144 -120
- pyegeria/commands/tech/work/mermaid_graphs/components/Landing Folder Cataloguer.html +142 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Nominate Hospital.html +128 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Onboard Hospital.html +128 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Populate Sandbox.html +142 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Set up Data Lake Folder.html +129 -118
- pyegeria/commands/tech/work/mermaid_graphs/components/Set up clinical trial.html +128 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Calculators.html +138 -116
- pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Dashboards.html +149 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Operational Data Store (ODS).html +162 -129
- pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Assessment Report Validation and Delivery.html +140 -120
- pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Efficacy Evidence.html +144 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Validation Sandbox.html +144 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Data Lake Folder.html +148 -117
- pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Onboarding Pipeline.html +148 -123
- pyegeria/create_tech_guid_lists.py +1 -1
- pyegeria/feedback_manager_omvs.py +1 -1
- pyegeria/glossary_browser_omvs.py +1 -1
- pyegeria/glossary_manager_omvs.py +9 -9
- pyegeria/mermaid_utilities.py +113 -122
- pyegeria/metadata_explorer_omvs.py +1 -2
- pyegeria/my_profile_omvs.py +1 -1
- pyegeria/project_manager_omvs.py +4 -4
- pyegeria/runtime_manager_omvs.py +1 -1
- pyegeria/solution_architect_omvs.py +2 -2
- pyegeria/template_manager_omvs.py +1 -1
- pyegeria/valid_metadata_omvs.py +2 -2
- {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/METADATA +1 -1
- pyegeria-5.3.4.9.dist-info/RECORD +267 -0
- pyegeria/.DS_Store +0 -0
- pyegeria/commands/.DS_Store +0 -0
- pyegeria/commands/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/__pycache__/server_status_widget.cpython-312-pytest-7.4.4.pyc +0 -0
- pyegeria/commands/cat/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/get_asset_graph.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/get_collection.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/get_project_dependencies.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/get_project_structure.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/get_tech_type_elements.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/glossary_actions.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_assets.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_cert_types.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_collections.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_deployed_catalogs.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_deployed_database_schemas.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_deployed_databases.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_glossaries.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_projects.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_servers_deployed_imp.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_tech_type_elements.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_tech_types.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_terms.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_todos.cpython-312.pyc +0 -0
- pyegeria/commands/cat/__pycache__/list_user_ids.cpython-312.pyc +0 -0
- pyegeria/commands/cli/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/cli/__pycache__/egeria_login_tui.cpython-312.pyc +0 -0
- pyegeria/commands/cli/__pycache__/egeria_ops.cpython-312.pyc +0 -0
- pyegeria/commands/cli/__pycache__/ops_config.cpython-312.pyc +0 -0
- pyegeria/commands/doc/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/.DS_Store +0 -0
- pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/.DS_Store +0 -0
- pyegeria/commands/doc/glossary/.DS_Store +0 -0
- pyegeria/commands/doc/glossary/images/.DS_Store +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/.DS_Store +0 -0
- pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/.DS_Store +0 -0
- pyegeria/commands/my/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/my/__pycache__/list_my_profile.cpython-312.pyc +0 -0
- pyegeria/commands/my/__pycache__/list_my_roles.cpython-312.pyc +0 -0
- pyegeria/commands/my/__pycache__/monitor_my_todos.cpython-312.pyc +0 -0
- pyegeria/commands/my/__pycache__/monitor_open_todos.cpython-312.pyc +0 -0
- pyegeria/commands/my/__pycache__/todo_actions.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/gov_server_actions.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/list_archives.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/list_catalog_targets.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/load_archive.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_engine_activity.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_engine_activity_c.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_gov_eng_status.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_integ_daemon_status.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_platform_status.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_server_startup.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/monitor_server_status.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/refresh_integration_daemon.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/restart_integration_daemon.cpython-312.pyc +0 -0
- pyegeria/commands/ops/__pycache__/table_integ_daemon_status.cpython-312.pyc +0 -0
- pyegeria/commands/tech/.DS_Store +0 -0
- pyegeria/commands/tech/__pycache__/__init__.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/get_element_info.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/get_guid_info.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/get_tech_details.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/get_tech_type_template.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_all_om_type_elements.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_all_om_type_elements_x.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_all_related_elements.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_anchored_elements.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_asset_types.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_elements_by_classification_by_property_value.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_elements_by_property_value.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_elements_by_property_value_x.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_elements_for_classification.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_gov_action_processes.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_information_supply_chains.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_registered_services.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_related_elements_with_prop_value.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_related_specification.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_relationship_types.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_relationships.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_solution_blueprints.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_solution_components.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_solution_roles.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_tech_templates.cpython-312.pyc +0 -0
- pyegeria/commands/tech/__pycache__/list_valid_metadata_values.cpython-312.pyc +0 -0
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Automated Manufacturing Control.html +0 -121
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Clinical Trial Management Solution Blueprint.html +0 -213
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Employee Management Solution Blueprint.html +0 -124
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Hazardous Material Management Solution Blueprint.html +0 -124
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Inventory Management.html +0 -124
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Personalized Medicine Order Fulfillment Solution Blueprint.html +0 -124
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/Sustainability Reporting Solution Blueprint.html +0 -149
- pyegeria/commands/tech/work/mermaid_graphs/blueprints/{{displayName}}.html +0 -121
- pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DC-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-DEPOT-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-LAB-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-OFFICE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/AMS-SITE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-DC-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-FACTORY-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-OFFICE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/AUS-SITE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/C-TRL-SUSTAINABILITY-CHAMP.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-CT:ProjectManager.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/CAMP-MM:ProjectManager.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/CertifiedDataEngineer.html +0 -130
- pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialManager.html +0 -138
- pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospital.html +0 -122
- pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialParticipatingHospitalCoordinator.html +0 -122
- pyegeria/commands/tech/work/mermaid_graphs/roles/ClinicalTrialSponsor.html +0 -122
- pyegeria/commands/tech/work/mermaid_graphs/roles/Community Leader.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/CommunityMember.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/DIST-SUSTAINABILITY-CHAMP.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DC-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/ED-DEPOT-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/ED-FACTORY-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/ED-OFFICE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/ED-SITE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/FIN-SUSTAINABILITY-CHAMP.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOVERNANCE_LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:0.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:1.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:2.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:3.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:4.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:5.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:6.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/GOV_OFFICER:7.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/HR-SUSTAINABILITY-CHAMP.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/IT-SUSTAINABILITY-CHAMP.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/KC-DEPOT-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/KC-OFFICE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/KC-SITE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-DC-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-LAB-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-OFFICE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/LDN-SITE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/MFG-SUSTAINABILITY-CHAMP.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/NY-DC-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/NY-LAB-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/NY-OFFICE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/NY-SITE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentDataScientist.html +0 -122
- pyegeria/commands/tech/work/mermaid_graphs/roles/NewTreatmentResearcher.html +0 -122
- pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-001:ProjectManager.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-002:ProjectManager.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF-003:ProjectManager.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/PROJ-CT-TBDF:ProjectManager.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/RES-SUSTAINABILITY-CHAMP.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/SALES-SUSTAINABILITY-CHAMP.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-LEAD.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/SUSTAINABILITY-TECH-LEAD.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityChampion.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityExecutive.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/SustainabilityLeader.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0001.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0002.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0003.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0004.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0005.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0006.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0007.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0008.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0009.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0010.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0011.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0012.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0013.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0014.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0015.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0016.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0017.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0018.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0019.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0020.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0021.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0022.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0023.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:0024.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2343.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:2373.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3067.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:3082.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4051.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4302.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:4332.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:5656.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6788.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:6877.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:7432.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9657.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9992.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9993.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9994.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9995.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9996.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9997.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9998.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamLeader:Department:9999.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0001.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0002.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0003.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0004.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0005.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0006.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0007.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0008.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0009.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0010.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0011.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0012.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0013.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0014.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0015.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0016.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0017.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0018.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0019.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0020.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0021.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0022.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0023.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:0024.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2343.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:2373.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3067.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:3082.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4051.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4302.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:4332.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:5656.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6788.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:6877.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:7432.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9657.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9992.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9993.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9994.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9995.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9996.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9997.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9998.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/TeamMembers:Department:9999.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DC-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-DEPOT-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-FACTORY-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-OFFICE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/roles/WINCH-SITE-LEADER.html +0 -118
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Subject Onboarding.html +0 -142
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Clinical Trial Treatment Validation.html +0 -222
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Employee Expense Payment.html +0 -133
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Drug Product Information Distribution.html +0 -148
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/New Employee Onboarding.html +0 -145
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Personalized Treatment Ordering.html +0 -150
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Physical Inventory Tracking.html +0 -185
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/Sustainability Reporting.html +0 -210
- pyegeria/commands/tech/work/mermaid_graphs/supply-chains/{{displayName}}.html +0 -122
- pyegeria/test_m.html +0 -213
- pyegeria-5.3.4.7.dev3.dist-info/RECORD +0 -526
- {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/WHEEL +0 -0
- {pyegeria-5.3.4.7.dev3.dist-info → pyegeria-5.3.4.9.dist-info}/entry_points.txt +0 -0
pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Onboarding Pipeline.html
CHANGED
@@ -1,133 +1,158 @@
|
|
1
1
|
|
2
|
-
|
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
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
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: {"flowchart": {"htmlLabels": false}} }%%
|
60
21
|
|
61
|
-
|
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:
|
64
|
-
**Weekly Measurements Onboarding Pipeline
|
65
|
-
07705e15-efff-4f80-8992-f04ac85e0ef1@{ shape: rect, label:
|
66
|
-
**Landing Folder Cataloguer
|
67
|
-
07705e15-efff-4f80-8992-f04ac85e0ef1
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
22
|
+
61cbbf59-3c77-4ae6-bf34-96540fbe5542@{ shape: text, label: "*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.**"}
|
24
|
+
7f5dca65-50b4-4103-9ac7-3a406a09047a@{ shape: subproc, label: "*Solution Component*
|
25
|
+
**Weekly Measurements Onboarding Pipeline**"}
|
26
|
+
07705e15-efff-4f80-8992-f04ac85e0ef1@{ shape: rect, label: "*Solution Component*
|
27
|
+
**Landing Folder Cataloguer**"}
|
28
|
+
07705e15-efff-4f80-8992-f04ac85e0ef1==>|"request onboarding,
|
29
|
+
[Solution Linking Wire]"|7f5dca65-50b4-4103-9ac7-3a406a09047a
|
30
|
+
a5d4d638-6836-47e5-99d0-fdcde637e13f@{ shape: rect, label: "*Solution Component*
|
31
|
+
**Weekly Measurements Data Lake Folder**"}
|
32
|
+
7f5dca65-50b4-4103-9ac7-3a406a09047a==>|"save new files,
|
33
|
+
[Solution Linking Wire]"|a5d4d638-6836-47e5-99d0-fdcde637e13f
|
34
|
+
f37f3735-28a1-4e03-9ff5-3fe2f137f661@{ shape: trap-t, label: "*Solution Actor Role*
|
35
|
+
**Clinical Trial Manager**"}
|
36
|
+
f37f3735-28a1-4e03-9ff5-3fe2f137f661==>|"Steward"|7f5dca65-50b4-4103-9ac7-3a406a09047a
|
37
|
+
b0290339-c96c-4b05-904f-12fc98e54e14@{ shape: trap-t, label: "*Solution Actor Role*
|
38
|
+
**Certified Data Engineer**"}
|
39
|
+
b0290339-c96c-4b05-904f-12fc98e54e14==>|"Steward"|7f5dca65-50b4-4103-9ac7-3a406a09047a
|
40
|
+
04ae768e-3816-47bc-bddb-c9ae25018684@{ shape: hex, label: "*Information Supply Chain Segment*
|
41
|
+
**Hospital Delivers Patient Weekly Readings**"}
|
42
|
+
04ae768e-3816-47bc-bddb-c9ae25018684==>|"InformationSupplyChainLink"|7f5dca65-50b4-4103-9ac7-3a406a09047a
|
43
|
+
1f71e403-1187-4f03-a1dd-ae7dc105f06f@{ shape: flip-tri, label: "*Information Supply Chain*
|
44
|
+
**Clinical Trial Treatment Validation**"}
|
45
|
+
1f71e403-1187-4f03-a1dd-ae7dc105f06f==>|"InformationSupplyChainComposition"|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
|
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
|
-
|
80
|
-
|
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
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
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
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
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
|
|
@@ -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",
|
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",
|
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
|
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",
|
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
|
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
|
-
|
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",
|
3504
|
+
"elementList", NO_TERMS_FOUND
|
3505
3505
|
) # return response.text
|
3506
3506
|
|
3507
3507
|
def find_glossary_terms(
|
pyegeria/mermaid_utilities.py
CHANGED
@@ -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
|
-
|
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
|
-
<
|
227
|
+
<h3 id="{graph_id}-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
|
243
228
|
{escaped_header}
|
244
|
-
</
|
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
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
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
|
-
//
|
268
|
-
|
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 =
|
271
|
-
script.onload =
|
288
|
+
script.src = url;
|
289
|
+
script.onload = callback;
|
272
290
|
document.head.appendChild(script);
|
273
|
-
}}
|
274
|
-
|
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
|
-
|
278
|
-
|
279
|
-
mermaid.
|
280
|
-
|
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
|
-
|
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}
|