David committed this, it looks pretty cool, specially when you add links and things rearrange, or when you click 'Show ports'!
It even works when zoomed in, that's a great improvement. Thanks, David! The rest of you can try out the latest nightly snapshot to have a look, download: http://www.mygrid.org.uk/hudson/job/net.sf.taverna.t2.taverna-workbench.nightly/lastSuccessfulBuild/net.sf.taverna.t2.taverna-workbench$workbench-distro/artifact/net.sf.taverna.t2.taverna-workbench/workbench-distro/2.1-beta-3-SNAPSHOT/taverna-nightly-2.1-beta-3-SNAPSHOT-20091104-bin.zip (In windows, remember to *not* unzip it with Windows Explorer, try 7zip or Winzip) and in Preferences->Diagram tick to enable animation. You can adjust the speed as well - slow for show-off and fast for practical use. We will be going to code freeze for Taverna 2.1 RC 1 next week, so this made it in just in time! It then looks like you would need to open a new workflow to 'wake up' the animation.. David - is this a bug or intended..? :-) On Fri, Oct 23, 2009 at 23:59, David Withers <[email protected]> wrote: > Hi, > > I've been working on some improvements to the diagram in Taverna. > Currently when the dataflow, or a layout option, changes a new SVG > Document is created which is then rendered by the SVG Canvas. As a > result the view transform is reset each time which resets the zoom level > (see http://www.mygrid.org.uk/dev/issues/browse/T2-468). It also means > that the diagram can't be updated until the new SVG Document has been > drawn and a new UpdateManager is created. > > I've changed the way that the redraw() method on GraphController is > implemented so that the SVG Document is updated instead of creating a > new one each time. This fixes T2-468, reduces the time taken to update > the diagram and means that there's no delay while waiting for a new > UpdateManager to be created. > > The changes also make it possible to add animation to the diagram - I've > put a quick screen cast here: > http://davidwithers.me.uk/taverna/animation/taverna-animation.mov > > Does anyone have any objections if I check in these changes? It affects > graph-model with minor changes to graph-view and monitor-view. > > David. > -- > David Withers > School of Computer Science, University of Manchester, > Oxford Road, Manchester, M13 9PL, UK. > +44 (0)161 275 0683 > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > 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 > -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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
