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

Reading and Writing Graph Structure Data

By default, the yFiles library already offers various possibilities for writing a graph to different file formats. Table 9.2, “Supported file formats” lists the supported graph exchange file formats. The recommended file format, GraphML, is listed topmost. It offers the best mixture of robustness, compatibility, and flexibility.

Table 9.2. Supported file formats

File Name Extension Format Name Description
graphml GraphML XML-based file format. Not to be confused with GML, its aged ancestor.
ygf Y Graph Format Proprietary binary file format.
gml Graph Modeling Language Text-based file format. The ancestor of modern, XML-based GraphML.
xgml Graph Modeling Language Text-based file format. XML-ish variant of GML.
tgf Trivial Graph Format Text-based file format. Saves only a graph's structure and existing labels.