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

Workflow Visualization #2

Open
9 tasks
henricasanova opened this issue Sep 14, 2022 · 0 comments
Open
9 tasks

Workflow Visualization #2

henricasanova opened this issue Sep 14, 2022 · 0 comments
Assignees

Comments

@henricasanova
Copy link
Owner

henricasanova commented Sep 14, 2022

  • Step 1:

    • Create a simple JavaScript app that runs in a browser and allows WfCommons format JSON file to be uploaded
    • The app should then display some basic information, such as the number of tasks
  • Step 2:

  • Compute all task top-levels (using a simple recursive algorithm), and make it so that we can easily determine the set of tasks that have the same top-level

  • The app should display the number of levels as part of the basic information

  • Step 3:

    • The app should display the workflow visually using cytoscape. The approach is "top-level" by "top-level", and within a level tasks are placed arbitrarily ordered by evenly spaced on the display from left to right
    • Compute and display the number of edge crossings (or an approximation thereof)
  • Step 4:

    • Implement a heuristic to re-order tasks within a level so as to reduce the number of edge crossings. Simple first idea: sort tasks by the average horizontal positions of their parents.
    • Maybe come up with better heuristics
    • Experiment with randomized searches; for instance try out random swaps of vertices in a level and keeping each swap whenever it reduces the number of edge crossings. Do that 1000 times and then give up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants