Hello,
Have a look at the net.sf.taverna.t2.ui-components.graph-model module in the
SVN (inside http://code.google.com/p/taverna/source/browse/taverna/ui)
The graphs are rendered using SVG and the 'dot' application. The code goes
something like this:
GraphController graphController = new SVGGraphController(dataflow, false,
null)
StringWriter stringWriter = new StringWriter();
DotWriter dotWriter = new DotWriter(stringWriter);
try {
dotWriter.writeGraph(graph);
String layout = SVGUtil.getSVG(stringWriter.toString());
} catch (Exception e) {
2009/12/5 Wei Tan <[email protected]>
> Hi,
>
> Does anyone know how to render a workflow graph using Taverna API? We
> have an application that needs to display a workflow on an igoogle
> gadget. It would be interesting to know more details of the related API,
> or related gadgets.
>
> Thanks,
>
> Wei
>
> --
> Wei Tan, Ph.D.
> Computation Institute
> the University of Chicago|Argonne National Laboratory
> http://www.mcs.anl.gov/~wtan <http://www.mcs.anl.gov/%7Ewtan>
>
>
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> Web site: http://www.taverna.org.uk
> Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
> Developers Guide: http://www.mygrid.org.uk/tools/developer-information
>
--
Ian Dunlop
myGrid Team
School of Computer Science
University of Manchester
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/
Developers Guide: http://www.mygrid.org.uk/tools/developer-information