Where to Find Up-to-date yFiles Information

This page is from the outdated yFiles for Java 2.13 documentation. You can find the most up-to-date documentation for all yFiles products on the yFiles documentation overview page.

Please see the following links for more information about the yFiles product family of diagramming programming libraries and corresponding yFiles products for modern web apps, for cross-platform Java(FX) applications, and for applications for the Microsoft .NET environment.

More about the yFiles product family Close X

Events and Listeners

Structural Changes

Interface GraphListener notifies interested parties of structural graph changes. The information is conveyed using objects of type GraphEvent, and covers element insertion and removal as well as element modifications like, e.g., changing an edge's end nodes.

To receive notifications, GraphListener implementations have to be properly registered with a Graph object. Figure 4.3, “Context for using GraphListener” gives an overview on interface GraphListener's role.

Figure 4.3. Context for using GraphListener

Context for using GraphListener.