Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add graphviz/dash code to visualize ersap configuration yml file #27

Merged
merged 3 commits into from
Dec 14, 2023

Conversation

cissieAB
Copy link
Collaborator

@cissieAB cissieAB commented Dec 1, 2023

Address #13

Given an ERSAP configuration file, it extracts the information about io-services: reader, services and io-services: writer.

Visualize:

  1. with graphviz package. Plot each service's name as a node in the DAG flowchart.
  2. with dash_cytoscape package. This will open a UI at port 8050 (http://127.0.0.1:8050/) and display your configuration there. It enables interactive hover etc but the features are not there yet.

Test

python rtdp.py <ersap_config.ym>
image

@cissieAB cissieAB added the enhancement New feature or request label Dec 1, 2023
@cissieAB cissieAB self-assigned this Dec 4, 2023
Copy link
Contributor

@faustus123 faustus123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a great start

Also add some validation rules for reading the ERSAP yaml configuration file.
@cissieAB cissieAB removed the request for review from gurjyan December 11, 2023 19:00
@cissieAB cissieAB marked this pull request as draft December 12, 2023 21:27
Open a Dash page at port 8050. It's not an interactive page now.
@cissieAB cissieAB marked this pull request as ready for review December 14, 2023 21:52
@cissieAB cissieAB changed the title Add graphviz code to visualize ersap configuration yml file Add graphviz/dash code to visualize ersap configuration yml file Dec 14, 2023
@cissieAB cissieAB merged commit bf01b50 into main Dec 14, 2023
@cissieAB cissieAB deleted the cissie_yml branch December 14, 2023 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants