ProductsServicesDownloadsNewsCompanyContact

yFiles AJAX Versionsinformationen

Version 1.1 von yFiles AJAX ist das aktuelle Major Release, die laufende Versionsnummer ist 1.1.1.

Technische Voraussetzungen

Client

  • Der Client-seitige Teil von yFiles AJAX läuft in bekannten Webbrowsern:
    • Firefox 1.5+
    • Internet Explorer 6+
  • JavaScript und Cookies müssen aktiviert sein.

Server

  • Es muss ein Java Runtime Environment installiert sein. Die Servlets sind mit Java 1.4.2 kompiliert.
  • Ein Servlet Container muss installiert sein, z.B. Tomcat 5.5.
  • Auf der Serverseite wird die Java Klassenbibliothek yFiles Version 2.5 (oder neuer) benutzt. Es wird die yFiles Viewer Distribution bzw. Complete Distribution benötigt (siehe yFiles Produkttypen).
  • Ant ist nicht unbedingt erforderlich, hilft aber bei vielen Aufgaben.

yFiles AJAX 1.1.1 - Änderungen zu Version 1.1 (englisch)

Improvements

  • The number of server requests made for resizing an overview GraphCanvas has been significantly reduced. As a result for example the new overview in the Graph Viewer demo is available much earlier after dragging one of the splitters.
  • The GroupNavigationMode now keeps track of group nodes closed on switching the display to their subgraph and reopens them on returning from their inner graph. Previously, after entering an open group node and returning from it, the group node was closed.
  • A further customization hook has been added to the LoaderServlet, the method customizeGraphMLIOHandler, which can be used to add custom attributes to be read from a GraphML file or written to it. This is not possible with the getIoHandler method, since it has no access to the graph instance used for reading or writing.

Incompatible API Changes

  • The client side function HierarchyManager#getVisibleGraphParent() does not take a parameter any more. It had an unnecessary nodeId parameter, which did not have any influence on its result. Since this function is called from client side JavaScript code, which ignores unnecessary parameters, there is not really a need to change any code except for clarification.

yFiles AJAX 1.1 - Änderungen zu Version 1.0.1 (englisch)

New Features

  • yFiles AJAX provides comprehensive grouping support, including group nodes and drill-down facilities.
  • yFiles AJAX is now based on dojo 1.0.
  • If yExport is present on the server, the LoaderServlet automatically provides the download formats PDF, SWF, EMF, and EPS, which are supported by yExport.
  • A new Grouped Graph demo has been added.

Improvements

  • Support for grouping and folding of nodes has been added.
  • yFiles AJAX is packaged with the new layered build system of dojo. This enables using custom dojo builds as a basis for yFiles AJAX instead of the dojo release which ships with yFiles AJAX (dojo 1.0.2).
  • Styles for yFiles AJAX widgets have been separated into necessary style (e.g. positioning of tiles in the graph canvas) and optional style (e.g. color of selected graph elements in the graph canvas). The latter can be customized by changing the centralized yfiles AJAX style sheet.
  • The Graph Editor demo now ships with client side source code.
  • The visual effect for zooming with the mouse wheel has been improved.
  • There is a new field mouseWheelScrollFactor on the GraphCanvas widget, which can be used to control the amount of zoom change.
  • A new request for available download formats has been added to the LoaderServlet. An example for its usage can be found in the Graph Editor.
  • For the highlight rectangle for a node, the additional width and height is now constant and does no longer depend on the size of the node and the zoom level. There is a new field highlightNodeSurroundPixels on the GraphCanvas widget, which can be used to control the additional width and height.
  • The client API documentation has been completed. It is available in the docs/client/api directory of the deployed yFiles AJAX web application and there is a link to it from the Developer's Guide.

Fixed Bugs

  • Fixed a bug which prevented proper deactivation of the rubberband. This bug showed up, when you canceled a zoom area operation in the Graph Viewer demo by deselecting the zoom area button. The rubberband showed up on the next mouse drag.

