-
Notifications
You must be signed in to change notification settings - Fork 2
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 _repr_html_
for TaskGraph
#70
Comments
_repr_html_
for Pipeline
and TaskGroup
_repr_html_
for Pipeline
and TaskGraph
What should the html representation for Some suggestions:
|
We should order alphabetically by the type that is provided, the provider names may be of secondary interest. There is also a third case, parameter tables. So a good starting point may be:
Instead of a table with the category in the second column, one could also choose to output in three sections, each with 2 columns (1 and 3 above). I think the main work will be to implement gathering all the info, we can then try different options for representing it? |
Yes, we could list all the dependencies, may indicate with color if it is satisfied? |
Currently We could use some heuristics. Another stricter option would be to treat every zero-arguments anonymous function as a parameter. A third option would be to explicitly store information about what types were provided as parameters and what types were provided as functions. |
We can use the same approach as in the graph visualization code, no tricks or heuristics required (maybe going via a string can be avoided as well): sciline/src/sciline/visualize.py Lines 110 to 114 in f04f65e
|
Reopening since only |
_repr_html_
for Pipeline
and TaskGraph
_repr_html_
for TaskGraph
No description provided.
The text was updated successfully, but these errors were encountered: