yFiles FLEX Release Notes
The current release of yFiles FLEX is 1.2.
Technical Requirements
- Flex 3 SDK for software development of yFiles FLEX-powered web applications for Adobe Flash Player 9.
- Adobe Flash Player 9 (or higher) on the client to execute yFiles FLEX-powered web applications.
-
A servlet container (for example, Apache Tomcat) is required, if yFiles FLEX is
used with a Java server component.
For best results, the server component of yFiles FLEX is combined with the Java class library yFiles Complete 2.5 (or higher) for visualization and automatic graph layout. - Sun Microsystems J2RE 1.4 on the server, if the yFiles Java library is used.
- If the yFiles FLEX .NET library is used: yFiles.NET Complete 3.1 and Visual J# .NET version 2.0; Visual Studio recommended.
yFiles FLEX 1.2 Major new Features Since 1.1
|
|
|
| New styles | Improved yFiles Java compatibility | New overview component |
yFiles FLEX 1.2 Changes Since 1.2-RC-1
Improvements (Client)
- The
com.yworks.canvas.input.GraphEditorInputModenow comes with aMoveLabelModeper default. - The
com.yworks.graph.drawing.ImageNodeStylewas 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.Graph2DRoundtripSupportwill 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#writeSharedReferencestofalsenow actually has the desired effect. - Assigning an empty dash pattern array to a
com.yworks.canvas.drawing.AdvancedStrokewon't cause erroneous painting anymore. - Trying to access the
clickPointproperty ofcom.yworks.canvas.input.ClickInputModebefore 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.BitmapNodeStyleorcom.yworks.graph.drawing.ImageNodeStyle.
Minor Changes (Client)
- The
SIMPLEarrow type is not filled anymore. - Many improvements to the apidocs.
yFiles FLEX 1.2-RC-1 Changes Since 1.2-EAP-1
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.HandleInputModenow offers anactiveproperty that toggles whether the mode is active.com.yworks.canvas.input.GraphEditorInputModenow offers various properties that allow fine-grained control of graph editing functionality:marqueeSelectableItems, clickSelectableItems, selectableItems, movableItems, deletableItems, showHandleItems. In addition, callbacksshouldShowHandles,shouldBeDeleted, andshouldBeMovablewere introduced.com.yworks.canvas.input.CanvasMouseEventnow offers aclickCountproperty to distinguish between single and double clicks.com.yworks.canvas.input.ClickInputModecan now also be used for double click events and offers more configuration options.- Added the
Short, Simple, and Crossarrow 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
smoothingparameter ofcom.yworks.graph.drawing.IPolylineEdgeStylewill 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.HttpServiceFactorywill now append a <service-extension> parameter specified in the config file to all service urls. - New
backgroundGroupproperty forcom.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.GraphRoundtripSupportnow 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.RoundtripHandlerwill now reuse theinputIOHandlerinstance.createInputIOHandlerwill only be called the first time the property is accessed.
Bugfixes (Client)
com.yworks.canvas.drawing.AdvancedStroke.drawPathnow correctly transforms the path using the current graphics transformation.- Setting
GraphEditorInputMode.handleInputMode.enabledtofalsewon'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-EAP1 Changes Since 1.1
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.IAdvancedStrokeandAdvancedStrokefor use withYGraphicsallow for drawing dotted/dashed strokes or implementation of custom strokes. - New component
com.yworks.ui.GraphOverviewComponentand classcom.yworks.canvas.input.OverviewInputModeallow to easily add overview functionality to a yFiles FLEX client. - New class
com.yworks.graph.drawing.AbstractLabelStyleRendererallows easier implementation of custom label styles. - New fancy
com.yworks.graph.drawing.BevelNodeStyle - New
com.yworks.graph.drawing.BitmapNodeStylethat allows reading/writing base64-encoded bitmap data. - New
com.yworks.graph.drawing.ComponentNodeStylethat allows to use arbitrary flex components for node visualization. - New
com.yworks.graph.drawing.IconLabelStylethat allows to draw images in a node- or edgelabel. - New
com.yworks.graph.drawing.NodeStyleLabelStyleAdapterallows to use node style implementations for drawing labels. - New yFiles for Java-compatible style implementations:
com.yworks.graph.drawing.compat.JavaImageNodeStyle
andcom.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.AbstractDeserializermakes it easier to implement custom deserializers(e.g. node styles).