Incompatible API Changes

  • The protected method LoaderServlet#getFileForGraphName(String) has been removed, since loading graphs from files might not be possible for some servlet containers and/or configurations. A new method LoaderServlet#getGraphResourceStream(String) has been introduced, which can now be used to customize the selection of graph resources in derived servlets instead of the removed method. It returns an input stream instead of a file. The default implementation uses ServletContext#getResourceAsStream(String).
  • The protected method LoaderServlet#loadableGraphs(HttpServletResponse) still has the same signature, but does no longer return a list of all files in the subdirectory resources/graphs/ of the web application. Instead it returns the contents of the resource LoaderServlet#LOADABLE_GRAPHS_LIST. This way the method can also work in an environment where all resources are fetched via the servlet container.

yFiles AJAX 1.0.1 - Änderungen zu Version 1.0 (englisch)

Fixed Bugs

  • LoaderServlet: URL and Description of downloaded graphs were not written.
  • LoaderServlet: An exception occured, if the "bmp" format was not available.
  • SVG: a new version of ySVG ships with yFiles AJAX. It contains a fix for a rare bug leading to an infinite loop while painting SVG nodes on the yFiles AJAX server.
  • HitInfo: The end points of the path for an edge were the source and target ports of the edge instead the ends of the visible path of the edge (source and target intersection). This is relevant, if node events are disabled and edge events are enabled for a GraphCanvas.
  • The web.xml template in the developers guide was missing in the binary distribution.
  • InfoServlet: Labels transfered were not correctly escaped.

Improvements

  • BaseServlet: Cached graphs can be removed from the cache. They could only be overwritten before.
  • A newer version of GraphML is bundled with yFiles AJAX. Together with the new ySVG library mentioned above it is now possible to export a graph with SVG nodes from the yFiles AJAX editor demo as a GraphML file, which can be read by the current yEd graph editor without loosing the SVG data for the nodes.
  • Graph Viewer Demo: Tooltips are now correctly displayed with Internet Explorer 7.

yFiles AJAX 1.0 - Änderungen zu Version 1.0 RC1 (englisch)

Improvements

  • The server side API has been improved to enable easier customization (e.g., UpdateServlet#createNode(Graph2D, double, double, String)).
  • There is a new client side API documentation, which uses the dojo documentation system.
  • A Web API documentation (accessible from the Developer's Guide) has been added.
  • yFiles AJAX now also works with the yFiles View package. A new LayoutServlet has been extracted from the UpdateServlet. The LayoutServlet and the TreeCollapser demo servlet only work with yFiles Complete, the UpdateServlet and all other servlets only need yFiles View.
  • The generic options for the layouts performed by the LayoutServlet have been improved.
  • There is an Ant target for extracting the files needed for the tutorials from the binary distribution.

General

  • Two files have been removed from the included dojo version 0.4.2 according to the security advisory from the dojo website.

Incompatible API Changes

The methods

  • BaseServlet#doGet(HttpServletRequest, HttpServletResponse)
  • BaseServlet#doPost(HttpServletRequest, HttpServletResponse) and
  • BaseServlet#init()

are now final. If you have a custom servlet, which inherits from BaseServlet, override

  • BaseServlet#handleGetRequest(HttpServletRequest, HttpServletResponse),
  • BaseServlet#handlePostRequest(HttpServletRequest, HttpServletResponse) and
  • BaseServlet#initialize()

respectively, instead of the final methods.

yFiles AJAX 1.0 RC1 - Änderungen zu Version 1.0 Beta (englisch)

Fixed Bugs

  • fixed occasional display of duplicate node labels
  • removed the cause for most of the "Graphics2D from BufferedImage lacks BUFFERED_IMAGE hint" server log entries which appeared while rendering SVG nodes, a few may still appear for graph downloads
  • fixed memory leak on the server side

Improvements

  • improved LoaderServlet scalability
  • export graphs using other formats (e.g. PDF or PNG)

General

  • ported to dojo 0.4.2 (the previous version was based on dojo 0.4.1)
  • ported to yFiles 2.5 (the previous version was based on yFiles 2.4.0.3)
  • new license mechanism