yFiles FLEX Versionsinformationen
Version 1.3 von yFiles FLEX ist das aktuelle Release.
Technische Voraussetzungen
- Das Flex 3 SDK zur Software Entwicklung von yFiles FLEX-Webanwendungen für Adobe Flash Player 9.
- Adobe Flash Player 9 (oder höher) auf dem Client, um yFiles FLEX-Webanwendungen auszuführen.
-
Ein Servlet Container (z.B. Apache Tomcat) wird benötigt, wenn yFiles FLEX
mit einer Server Komponente benutzt wird.
Für optimale Ergebnisse wird die Server Komponente von yFiles FLEX mit der Java Klassenbibliothek yFiles Complete 2.6 (oder höher) zur Visualisierung und zum automatischen Layout von Graphen kombiniert. - Sun Microsystems J2RE 1.4 auf dem Server, wenn die yFiles Java Klassenbibliothek benutzt wird.
- Falls die yFiles FLEX .NET Bibliothek verwendet wird: yFiles.NET Complete 3.1 und Visual J# .NET Version 2.0; Visual Studio wird für die Entwicklung empfohlen.
Wichtige Neuerungen von yFiles FLEX 1.3 seit Version 1.2 (englisch)
|
|
|
| Client-side interactive grouping support | Undo/Redo and clipboard functionality | New hierarchy view component |
Weitere Neuerungen (englisch)
- New grouping demo application
- Support for highlighting of graph items
- New panel node style
- Interactive port relocation
- New API for working with client-side visual features and labels on a yFiles Java server
- Compatible with the Adobe® AIR™ framework.
yFiles FLEX 1.3 Änderungen zu Version 1.2.1 (englisch)
General Changes
- The developer's guide was updated to include documentation on the new features of yFiles FLEX 1.3.
- New demo applications: DrillDown, Swimlane, PortCandidates.
- The GraphML library that comes with yFiles FLEX was upgraded to version 3.0.3.
Improvements (Server - Java)
- A compatibility layer has been added to the yFiles FLEX API for Java server components that facilitates working with the yFiles FLEX client's styles and labels.
Improvements (Client)
- The static shared parameter instances of
com.yworks.graph.model.ExteriorLabelModelandcom.yworks.graph.model.InteriorLabelModelare now unmodifiable. - Compatibility issues with the Adobe Air library have been resolved.
- Improved performance of the internal graph structure representation.
- New demo application for the Adobe® AIR™ technology.
- New source-code demo application that shows how to use the
ComponentNodeStyle. - Improved intersection calculation for
com.yworks.graph.drawing.BevelNodeStyle,com.yworks.graph.drawing.ShapeNodeStyleandcom.yworks.graph.drawing.GeneralPathNodeStyle. - New class
com.yworks.canvas.input.IInputModeContextprovides a context for all input modes.inputModeContextis a new property ofcom.yworks.canvas.CanvasComponent. - Improved canvas mouse event handling: Various hooks and configuration properties for mouse events
were added on
com.yworks.canvas.CanvasComponent. - Input modes can now be set directly on the
com.yworks.canvas.CanvasComponentusing theinputModeproperty and methodsaddInputMode(),removeInputMode(). com.yworks.canvas.input.ClickInputModecan now be configured to "swallow" the first mouse click event if the focus was gained with this gesture.- The lookup implementation now uses a
com.yworks.graph.model.AbstractModelItemdelegate lookup implementation that can be passed to the constructor of all graph model items or set usingsetLookupImplementation(). The lookup behavior of the default graph model items is now implemented in the corresponding lookup delegate implementationsDefaultNodeLookup,DefaultEdgeLookup,DefaultLabelLookup,DefaultBendLookupandDefaultPortLookup.
Bugfixes (Client)
- The drawing color is now correctly reset when drawing arrows with custom border colors.
- Fixed a bug that would sometimes prevent correct parsing of shared references on the client.
- The
clipTextproperty of classcom.yworks.canvas.drawing.SimpleLabelStyleis now correctly read and written. - Writing of yFiles Java compatibility styles that don't have a stroke assigned won't cause a null reference error anymore.
- Setting the
cursorproperty oncom.yworks.canvas.CanvasComponentwill now always change the current cursor immediately, if the mouse pointer is located over the canvas. com.yworks.canvas.input.ContextMenuInputModenow won't throw an Error if a context menu is opened before it was correctly installed.- Fixed serialization of default arrows with arrow type
ArrowType.NONE. Using ArrowType.NONE could throw an Error upon deserialization before this bug was fixed. - Changing the selection model on an input mode will now correctly reset the selection state.
Bugfixes (Server - Java)
- Fixed layout handling for labels.
Incompatible Changes (Client)
- Class
com.yworks.canvas.input.CanvasMouseEventnow extendsflash.events.Eventinstead offlash.events.MouseEvent. This change was necessary because of a compatibility issue with the Adobe AIR framework. - The signature of the
textProviderFunction of classcom.yworks.canvas.input.MouseHoverInputModewas changed: It now expects an instance ofcom.yworks.canvas.input.IInputModeContextinstead of acom.yworks.canvas.CanvasComponentas the first argument. - The signature of the
nodeCreatorFunction of classcom.yworks.canvas.input.GraphEditorInputModewas changed: A parameter of typecom.yworks.canvas.input.IInputModeContextwas added. -
The constructor of classes
com.yworks.canvas.input.CanvasContextMenuEventnow expects an additional parameter of typecom.yworks.canvas.input.IInputModeContext. -
The "viewPortChanged" event dispatched by class
com.yworks.canvas.CanvasComponentnow dispatches acom.yworks.canvas.CanvasEvent. - Interface
com.yworks.graph.drawing.IIconLabelStylenow uses an instance of classcom.yworks.graph.drawing.IIconinstead of aDisplayObjectas its icon. com.yworks.io.graphml.reader.deserializer.ComponentNodeStyleDeserializernow passes the element node that represents the serialized component to the actual deserializer of the component, instead of its parent xml element.- The interface
com.yworks.graph.model.IPortCandidateProviderchanged. AnIInputModeContextparameter was added to all methods. - All input modes now use an
com.yworks.canvas.input.IInputModeContext. Therefore, the interfacecom.yworks.canvas.input.IInputModehas changed. All inheritors ofIInputModehave been adapted accordingly. -
Interface
com.yworks.canvas.input.IPositionHandlerhas been changed to usecom.yworks.canvas.input.IInputModeContext. - Dispatching of mouse events has changed for
com.yworks.canvas.CanvasComponent. Please see the migrations section of the README file contained in the yFiles FLEX distribution for details.
Incompatible Changes (Server - Java)
-
Class
com.yworks.yfiles.server.graphml.support.GraphRoundtripSupportis now configured to read and write yFiles FLEX client compatibility data objects instead of xmlDocumentFragments. In order to use DocumentFragments,setDocumentFragmentMode(true)can be used.
Minor Changes (Client)
- Improved handling of default values when writing GraphML output: New method
isDefaultDataof interfacecom.yworks.io.graphml.writer.IOutputHandler. - New properties
writeLabelsandreadLabelsof class com.yworks.io.graphml.GraphMLIOHandler. - A
com.yworks.canvas.input.IInputModeContextproperty was added to classcom.yworks.canvas.input.ClickEvent. com.yworks.canvas.CanvasComponentnow implementscom.yworks.support.ILookup.- New method
iterateHitsofcom.yworks.canvas.CanvasComponentallows to easily iterate all canvas objects that are located at a given coordinate. The canvas objects can be filtered before hit testing using a custom filter function. - Improved performance of
com.yworks.canvas.geom.Yrectangle#reshape() com.yworks.canvas.input.ReshapeableHandleandcom.yworks.canvas.input.ReshapeableHandlesnow support aminimumEnclosedArea.- New
com.yworks.graph.drawing.DelegatingStyle. - New client- and server classes for conveniently handling graph uploads.
- Improved collections: new double-linked list
com.yworks.support.YListand new HashSet implementation.com.yworks.support.ArrayListandcom.yworks.support.YListnow supportfor .. initeration and the array access operator.









