100 likes | 430 Views
Workflow Visualization. Anna Sallstrom. The situation. VLab portal Tools for material analysis Portlets Workflow organization Projects Phases Tasks. Job monitor portlet. Goals for a visualization. We want it to be simple and easy to read Use a tree layout
E N D
Workflow Visualization Anna Sallstrom
The situation • VLab portal • Tools for material analysis • Portlets • Workflow organization • Projects • Phases • Tasks Job monitor portlet
Goals for a visualization • We want it to be simple and easy to read • Use a tree layout • We want it to fit into the portal naturally • Toggle between text and visual • Display inside the browser • So it’ll be an applet Project Phase Phase Task Task Task Task Task
An existing solution • Written by Laurie Labadie • prefuse visualization toolkit • WebStart application
Debugging the visualization • It’s beautiful! But sometimes it behaves unexpectedly • Color modes • Filters • Nodes and edges • Code complexity makes finding and fixing bugs difficult • Type codes • Repeated code • Variables in multiple locations
Can it be made an applet? • It uses several packages that aren’t part of the standard Java distribution • WebStart applications can download these automatically, applets can’t • Not easily, not right now • … and maybe this application provides more than we need anyway
Writing a new applet • Writing a test applet • JGraph • Object oriented design • Projects, Phases, and Tasks • Test data
Getting it online So much to learn! • Containing it in a portlet • Portlets: wrappers around servlets; can interface with portals • Servlets: Java applications that output HTML • JavaServer Pages (JSP): compiles into Java servlets • Deploying the portlet to the portal • Gridsphere portal • Tomcat web container
Getting it online • What’s left? • Reading in projects from the job monitor • Rearranging the tree to make reading tasks easier • Working on it!