yFiles Tutorial Demos for Edge Routing

This package contains tutorial source code demos that showcase various aspects of the yFiles edge routing facilities.

Class Description
demo.layout.router.EdgeRouterDemoDemonstrates yFiles' orthogonal edge routing capabilities
demo.layout.router.MazeRouterDemoDemonstrates yFiles' orthogonal edge routing capabilities through a maze
demo.layout.router.BusRouterDemoDemonstrates the orthogonal bus-style edge routing capabilities of yFiles
demo.layout.router.OctilinearEdgeRouterDemoDemonstrates yFiles' octilinear edge routing capabilities

Running the Demos

From Within an IDE

Set <yFilesDir>/src as your source directory. Then add <yFilesDir>/lib/y.jar and the source folder <yFilesDir>/src to your classpath. Now you should be ready to compile and run all executable demo classes.

With Ant

First make sure you have the build tool Ant installed on your system. Now you can use the demo build script build.xml located in <yFilesDir>/src/demo to launch each demo by specifying its simple class name as a target. Alternatively, launch the interactive demo driver by specifying run as target to conveniently access all demos.