If you don't mind Ruby, myExperiment has developed code for this:

https://github.com/myGrid/taverna2-gem/


Note that some 'newer' service types like REST will have the wrong colour.

It should not be difficult to write a wrapper Ruby script that makes a
dot for every workflow.


The Java API for making the Dot within Taverna is unfortunately not
straight forward to use externally as you would need to load the
t2flow through Taverna's plugin support in order to recognize the
different activity types.


On Tue, Mar 27, 2012 at 3:52 PM, Kamran Soomro <[email protected]> wrote:
> Hi,
>
> I'm not sure if this is the correct list to be asking this question. Pardon
> me if it's not. I am looking to convert a bunch of Taverna 2 workflows to
> the DOT language in bulk as I don't want to load up each workflow in the
> application and save it manually. I was wondering if there was any way to do
> that? I have looked at the command line tool but apparently it doesn't
> support exporting the workflows to DOT. I see that there is an API method to
> write a Taverna graph to a DOT file. If there is no existing way to do what
> I want, I am ready to write my own code and convert the workflow through the
> API. In that case, I would appreciate it somebody can point me to any
> tutorials which can help to understand how I can load the workflows and
> convert them programmatically. Thank you.
>
> --Kamran
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> Web site: http://www.taverna.org.uk
> Mailing lists: http://www.taverna.org.uk/about/contact-us/
> Developers Guide: http://www.taverna.org.uk/developers/



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to