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 mode argument to visualize for more compact data or task graph display #187

Merged
merged 11 commits into from
Nov 1, 2024

Conversation

SimonHeybrock
Copy link
Member

@SimonHeybrock SimonHeybrock commented Oct 16, 2024

Here is an before and after for ESSsans' IofQ[SampleRun].
Before:
sciline-vis-before
After:
sciline-vis-after

Fixes #82.

@SimonHeybrock SimonHeybrock marked this pull request as draft October 18, 2024 07:32
@SimonHeybrock SimonHeybrock marked this pull request as ready for review October 18, 2024 08:55
@nvaytet nvaytet self-assigned this Oct 30, 2024
src/sciline/visualize.py Show resolved Hide resolved
)
cluster_connected.append(arg.name)
else:
dot.edge(arg.name, ret_name)
# else: Do not draw dummy providers created by Pipeline when setting instances

Copy link
Member

Choose a reason for hiding this comment

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

I don't think the curved arrows are always better. Comparing the new to old figure, while there are less boxes and duplication in the new figure, I find it harder to follow the arrows.

New:
Screenshot at 2024-10-30 09-25-48

Old:
Screenshot at 2024-10-30 09-26-06

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, why are they curved now?

Copy link
Member Author

Choose a reason for hiding this comment

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

Avoided some, see update.

src/sciline/visualize.py Show resolved Hide resolved
@SimonHeybrock SimonHeybrock merged commit 0d4edca into main Nov 1, 2024
8 checks passed
@SimonHeybrock SimonHeybrock deleted the visualize-modes branch November 1, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Increase graph readability when using parametrized providers
2 participants