chevron_right Demos chevron_right File Operations
Related demos
Book a live Demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

  • Interactive graph visualization in real time
  • Integration example
  • Live Q&A and next step recommendations

30–45 minutes | 1:1 or team session | Online (Zoom / Teams)

No install required | We show live code

Book a free live demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

30–45 minutes | 1:1 or team session | Online (Zoom / Teams)

No install required | We show live code

Book a free live demo

File Operations Demo

This demo shows various ways to open and save a graph.

Things to Try

Open

Open a graph from file with a file chooser dialog. This is based on the FileReader API.

Save

Download

Download the graph as file.

New Tab

Show the file content in a new browser window.

Local Storage

Open and save the graph using the Storage API.

JSON data model

For JSON data handling, this demo uses types and functions defined in json-model.d.ts, json-support.ts and json-writer.ts.

These type definitions and functions provide simple and, for many use cases, complete functionality for processing graph data for a yFiles application.