ProductsServicesDownloadsNewsCompanyContact

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
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.ExteriorLabelModel and com.yworks.graph.model.InteriorLabelModel are 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.ShapeNodeStyleand com.yworks.graph.drawing.GeneralPathNodeStyle.
  • New class com.yworks.canvas.input.IInputModeContext provides a context for all input modes. inputModeContext is a new property of com.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.CanvasComponent using the inputMode property and methods addInputMode(), removeInputMode().
  • com.yworks.canvas.input.ClickInputMode can 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.AbstractModelItem delegate lookup implementation that can be passed to the constructor of all graph model items or set using setLookupImplementation(). The lookup behavior of the default graph model items is now implemented in the corresponding lookup delegate implementations DefaultNodeLookup, DefaultEdgeLookup, DefaultLabelLookup, DefaultBendLookup and DefaultPortLookup.

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 clipText property of class com.yworks.canvas.drawing.SimpleLabelStyle is 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 cursor property on com.yworks.canvas.CanvasComponent will now always change the current cursor immediately, if the mouse pointer is located over the canvas.
  • com.yworks.canvas.input.ContextMenuInputMode now 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.CanvasMouseEvent now extends flash.events.Event instead of flash.events.MouseEvent. This change was necessary because of a compatibility issue with the Adobe AIR framework.
  • The signature of the textProvider Function of class com.yworks.canvas.input.MouseHoverInputMode was changed: It now expects an instance of com.yworks.canvas.input.IInputModeContext instead of a com.yworks.canvas.CanvasComponent as the first argument.
  • The signature of the nodeCreator Function of class com.yworks.canvas.input.GraphEditorInputMode was changed: A parameter of type com.yworks.canvas.input.IInputModeContext was added.
  • The constructor of classes com.yworks.canvas.input.CanvasContextMenuEvent now expects an additional parameter of type com.yworks.canvas.input.IInputModeContext.
  • The "viewPortChanged" event dispatched by class com.yworks.canvas.CanvasComponent now dispatches a com.yworks.canvas.CanvasEvent.
  • Interface com.yworks.graph.drawing.IIconLabelStyle now uses an instance of class com.yworks.graph.drawing.IIcon instead of a DisplayObject as its icon.
  • com.yworks.io.graphml.reader.deserializer.ComponentNodeStyleDeserializer now 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.IPortCandidateProvider changed. An IInputModeContext parameter was added to all methods.
  • All input modes now use an com.yworks.canvas.input.IInputModeContext. Therefore, the interface com.yworks.canvas.input.IInputMode has changed. All inheritors of IInputMode have been adapted accordingly.
  • Interface com.yworks.canvas.input.IPositionHandler has been changed to use com.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.GraphRoundtripSupport is now configured to read and write yFiles FLEX client compatibility data objects instead of xml DocumentFragments. In order to use DocumentFragments, setDocumentFragmentMode(true) can be used.

Minor Changes (Client)

  • Improved handling of default values when writing GraphML output: New method isDefaultData of interface com.yworks.io.graphml.writer.IOutputHandler.
  • New properties writeLabels and readLabels of class com.yworks.io.graphml.GraphMLIOHandler.
  • A com.yworks.canvas.input.IInputModeContext property was added to class com.yworks.canvas.input.ClickEvent.
  • com.yworks.canvas.CanvasComponent now implements com.yworks.support.ILookup.
  • New method iterateHits of com.yworks.canvas.CanvasComponent allows 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.ReshapeableHandle and com.yworks.canvas.input.ReshapeableHandles now support a minimumEnclosedArea.
  • 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.YList and new HashSet implementation. com.yworks.support.ArrayList and com.yworks.support.YList now support for .. in iteration and the array access operator.