ProductsServicesDownloadsNewsCompanyContact

yFiles FLEX Versionsinformationen

Die aktuelle Version von yFiles FLEX ist 1.2.

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.5 (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.2 seit Version 1.1 (englisch)

New style implementations yFiles Java compatibility Overview component
New styles Improved yFiles Java compatibility New overview component

yFiles FLEX 1.2 Änderungen zu Version 1.2-RC-1 (englisch)

Improvements (Client)

  • The com.yworks.canvas.input.GraphEditorInputMode now comes with a MoveLabelMode per default.
  • The com.yworks.graph.drawing.ImageNodeStyle was improved to allow for more ways of specifiying the image to be displayed. Also, (de)serialization of embedded bitmap images passed to the ImageNodeStyle was improved.
  • Dashed/dotted strokes are now correctly (de)serialized.

Bugfixes (Server - yFiles Java)

  • Class com.yworks.yfiles.server.graphml.support.Graph2DRoundtripSupport will now correctly configure the io handler, so no duplicate node- or edge realizers will appear in the GraphML output anymore.

Bugfixes (Client)

  • A bug in the visibility calculation of the default edge renderer was fixed that would sometimes prevent interactive bend creation at certain coordinates.
  • Setting com.yworks.io.graphml.GraphMLIOHandler#writeSharedReferences to false now actually has the desired effect.
  • Assigning an empty dash pattern array to a com.yworks.canvas.drawing.AdvancedStroke won't cause erroneous painting anymore.
  • Trying to access the clickPoint property of com.yworks.canvas.input.ClickInputMode before a click event has occured will not yield a null reference error anymore.
  • All images will now properly show up when loading multiple images at once using the com.yworks.graph.drawing.BitmapNodeStyle or com.yworks.graph.drawing.ImageNodeStyle.

Minor Changes (Client)

  • The SIMPLE arrow type is not filled anymore.
  • Many improvements to the apidocs.

yFiles FLEX 1.2-RC-1 Änderungen zu Version 1.2-EAP-1 (englisch)

Summary

  • Improved double click support.
  • Improved support for enabing/disabling editing functionality for the various graph item types.
  • New FreeNodeLabelModel

Improvements (Client)

  • com.yworks.canvas.input.HandleInputMode now offers an active property that toggles whether the mode is active.
  • com.yworks.canvas.input.GraphEditorInputMode now offers various properties that allow fine-grained control of graph editing functionality: marqueeSelectableItems, clickSelectableItems, selectableItems, movableItems, deletableItems, showHandleItems. In addition, callbacks shouldShowHandles, shouldBeDeleted, and shouldBeMovable were introduced.
  • com.yworks.canvas.input.CanvasMouseEvent now offers a clickCount property to distinguish between single and double clicks.
  • com.yworks.canvas.input.ClickInputMode can now also be used for double click events and offers more configuration options.
  • Added the Short, Simple, and Cross arrow types for improved compatibility with yFiles.NET.
  • New node label model com.yworks.graph.model.FreeNodeLabelModel.
  • Improved configuration options for com.yworks.graph.model.GraphModelManager.
  • The smoothing parameter of com.yworks.graph.drawing.IPolylineEdgeStyle will now be correctly (de)serialized.
  • Dashed/dotted edge strokes will now be correctly (de)serialized when using the yFiles for Java GraphML format.
  • Class com.yworks.remote.HttpServiceFactory will now append a <service-extension> parameter specified in the config file to all service urls.
  • New backgroundGroup property for com.yworks.ui.GraphCanvasComponent.

Improvements (Server - yFiles.NET)

  • The default Web.Config now uses the .ashx file extension for defining http handler mappings. If no file extension is used, the web site will not work with some IIS versions.

Incompatible Changes (Server - yFiles for Java)

  • Class com.yworks.yfiles.server.graphml.support.GraphRoundtripSupport now only has a default constructor. Instead of using class GraphRoundtripSupport in Graph2D mode, the new class Graph2DRoundtripSupport should now be used.

Incompatible Changes (Client)

  • Instead of creating a new instance for every roundtrip, com.yworks.remote.RoundtripHandler will now reuse the inputIOHandler instance. createInputIOHandler will only be called the first time the property is accessed.

Bugfixes (Client)

  • com.yworks.canvas.drawing.AdvancedStroke.drawPath now correctly transforms the path using the current graphics transformation.
  • Setting GraphEditorInputMode.handleInputMode.enabled to false won't lead to inconsistent behavior anymore.
  • com.yworks.ui.GraphCanvasComponent.morphGraph() will now correctly restore the scroll policies to their old values after the animation has finished.

yFiles FLEX 1.2-EAP-1 Änderungen zu Version 1.1 (englisch)

Summary

  • Support for custom dotted/dashed strokes
  • Overview component
  • Improved compataibility with yFiles Java
  • New styles: BevelNodeStyle, BitmapNodeStyle, ComponentNodeStyle, IconLabelStyle, NodeStyleLabelStyleAdapter, JavaShapeNodeStyle, JavaImageNodeStyle
  • New label models: InteriorStretchLabelModel, GenericLabelModel
  • Easy configuration of lookup behavior.
  • Read/write shared references in GraphML.

Improvements (Client)

  • New classes com.yworks.canvas.drawing.IAdvancedStroke and AdvancedStroke for use with YGraphics allow for drawing dotted/dashed strokes or implementation of custom strokes.
  • New component com.yworks.ui.GraphOverviewComponent and class com.yworks.canvas.input.OverviewInputMode allow to easily add overview functionality to a yFiles FLEX client.
  • New class com.yworks.graph.drawing.AbstractLabelStyleRenderer allows easier implementation of custom label styles.
  • New fancy com.yworks.graph.drawing.BevelNodeStyle
  • New com.yworks.graph.drawing.BitmapNodeStyle that allows reading/writing base64-encoded bitmap data.
  • New com.yworks.graph.drawing.ComponentNodeStyle that allows to use arbitrary flex components for node visualization.
  • New com.yworks.graph.drawing.IconLabelStyle that allows to draw images in a node- or edgelabel.
  • New com.yworks.graph.drawing.NodeStyleLabelStyleAdapter allows to use node style implementations for drawing labels.
  • New yFiles for Java-compatible style implementations: com.yworks.graph.drawing.compat.JavaImageNodeStyle
    and com.yworks.graph.drawing.compat.JavaShapeNodeStyle
  • New com.yworks.graph.model.InteriorStretchLabelModel
  • New com.yworks.graph.model.GenericLabelModel
  • Lookup behavior of graph model items can now be easily customized at runtime since the default graph structure now implements com.yworks.support.ILookupDecorator.
  • GraphML reading/writing on the client now supports shared references for both the yFiles for Java and yFiles.NET GraphML formats.
  • New class com.yworks.io.graphml.reader.AbstractDeserializer makes it easier to implement custom deserializers(e.g. node styles).