pyegeria 5.3.4.14__tar.gz → 5.3.4.16__tar.gz
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-5.3.4.14 → pyegeria-5.3.4.16}/PKG-INFO +1 -1
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/mermaid_utilities.py +46 -28
- pyegeria-5.3.4.16/pyegeria/test_m.html +259 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyproject.toml +1 -1
- pyegeria-5.3.4.14/pyegeria/test_m.html +0 -243
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/LICENSE +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/README.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/README.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/__init__.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/_client.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/_exceptions.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/_globals.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/_validators.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/automated_curation_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/classification_manager_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/collection_manager_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/README.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/__init__.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/README.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/__init__.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/exp_list_glossaries.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/get_asset_graph.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/get_collection.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/get_project_dependencies.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/get_project_structure.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/get_tech_type_elements.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/glossary_actions.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_assets.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_cert_types.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_collections.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_deployed_catalogs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_deployed_database_schemas.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_deployed_databases.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_deployed_servers.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_glossaries.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_projects.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_tech_type_elements.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_tech_types.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_terms.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_todos.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cat/list_user_ids.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cli/__init__.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cli/egeria.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cli/egeria_cat.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cli/egeria_login_tui.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cli/egeria_my.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cli/egeria_ops.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cli/egeria_tech.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cli/ops_config.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/cli/txt_custom_v2.tcss +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/README.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/README.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/asset-graph 2024-11-20 at 15.56.42.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/assets-in-domain 2024-11-20 at 15.49.55@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/elements-of-type 2024-11-20 at 16.01.35.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/assets/tech-type-elements 2024-11-20 at 16.05.05.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs 2024-12-17 at 15.43.27@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-data-catalogs-2024-11-20 at 16.17.43@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-11-25 at 20.14.50@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-schemas 2024-12-17 at 15.48.38@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-11-25 at 20.21.25@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed-servers 2024-12-17 at 15.52.16@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/deployed-data/deployed_databases 2024-12-16 at 16.40.31@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-glossaries 2024-11-25 at 20.30.02.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/glossary/list-terms 2024-11-25 at 20.32.11.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/asset-types 2024-11-25 at 20.34.19@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/certification-types 2024-11-25 at 20.37.07.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/collection-graph 2024-12-12 at 11.33.18@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-collections 2024-12-10 at 14.25.51@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-todos 2024-12-12 at 11.46.30@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/list-user-ids 2024-12-12 at 11.51.09@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/info/tech-types 2024-12-12 at 11.37.20@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_dependencies 2024-12-14 at 16.24.39@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/projects/project_structure 2024-12-14 at 16.21.35@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/cat/show/projects/projects 2024-12-14 at 16.18.10@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/hey_egeria tui 2024-12-16 at 16.58.22@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/my/show/my_profile 2024-12-14 at 16.29.27@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/my/show/my_roles 2024-12-14 at 16.32.10@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/my/show/my_todos 2024-12-15 at 16.24.13@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/my/show/open_todos 2024-12-14 at 16.36.12@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/list_engine_activity compressed 2024-12-15 at 16.48.48@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity 2024-12-15 at 16.32.55@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_activity compressed 2024-12-15 at 16.38.29@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/ops/show/engines/monitor_engine_status 2024-12-15 at 16.51.26.jpeg +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_daemon_status 2024-12-15 at 16.57.12@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/ops/show/integrations/monitor_integration_targets 2024-12-15 at 17.02.19@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/ops/show/platforms/monitor_platform_status 2024-12-15 at 19.53.18@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status 2024-12-15 at 19.59.39@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_server_status full 2024-12-15 at 20.01.57@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/ops/show/servers/monitor_startup_servers 2024-12-15 at 19.56.07@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_anchored_elements 2024-12-15 at 21.25.41@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/get_elements_of_om_type 2024-12-16 at 14.39.59@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/info_for_guid 2024-12-16 at 11.35.29@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type 2024-12-16 at 14.24.18@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_by_om-type extended 2024-12-16 at 14.28.46@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/list_elements_of_om_type_by_classification 2024-12-16 at 14.35.26@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/related_elements 2024-12-16 at 14.55.01@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/elements/show_related_specifications 2024-12-16 at 15.04.55@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/asset_types 2024-12-16 at 15.10.16@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/detailed_governance_action_processes 2024-12-16 at 15.16.26@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/governance_action_processes 2024-12-16 at 15.13.01@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/registered_services 2024-12-16 at 16.44.54@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-16 at 16.20.34@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/relationship_types 2024-12-19 at 10.51.54@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-info/valid_metadata_values 2024-12-16 at 15.31.56@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_tech_type_template_specs 2024-12-16 at 16.03.22@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/list_technology_types 2024-12-16 at 15.39.20@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_details 2024-12-16 at 15.37.21@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/Visual Command Reference/tech/show/tech-types/tech_type_templates 2024-12-16 at 16.11.48@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/basic-glossary-tui.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/delete-glossary-step1 2024-11-06 at 15.47.23@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/delete-glossary-step2 2024-11-06 at 15.51.29@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/delete-glossary-step3 2024-11-06 at 15.53.19@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/delete-glossary-step4 2024-11-06 at 15.55.11@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-create-glossary example 2024-11-05 at 20.38.04@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-create-term 2024-11-06 at 20.48.29.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-delete-term 2024-11-07 at 03.57.25.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-display-terms-for-glossary-test 2024-11-06 at 20.51.28.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-export-example 2024-11-07 at 09.54.57.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-exported-terms 2024-11-06 at 21.06.32.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-glossary-list example 2024-11-05 at 20.41.02@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-import-terms 2024-11-07 at 08.15.18.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-list-all-terms 2024-11-06 at 16.22.20@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-list-terms-for-example 2024-11-06 at 16.40.12.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-list-terms-second 2024-11-06 at 16.45.13.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-pipx install pyegeria 2024-11-10 at 18.12.21.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-server-status-full 2024-11-10 at 18.25.14.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-servers-status 2024-11-10 at 18.15.42.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/out-upsert-import 2024-11-07 at 19.37.00.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-2024-11-10 at 18.26.29.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-create-glossary example 2024-11-05 at 20.34.24@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-create-term 2024-11-06 at 20.46.35.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-delete-term 2024-11-07 at 03.51.57.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-display-terms-for-example 2024-11-06 at 20.56.49.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-export-example 2024-11-07 at 09.52.59.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-hey-egeria 2024-11-10 at 18.31.01.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-import-upsert-example 2024-11-07 at 10.08.37.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-list-terms-second 2024-11-06 at 16.46.34.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-load-archive.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-server-status-full 2024-11-10 at 19.14.36.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-show-glossaries 2024-11-07 at 20.00.05.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-show-glossary-terms 2024-11-05 at 19.37.53@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/tui-upsert 2024-11-07 at 11.49.04.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/glossary/images/upsert-example.om-terms 2024-11-07 at 11.44.05.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/README.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/CleanShot 2024-11-18 at 21.32.03@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731421782704.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/Xmind 1731422134920.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria 2024-11-12 at 20.38.43.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/hey_egeria cat 2024-11-12 at 21.41.43.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-list 2024-11-12 at 16.45.26.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-integ-status-live 2024-11-12 at 16.44.12@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status 2024-11-10 at 18.15.42@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/out-server-status-full 2024-11-10 at 18.25.14@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/short-cut commands 2024-11-12 at 22.22.13.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-hey-egeria.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-integration-status-paging.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-load-archive 2024-11-10 at 19.19.09@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status 2024-11-10 at 18.52.01@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-show-server-status-full 2024-11-10.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/doc/hey_egeria: a pyegeria command line interface/images/tui-status-paging 2024-11-12 at 16.26.14@2x.png +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/my/README.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/my/__init__.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/my/list_my_profile.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/my/list_my_roles.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/my/monitor_my_todos.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/my/monitor_open_todos.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/my/todo_actions.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/README.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/__init__.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/gov_server_actions.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/list_archives.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/list_catalog_targets.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/load_archive.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/monitor_asset_events.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/monitor_engine_activity.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/monitor_engine_activity_c.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/monitor_gov_eng_status.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/monitor_integ_daemon_status.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/monitor_platform_status.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/monitor_server_startup.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/monitor_server_status.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/orig_monitor_server_list.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/orig_monitor_server_status.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/refresh_integration_daemon.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/restart_integration_daemon.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/table_integ_daemon_status.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/ops/x_engine_actions.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/README.md +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/__init__.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/get_element_info.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/get_guid_info.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/get_tech_details.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/get_tech_type_template.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_all_om_type_elements.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_all_om_type_elements_x.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_all_related_elements.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_anchored_elements.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_asset_types.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_elements_by_classification_by_property_value.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_elements_by_property_value.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_elements_by_property_value_x.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_elements_for_classification.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_gov_action_processes.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_information_supply_chains.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_registered_services.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_related_elements_with_prop_value.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_related_specification.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_relationship_types.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_relationships.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_solution_blueprints.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_solution_components.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_solution_roles.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_tech_templates.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/list_valid_metadata_values.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/table_tech_templates.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Accounting ledgers.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Analyse Patient Data.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Assemble Treatment Assessment Report.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Certify Hospital.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Employee Expense Tool.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Goods Inventory.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Hazardous Materials (HazMat) Inventory.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Landing Area Folder.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Hospital Processes.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Landing Folder Cataloguer.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Nominate Hospital.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Onboard Hospital.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Populate Sandbox.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Set up Data Lake Folder.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Set up clinical trial.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Calculators.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Dashboards.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Sustainability Operational Data Store (ODS).html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Assessment Report Validation and Delivery.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Efficacy Evidence.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Treatment Validation Sandbox.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Data Lake Folder.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/work/mermaid_graphs/components/Weekly Measurements Onboarding Pipeline.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/commands/tech/x_list_related_elements.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/egeria_cat_client.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/egeria_client.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/egeria_config_client.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/egeria_my_client.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/egeria_tech_client.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/feedback_manager_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/glossary_browser_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/glossary_manager_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/m_test.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/metadata_explorer_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/platform_services.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/project_manager_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/registered_info.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/server_operations.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/solution_architect_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/template_manager_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/test_m1.html +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/test_mer.ipynb +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/utils.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/valid_metadata_omvs.py +0 -0
- {pyegeria-5.3.4.14 → pyegeria-5.3.4.16}/pyegeria/x_action_author_omvs.py +0 -0
@@ -223,7 +223,7 @@ def construct_mermaid_html(mermaid_str: str) -> str:
|
|
223
223
|
"""
|
224
224
|
title_label, guid, mermaid_code = parse_mermaid_code(mermaid_str)
|
225
225
|
|
226
|
-
graph_id = f"mermaid-graph-{guid}"
|
226
|
+
graph_id = f"mermaid-graph-{guid}-{str(uuid.uuid4())[:4]}"
|
227
227
|
escaped_header = html.escape(title_label) if title_label else "" # Sanitize the header safely
|
228
228
|
escaped_mermaid_code = html.escape(mermaid_code)
|
229
229
|
header_html = f"""
|
@@ -236,18 +236,16 @@ def construct_mermaid_html(mermaid_str: str) -> str:
|
|
236
236
|
""" if title_label else ""
|
237
237
|
|
238
238
|
html_content = f"""
|
239
|
-
|
240
|
-
/* Style the diagram container */
|
239
|
+
<style>
|
241
240
|
.diagram-container {{
|
242
241
|
position: relative;
|
243
242
|
width: 90%; /* Adjust container width */
|
244
243
|
height: 500px; /* Fixed height */
|
245
|
-
margin:
|
244
|
+
margin: 20px auto;
|
246
245
|
border: 1px solid #ccc;
|
247
246
|
overflow: hidden; /* Prevents content overflow */
|
248
247
|
}}
|
249
248
|
|
250
|
-
/* Style custom zoom controls */
|
251
249
|
.svg-pan-zoom-controls {{
|
252
250
|
position: absolute;
|
253
251
|
top: 10px;
|
@@ -255,7 +253,7 @@ def construct_mermaid_html(mermaid_str: str) -> str:
|
|
255
253
|
display: flex;
|
256
254
|
flex-direction: column;
|
257
255
|
gap: 5px;
|
258
|
-
z-index: 10;
|
256
|
+
z-index: 10;
|
259
257
|
}}
|
260
258
|
|
261
259
|
.svg-pan-zoom-controls button {{
|
@@ -273,23 +271,17 @@ def construct_mermaid_html(mermaid_str: str) -> str:
|
|
273
271
|
</style>
|
274
272
|
|
275
273
|
<div id="{graph_id}-container" class="diagram-container">
|
276
|
-
<!-- Title/Heading (optional; include as needed) -->
|
277
274
|
{header_html}
|
278
|
-
<!-- Mermaid rendering area -->
|
279
275
|
<div id="{graph_id}" class="mermaid">
|
280
|
-
{
|
276
|
+
{escaped_mermaid_code}
|
281
277
|
</div>
|
282
278
|
</div>
|
283
279
|
|
284
|
-
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
285
|
-
<script src="https://cdn.jsdelivr.net/npm/svg-pan-zoom@3.6.1/dist/svg-pan-zoom.min.js"></script>
|
286
|
-
|
287
280
|
<script>
|
288
281
|
(function() {{
|
289
282
|
const graph_id = "{graph_id}";
|
290
|
-
let panZoomInstance; //
|
283
|
+
let panZoomInstance; // Reference for svg-pan-zoom instance
|
291
284
|
|
292
|
-
// Function to initialize Mermaid
|
293
285
|
function initializeMermaid(graph_id) {{
|
294
286
|
const container = document.getElementById(`${{graph_id}}-container`);
|
295
287
|
const diagram = document.getElementById(`${{graph_id}}`);
|
@@ -303,15 +295,16 @@ def construct_mermaid_html(mermaid_str: str) -> str:
|
|
303
295
|
mermaid.initialize({{ startOnLoad: false }});
|
304
296
|
mermaid.init(undefined, diagram);
|
305
297
|
|
306
|
-
// Set a small delay to allow Mermaid rendering to complete
|
298
|
+
// Set a small delay to allow Mermaid rendering to complete
|
307
299
|
setTimeout(() => {{
|
308
300
|
const svg = container.querySelector("svg");
|
301
|
+
|
309
302
|
if (!svg) {{
|
310
303
|
console.error(`SVG not found for graph ID "${{graph_id}}"`);
|
311
304
|
return;
|
312
305
|
}}
|
313
306
|
|
314
|
-
// Force
|
307
|
+
// Force SVG to fit the container
|
315
308
|
svg.setAttribute("width", "100%");
|
316
309
|
svg.setAttribute("height", "100%");
|
317
310
|
svg.setAttribute("preserveAspectRatio", "xMidYMid meet");
|
@@ -322,10 +315,10 @@ def construct_mermaid_html(mermaid_str: str) -> str:
|
|
322
315
|
svg.setAttribute("viewBox", `0 0 ${{bbox.width}} ${{bbox.height}}`);
|
323
316
|
}}
|
324
317
|
|
325
|
-
// Initialize Pan-Zoom
|
318
|
+
// Initialize Pan-Zoom
|
326
319
|
panZoomInstance = svgPanZoom(svg, {{
|
327
320
|
zoomEnabled: true,
|
328
|
-
controlIconsEnabled: false, //
|
321
|
+
controlIconsEnabled: false, // Custom controls
|
329
322
|
fit: true,
|
330
323
|
center: true,
|
331
324
|
contain: true,
|
@@ -333,7 +326,7 @@ def construct_mermaid_html(mermaid_str: str) -> str:
|
|
333
326
|
maxZoom: 10
|
334
327
|
}});
|
335
328
|
|
336
|
-
// Add
|
329
|
+
// Add controls
|
337
330
|
const controlsContainer = document.createElement("div");
|
338
331
|
controlsContainer.className = "svg-pan-zoom-controls";
|
339
332
|
controlsContainer.innerHTML = `
|
@@ -343,7 +336,7 @@ def construct_mermaid_html(mermaid_str: str) -> str:
|
|
343
336
|
`;
|
344
337
|
container.appendChild(controlsContainer);
|
345
338
|
|
346
|
-
//
|
339
|
+
// Attach control event listeners
|
347
340
|
document.getElementById(`${{graph_id}}-zoom-in`).addEventListener("click", () => {{
|
348
341
|
if (panZoomInstance) panZoomInstance.zoomIn();
|
349
342
|
}});
|
@@ -356,21 +349,46 @@ def construct_mermaid_html(mermaid_str: str) -> str:
|
|
356
349
|
panZoomInstance.center();
|
357
350
|
}}
|
358
351
|
}});
|
359
|
-
}}, 500); // Delay
|
352
|
+
}}, 500); // Delay for Mermaid and SVG rendering
|
360
353
|
}}
|
361
354
|
|
362
|
-
//
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
355
|
+
// Check if Mermaid and SVG-Pan-Zoom are loaded
|
356
|
+
const loadMermaid = typeof mermaid === "undefined";
|
357
|
+
const loadSvgPanZoom = typeof svgPanZoom === "undefined";
|
358
|
+
|
359
|
+
if (loadMermaid || loadSvgPanZoom) {{
|
360
|
+
const promises = [];
|
361
|
+
|
362
|
+
// Load Mermaid.js if not already loaded
|
363
|
+
if (loadMermaid) {{
|
364
|
+
promises.push(new Promise((resolve) => {{
|
365
|
+
const script = document.createElement("script");
|
366
|
+
script.src = "https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js";
|
367
|
+
script.onload = resolve;
|
368
|
+
document.head.appendChild(script);
|
369
|
+
}}));
|
370
|
+
}}
|
371
|
+
|
372
|
+
// Load SVG-Pan-Zoom if not already loaded
|
373
|
+
if (loadSvgPanZoom) {{
|
374
|
+
promises.push(new Promise((resolve) => {{
|
375
|
+
const script = document.createElement("script");
|
376
|
+
script.src = "https://cdn.jsdelivr.net/npm/svg-pan-zoom@3.6.1/dist/svg-pan-zoom.min.js";
|
377
|
+
script.onload = resolve;
|
378
|
+
document.head.appendChild(script);
|
379
|
+
}}));
|
380
|
+
}}
|
381
|
+
|
382
|
+
Promise.all(promises).then(() => initializeMermaid(graph_id));
|
368
383
|
}} else {{
|
369
384
|
initializeMermaid(graph_id);
|
370
385
|
}}
|
371
386
|
}})();
|
372
387
|
</script>
|
373
|
-
|
388
|
+
|
389
|
+
"""
|
390
|
+
|
391
|
+
|
374
392
|
|
375
393
|
|
376
394
|
return html_content
|
@@ -0,0 +1,259 @@
|
|
1
|
+
|
2
|
+
<style>
|
3
|
+
.diagram-container {
|
4
|
+
position: relative;
|
5
|
+
width: 90%; /* Adjust container width */
|
6
|
+
height: 500px; /* Fixed height */
|
7
|
+
margin: 20px auto;
|
8
|
+
border: 1px solid #ccc;
|
9
|
+
overflow: hidden; /* Prevents content overflow */
|
10
|
+
}
|
11
|
+
|
12
|
+
.svg-pan-zoom-controls {
|
13
|
+
position: absolute;
|
14
|
+
top: 10px;
|
15
|
+
right: 10px;
|
16
|
+
display: flex;
|
17
|
+
flex-direction: column;
|
18
|
+
gap: 5px;
|
19
|
+
z-index: 10;
|
20
|
+
}
|
21
|
+
|
22
|
+
.svg-pan-zoom-controls button {
|
23
|
+
background-color: #007bff;
|
24
|
+
color: white;
|
25
|
+
border: none;
|
26
|
+
padding: 5px 10px;
|
27
|
+
border-radius: 3px;
|
28
|
+
cursor: pointer;
|
29
|
+
font-size: 14px;
|
30
|
+
}
|
31
|
+
.svg-pan-zoom-controls button:hover {
|
32
|
+
background-color: #0056b3;
|
33
|
+
}
|
34
|
+
</style>
|
35
|
+
|
36
|
+
<div id="mermaid-graph-c4f8d707-7c85-4125-b5fd-c3257a2ef2ef-1569-container" class="diagram-container">
|
37
|
+
|
38
|
+
<h3 id="mermaid-graph-c4f8d707-7c85-4125-b5fd-c3257a2ef2ef-1569-heading" style="margin: 20px 0; font-size: 1.5em; text-align: center;">
|
39
|
+
Component for Solution Blueprint - Clinical Trial Management Solution Blueprint
|
40
|
+
</h3>
|
41
|
+
<p id="mermaid-graph-c4f8d707-7c85-4125-b5fd-c3257a2ef2ef-1569-subheading" style="margin: 0; padding: 5px; font-size: 1em; text-align: center; color: gray; flex: 0 0 auto;">
|
42
|
+
GUID: c4f8d707-7c85-4125-b5fd-c3257a2ef2ef
|
43
|
+
</p>
|
44
|
+
|
45
|
+
<div id="mermaid-graph-c4f8d707-7c85-4125-b5fd-c3257a2ef2ef-1569" class="mermaid">
|
46
|
+
flowchart TD
|
47
|
+
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
48
|
+
|
49
|
+
subgraph c4f8d707-7c85-4125-b5fd-c3257a2ef2ef [Components and Actors]
|
50
|
+
fc2de77f-7320-48ea-8750-d434c6e870db@{ shape: text, label: "*Description*
|
51
|
+
**A description of how a clinical trial is managed in Coco Pharmaceuticals.**"}
|
52
|
+
37b8560d-84d4-434b-9b0d-105420fcc924@{ shape: subproc, label: "*Solution Component*
|
53
|
+
**Certify Hospital**"}
|
54
|
+
f37f3735-28a1-4e03-9ff5-3fe2f137f661@{ shape: trap-t, label: "*Solution Actor Role*
|
55
|
+
**Clinical Trial Manager**"}
|
56
|
+
f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Certifier"|37b8560d-84d4-434b-9b0d-105420fcc924
|
57
|
+
72a86eec-9734-4bc0-babb-4fec0aa7c9ff@{ shape: docs, label: "*Solution Component*
|
58
|
+
**Assemble Treatment Assessment Report**"}
|
59
|
+
48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5@{ shape: rect, label: "*Solution Component*
|
60
|
+
**Treatment Efficacy Evidence**"}
|
61
|
+
48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5-->|"Solution Linking Wire"|72a86eec-9734-4bc0-babb-4fec0aa7c9ff
|
62
|
+
f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Author"|72a86eec-9734-4bc0-babb-4fec0aa7c9ff
|
63
|
+
b5c8da4c-f925-4cf1-8294-e43cd2c1a584@{ shape: rect, label: "*Solution Component*
|
64
|
+
**Analyse Patient Data**"}
|
65
|
+
b5c8da4c-f925-4cf1-8294-e43cd2c1a584-->|"Solution Linking Wire"|48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5
|
66
|
+
7f5dca65-50b4-4103-9ac7-3a406a09047a@{ shape: subproc, label: "*Solution Component*
|
67
|
+
**Weekly Measurements Onboarding Pipeline**"}
|
68
|
+
07705e15-efff-4f80-8992-f04ac85e0ef1@{ shape: rect, label: "*Solution Component*
|
69
|
+
**Landing Folder Cataloguer**"}
|
70
|
+
07705e15-efff-4f80-8992-f04ac85e0ef1-->|"Solution Linking Wire"|7f5dca65-50b4-4103-9ac7-3a406a09047a
|
71
|
+
f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Steward"|7f5dca65-50b4-4103-9ac7-3a406a09047a
|
72
|
+
b0290339-c96c-4b05-904f-12fc98e54e14@{ shape: trap-t, label: "*Solution Actor Role*
|
73
|
+
**Certified Data Engineer**"}
|
74
|
+
b0290339-c96c-4b05-904f-12fc98e54e14-->|"Steward"|7f5dca65-50b4-4103-9ac7-3a406a09047a
|
75
|
+
d48f579f-76d3-4c49-b1b4-575f5645a9d0@{ shape: lin-cyl, label: "*Solution Component*
|
76
|
+
**Treatment Validation Sandbox**"}
|
77
|
+
26c07ca4-3b8e-484b-812b-36c1ace4b275@{ shape: rect, label: "*Solution Component*
|
78
|
+
**Populate Sandbox**"}
|
79
|
+
26c07ca4-3b8e-484b-812b-36c1ace4b275-->|"Solution Linking Wire"|d48f579f-76d3-4c49-b1b4-575f5645a9d0
|
80
|
+
ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec@{ shape: processes, label: "*Solution Component*
|
81
|
+
**Hospital Processes**"}
|
82
|
+
a8bd84ca-0aae-4534-b0e8-87e8659467a6@{ shape: trap-t, label: "*Solution Actor Role*
|
83
|
+
**Clinical Trial Participating Hospital Coordinator**"}
|
84
|
+
a8bd84ca-0aae-4534-b0e8-87e8659467a6-->|"Coordinator on behalf of hospital"|ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
|
85
|
+
30adaab5-8870-47a8-8ae9-facbf84cb05a@{ shape: trap-t, label: "*Solution Actor Role*
|
86
|
+
**Clinical Trial Participating Hospital**"}
|
87
|
+
30adaab5-8870-47a8-8ae9-facbf84cb05a-->|"Owner"|ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec
|
88
|
+
d48f579f-76d3-4c49-b1b4-575f5645a9d0-->|"Solution Linking Wire"|b5c8da4c-f925-4cf1-8294-e43cd2c1a584
|
89
|
+
ece17806-836c-4756-b3a2-2d12dde215f6@{ shape: trap-t, label: "*Solution Actor Role*
|
90
|
+
**New Treatment Data Scientist**"}
|
91
|
+
ece17806-836c-4756-b3a2-2d12dde215f6-->|"Data Analyser"|b5c8da4c-f925-4cf1-8294-e43cd2c1a584
|
92
|
+
0c757e35-8a42-4d5f-b01b-c72a6cea65cc@{ shape: trap-t, label: "*Solution Actor Role*
|
93
|
+
**New Treatment Researcher.**"}
|
94
|
+
0c757e35-8a42-4d5f-b01b-c72a6cea65cc-->|"Results Interpreter"|b5c8da4c-f925-4cf1-8294-e43cd2c1a584
|
95
|
+
e9c2f911-ffcb-40c6-aeee-8c4d43811576@{ shape: subproc, label: "*Solution Component*
|
96
|
+
**Onboard Hospital**"}
|
97
|
+
b0290339-c96c-4b05-904f-12fc98e54e14-->|"Initiator"|e9c2f911-ffcb-40c6-aeee-8c4d43811576
|
98
|
+
849b0b42-f465-452b-813c-477d6398e082@{ shape: subproc, label: "*Solution Component*
|
99
|
+
**Set up clinical trial**"}
|
100
|
+
f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Initiator"|849b0b42-f465-452b-813c-477d6398e082
|
101
|
+
a5d4d638-6836-47e5-99d0-fdcde637e13f@{ shape: lin-cyl, label: "*Solution Component*
|
102
|
+
**Weekly Measurements Data Lake Folder**"}
|
103
|
+
7f5dca65-50b4-4103-9ac7-3a406a09047a-->|"Solution Linking Wire"|a5d4d638-6836-47e5-99d0-fdcde637e13f
|
104
|
+
0bf2547c-937c-41b6-814f-6284849271a1@{ shape: odd, label: "*Solution Component*
|
105
|
+
**Treatment Assessment Report Validation and Delivery**"}
|
106
|
+
72a86eec-9734-4bc0-babb-4fec0aa7c9ff-->|"Solution Linking Wire"|0bf2547c-937c-41b6-814f-6284849271a1
|
107
|
+
f6bc847b-868d-43cc-b767-41f5fe3e47d1@{ shape: trap-t, label: "*Solution Actor Role*
|
108
|
+
**Clinical Trial Sponsor**"}
|
109
|
+
f6bc847b-868d-43cc-b767-41f5fe3e47d1-->|"Reviewer"|0bf2547c-937c-41b6-814f-6284849271a1
|
110
|
+
a5d4d638-6836-47e5-99d0-fdcde637e13f-->|"Solution Linking Wire"|26c07ca4-3b8e-484b-812b-36c1ace4b275
|
111
|
+
fb32bef2-e79f-4893-b500-2e547f24d482@{ shape: subproc, label: "*Solution Component*
|
112
|
+
**Set up Data Lake Folder**"}
|
113
|
+
b0290339-c96c-4b05-904f-12fc98e54e14-->|"Initiator"|fb32bef2-e79f-4893-b500-2e547f24d482
|
114
|
+
1c150d6e-30cf-481c-9afb-3b06c9c9e78f@{ shape: lin-cyl, label: "*Solution Component*
|
115
|
+
**Hospital Landing Area Folder**"}
|
116
|
+
ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec-->|"Solution Linking Wire"|1c150d6e-30cf-481c-9afb-3b06c9c9e78f
|
117
|
+
1c150d6e-30cf-481c-9afb-3b06c9c9e78f-->|"Solution Linking Wire"|07705e15-efff-4f80-8992-f04ac85e0ef1
|
118
|
+
11c7c850-c67c-41cc-9423-d74db47cbf3a@{ shape: subproc, label: "*Solution Component*
|
119
|
+
**Nominate Hospital**"}
|
120
|
+
f37f3735-28a1-4e03-9ff5-3fe2f137f661-->|"Initiator"|11c7c850-c67c-41cc-9423-d74db47cbf3a
|
121
|
+
end
|
122
|
+
style 48bc201e-3d4e-4beb-bdb2-0fd9d134f6d5 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
123
|
+
style ece17806-836c-4756-b3a2-2d12dde215f6 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
|
124
|
+
style e9c2f911-ffcb-40c6-aeee-8c4d43811576 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
125
|
+
style a5d4d638-6836-47e5-99d0-fdcde637e13f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
126
|
+
style 0bf2547c-937c-41b6-814f-6284849271a1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
127
|
+
style 30adaab5-8870-47a8-8ae9-facbf84cb05a color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
|
128
|
+
style b0290339-c96c-4b05-904f-12fc98e54e14 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
|
129
|
+
style 26c07ca4-3b8e-484b-812b-36c1ace4b275 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
130
|
+
style 1c150d6e-30cf-481c-9afb-3b06c9c9e78f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
131
|
+
style 07705e15-efff-4f80-8992-f04ac85e0ef1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
132
|
+
style a8bd84ca-0aae-4534-b0e8-87e8659467a6 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
|
133
|
+
style 0c757e35-8a42-4d5f-b01b-c72a6cea65cc color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
|
134
|
+
style c4f8d707-7c85-4125-b5fd-c3257a2ef2ef color:#3079ab, fill:#b7c0c7, stroke:#3079ab
|
135
|
+
style 37b8560d-84d4-434b-9b0d-105420fcc924 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
136
|
+
style 11c7c850-c67c-41cc-9423-d74db47cbf3a color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
137
|
+
style fc2de77f-7320-48ea-8750-d434c6e870db color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
138
|
+
style 849b0b42-f465-452b-813c-477d6398e082 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
139
|
+
style 7f5dca65-50b4-4103-9ac7-3a406a09047a color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
140
|
+
style ee2bb773-e630-4cf9-bdf1-7c2dd64fe4ec color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
141
|
+
style 72a86eec-9734-4bc0-babb-4fec0aa7c9ff color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
142
|
+
style b5c8da4c-f925-4cf1-8294-e43cd2c1a584 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
143
|
+
style f6bc847b-868d-43cc-b767-41f5fe3e47d1 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
|
144
|
+
style d48f579f-76d3-4c49-b1b4-575f5645a9d0 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
145
|
+
style f37f3735-28a1-4e03-9ff5-3fe2f137f661 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
|
146
|
+
style fb32bef2-e79f-4893-b500-2e547f24d482 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
147
|
+
</div>
|
148
|
+
</div>
|
149
|
+
|
150
|
+
<script>
|
151
|
+
(function() {
|
152
|
+
const graph_id = "mermaid-graph-c4f8d707-7c85-4125-b5fd-c3257a2ef2ef-1569";
|
153
|
+
let panZoomInstance; // Reference for svg-pan-zoom instance
|
154
|
+
|
155
|
+
function initializeMermaid(graph_id) {
|
156
|
+
const container = document.getElementById(`${graph_id}-container`);
|
157
|
+
const diagram = document.getElementById(`${graph_id}`);
|
158
|
+
|
159
|
+
if (!container || !diagram) {
|
160
|
+
console.error(`Container or diagram not found for ID "${graph_id}"`);
|
161
|
+
return;
|
162
|
+
}
|
163
|
+
|
164
|
+
// Initialize Mermaid
|
165
|
+
mermaid.initialize({ startOnLoad: false });
|
166
|
+
mermaid.init(undefined, diagram);
|
167
|
+
|
168
|
+
// Set a small delay to allow Mermaid rendering to complete
|
169
|
+
setTimeout(() => {
|
170
|
+
const svg = container.querySelector("svg");
|
171
|
+
|
172
|
+
if (!svg) {
|
173
|
+
console.error(`SVG not found for graph ID "${graph_id}"`);
|
174
|
+
return;
|
175
|
+
}
|
176
|
+
|
177
|
+
// Force SVG to fit the container
|
178
|
+
svg.setAttribute("width", "100%");
|
179
|
+
svg.setAttribute("height", "100%");
|
180
|
+
svg.setAttribute("preserveAspectRatio", "xMidYMid meet");
|
181
|
+
svg.style.display = "block";
|
182
|
+
|
183
|
+
if (!svg.hasAttribute("viewBox")) {
|
184
|
+
const bbox = svg.getBBox();
|
185
|
+
svg.setAttribute("viewBox", `0 0 ${bbox.width} ${bbox.height}`);
|
186
|
+
}
|
187
|
+
|
188
|
+
// Initialize Pan-Zoom
|
189
|
+
panZoomInstance = svgPanZoom(svg, {
|
190
|
+
zoomEnabled: true,
|
191
|
+
controlIconsEnabled: false, // Custom controls
|
192
|
+
fit: true,
|
193
|
+
center: true,
|
194
|
+
contain: true,
|
195
|
+
minZoom: 0.5,
|
196
|
+
maxZoom: 10
|
197
|
+
});
|
198
|
+
|
199
|
+
// Add controls
|
200
|
+
const controlsContainer = document.createElement("div");
|
201
|
+
controlsContainer.className = "svg-pan-zoom-controls";
|
202
|
+
controlsContainer.innerHTML = `
|
203
|
+
<button type="button" id="${graph_id}-zoom-in">+</button>
|
204
|
+
<button type="button" id="${graph_id}-zoom-out">-</button>
|
205
|
+
<button type="button" id="${graph_id}-reset">Reset</button>
|
206
|
+
`;
|
207
|
+
container.appendChild(controlsContainer);
|
208
|
+
|
209
|
+
// Attach control event listeners
|
210
|
+
document.getElementById(`${graph_id}-zoom-in`).addEventListener("click", () => {
|
211
|
+
if (panZoomInstance) panZoomInstance.zoomIn();
|
212
|
+
});
|
213
|
+
document.getElementById(`${graph_id}-zoom-out`).addEventListener("click", () => {
|
214
|
+
if (panZoomInstance) panZoomInstance.zoomOut();
|
215
|
+
});
|
216
|
+
document.getElementById(`${graph_id}-reset`).addEventListener("click", () => {
|
217
|
+
if (panZoomInstance) {
|
218
|
+
panZoomInstance.resetZoom();
|
219
|
+
panZoomInstance.center();
|
220
|
+
}
|
221
|
+
});
|
222
|
+
}, 500); // Delay for Mermaid and SVG rendering
|
223
|
+
}
|
224
|
+
|
225
|
+
// Check if Mermaid and SVG-Pan-Zoom are loaded
|
226
|
+
const loadMermaid = typeof mermaid === "undefined";
|
227
|
+
const loadSvgPanZoom = typeof svgPanZoom === "undefined";
|
228
|
+
|
229
|
+
if (loadMermaid || loadSvgPanZoom) {
|
230
|
+
const promises = [];
|
231
|
+
|
232
|
+
// Load Mermaid.js if not already loaded
|
233
|
+
if (loadMermaid) {
|
234
|
+
promises.push(new Promise((resolve) => {
|
235
|
+
const script = document.createElement("script");
|
236
|
+
script.src = "https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js";
|
237
|
+
script.onload = resolve;
|
238
|
+
document.head.appendChild(script);
|
239
|
+
}));
|
240
|
+
}
|
241
|
+
|
242
|
+
// Load SVG-Pan-Zoom if not already loaded
|
243
|
+
if (loadSvgPanZoom) {
|
244
|
+
promises.push(new Promise((resolve) => {
|
245
|
+
const script = document.createElement("script");
|
246
|
+
script.src = "https://cdn.jsdelivr.net/npm/svg-pan-zoom@3.6.1/dist/svg-pan-zoom.min.js";
|
247
|
+
script.onload = resolve;
|
248
|
+
document.head.appendChild(script);
|
249
|
+
}));
|
250
|
+
}
|
251
|
+
|
252
|
+
Promise.all(promises).then(() => initializeMermaid(graph_id));
|
253
|
+
} else {
|
254
|
+
initializeMermaid(graph_id);
|
255
|
+
}
|
256
|
+
})();
|
257
|
+
</script>
|
258
|
+
|
259
|
+
|