Code Monkey home page Code Monkey logo

eduwrench_ics496_fall2022's People

Contributors

cheolhoon avatar dependabot[bot] avatar derrickluyen avatar gjethwani avatar glatard avatar henricasanova avatar jwfeuerstein avatar rafaelfsilva avatar ryvami avatar vivianzzhu91 avatar willkoch avatar

Stargazers

 avatar

Watchers

 avatar

eduwrench_ics496_fall2022's Issues

Workflow Visualization

  • 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.

Update the "Modules" page

Goal: provide a visual "prereq structure" of the module
Approach:

  • Add a .yml file to web/src/data/ that "encodes" the prereq structure using whatever fields (number, title, description, level, children, parents, ...)
  • Create a Gatstby-React component to display the graph (perhaps use https://js.cytoscape.org/)
  • [ ] Work on making the display a nicer looking in terms of scaling, text wrapping

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.