This document explains how to install yFiles AJAX. yFiles AJAX is a product of yWorks GmbH, creator of the outstanding Java™ graph visualization framework yFiles and other fine products.
Please read the yFiles AJAX license.
This product contains software developed by the dojo foundation (http://dojotoolkit.org/foundation) distributed under the terms of the Academic Free License v2.1.
This product contains software developed by the Apache Software Foundation (http://www.apache.org/) distributed under the terms of the Apache License, Version 2.0.
This product contains Nuvola icons developed by David Vignoni (http://icon-king.com/) distributed under the terms of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
This product contains software developed by Jason Hunter and Brett McLaughlin (http://www.jdom.org/) distributed under the terms of this license.
The binary distribution contains the following top level directories.
resources contains styles for displaying this web page.
third_party_licenses contains the licenses for the bundled products.
webapp contains the archive yfiles-ajax.war for the
yFiles AJAX web application.
yfiles-ajax.war archive as described below, you get access to all the resources needed
by yFiles AJAX. The deployed web application contains demo applications and the yFiles AJAX Developer's
Guide. The Developer's Guide provides a detailed introduction to yFiles AJAX. There are two step by step
tutorials on using and extending yFiles AJAX. To get started, it is thus highly advisable to deploy
the yFiles AJAX web application. The details are described in the following sections. The Developer's
Guide is also available online.
The binary distribution contains the following top level files.
build.xml file is an Ant script which helps installing yFiles AJAX.
However, the installation of yFiles AJAX is also possible, if Ant is not installed.
The build.xml file also contains a target for extracting the tutorial sources
from the web application archive and a target for unpacking the whole contents of the
web application archive. Note that the tutorials and demo web applications do not
work without a running server component.
Installation.html is this file.
YFILES_AJAX_EULA.html contains the license terms for using yFiles AJAX.
y.jar file. yFiles AJAX also depends on other Jar files, but they are integrated in the
distributed web application.
There is no need to install anything on the client side, if a supported browser is already there. If this is not the case, current browsers are typically easy to get and to install. You can for example get Firefox from here. You can use the browser out-of-the-box. There is no need for additional plugins. Javascript and Cookies need to be enabled in the browser.
There are two possibilities for integrating your y.jar
and yfiles-ajax-license.xml (in case of a full version) files with the server
side of yFiles AJAX. You can either use a supplied Ant script or you can put the files directly
into the directories of the deployed web application, if your servlet container supports that
(e.g., Tomcat does support this approach). The following describes the details of these
two approaches. Select the approach that is most suitable for you, do not use both methods.
y.jar file and your yfiles-ajax-license.xml file
(in case of a full version) into the bundled WAR file in the webapp
subdirectory before deploying the web application. You need to have
Ant installed for this variant.
y.jar and yfiles-ajax-license.xml (in case of a full version)
files into the directory extracted from the downloaded yfiles-ajax-*.zip file (where the
build.xml file is located).
ant
y.jar and yfiles-ajax-license.xml (in case of a full version)
files to the deployed web application. This may not be possible for every servlet container.
y.jar file to the WEB-INF/lib directory in the context
root directory of the deployed web application. If you use Tomcat this directory should be
similar to .../Tomcat 5.5/webapps/yfiles-ajax/WEB-INF/lib.
yfiles-ajax-license.xml file to the WEB-INF directory in the context
root directory of the deployed web application.
http://localhost:8080/yfiles-ajax/
http://[webserver-content-root]:[port]/[webapp-context-root]/yfiles-ajax/Examples/Graph_Viewer.html
http://[webserver-content-root]:[port]/[webapp-context-root]/yfiles-ajax/Examples/Collapsible_Tree.html
http://[webserver-content-root]:[port]/[webapp-context-root]/yfiles-ajax/Examples/Graph_Editor.html
vectorgraphics.jar
and yexport.jar from the lib directory of the yExport distribution to the
WEB-INF/lib directory of your web application.
We appreciate your feedback. Please send your remarks, questions or bug reports to yfilesajax@yworks.com.
Copyright © 2006-2008 yWorks. All Rights Reserved.