Cool improvements indeed! We won't change the diagram master :-). Alex
David Withers 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. > -- ..................................... Dr Alexandra Nenadic myGrid Project School of Computer Science University of Manchester Web: http://www.cs.man.ac.uk/~nenadic Office: +44 (0)161 275 0672 Fax: +44 (0) 161 275 6204 ------------------------------------------------------------------------------ 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
