yFiles for HTML
Diagramming in the browser

yFiles for HTML is an extensive JavaScript/HTML library that adds diagramming functionality to your web project. It lets you create cutting-edge custom apps while easily integrating with your existing web solutions and dashboards.

You have questions about yFiles for HTML?

Get in touch to discuss your specific challenges with our diagramming experts. We're here to provide the guidance you need.

Create natural, flowing diagrams for the web

The yFiles diagramming library offers everything needed to easily visualize complex networks and relationships in the browser. Whether starting a new project or enhancing existing applications and dashboards, yFiles is designed to simplify the process and deliver powerful results. Expert support from our library developers ensures a smooth experience, helping to resolve any challenges efficiently.

Start visualizing complex networks and dynamic relationships today with yFiles!

Test yFiles free of charge

If you are working with AI coding agents, use the following prompt to get started:

Copy prompt “ Fetch https://yfiles.com/agent-start.md and follow its instructions ”

Technical features

Developer-friendly

Extensive Developer's Guide and API documentation, runtime type-checking, debugging tools, plus code completion and quick API lookup in modern IDEs.

Pure JavaScript

A pure JavaScript solution that works seamlessly with Angular, React, Vue.js, and basically any other JavaScript framework.

100% client-side

100% client-side graph drawing and graph editing— no specific server required.

TypeScript support

The complete set of type definitions is available for TypeScript.

Runs everywhere

Supports all modern browsers — from Chrome to Edge, Firefox, and Safari — on desktops, tablets, and phones!

Develop with modern ECMAScript

The API supports ECMAScript features like async functions, promises, classes, JS modules, iterators, etc. during development.

Latest rendering technologies

Leverages SVG, WebGL, and HTML Canvas to draw diagrams—exclusively, simultaneously, or switched dynamically. It's your choice. Spice up your styling with CSS, animations, and transitions.

Flexible Deployment

Develop with your favorite toolchain!
Use Vite, esbuild, JS modules, Angular CLI, tsc, plain script loading, and more.

yFiles in action

Interactive demos

Our interactive demos, created with yFiles for HTML, work directly in your browser.

Interactive demos

Source-code demos

Explore our demos' source code on GitHub to kick start or improve your projects.

GitHub

Playground

Try yFiles' capabilities directly here in the playground.

graph.nodeDefaults.size = [70, 70]; graph.nodeDefaults.style = new ShapeNodeStyle({ shape: ShapeNodeShape.ELLIPSE, cssClass: "node", }); graph.nodeDefaults.labels.style = new LabelStyle({ shape: LabelShape.PILL, backgroundFill: "white", backgroundStroke: "1px solid #6A8293", font: "15px poppins", textFill: "#6A8293", }); graph.edgeDefaults.labels.style = new LabelStyle({ shape: LabelShape.PILL, backgroundFill: "#6A8293", backgroundStroke: "1px solid white", font: "15px poppins", textFill: "white", }); graphComponent.fitGraphBounds()

More information

Working resources

Find helpful resources like Developer's Guides, API documentation and videos.

Support hub

License information

Get the right license and accurate pricing information for your specific use case.

Licenses

Software license agreement

Read the terms and conditions for using yFiles in your projects.

SLA

11 reasons why web developers choose yFiles, the superior diagramming SDK

Getting started with yFiles

Tailored options for every step of your network visualization journey

Discover how easy it is to explore, evaluate, and implement yFiles for your projects. Whether you're looking to test it directly in your browser, build a prototype in your own environment, or invest in a long-term solution, yFiles offers straightforward options without hidden costs or commitments.
No subscription, no credit card required—just a quick start with your email address.

Test in Browser

Perfect for a quick hands-on experience with yFiles for HTML, the Playground lets you test its features, try out sample code, and get a feel for its powerful capabilities in real time. All you need is a browser; no downloads or installations necessary.

Explore yFiles directly in your browser using the yFiles Playground, no setup required.

Quick Start with AI

Already using an AI coding agent like Claude Code, Qwen, or GitHub Copilot? Skip the manual setup. The yFiles AI tools give your agent up-to-date knowledge of the yFiles for HTML API, so it can scaffold a working project straight from a single prompt.

Copy the prompt and paste it into your agent:

“ Fetch https://yfiles.com/agent-start.md and follow its instructions ”

Try for Free

Evaluate the complete yFiles SDK at no cost. Build prototypes in your own environment with full support from the yFiles core developers.

Start your free trial by visiting our evaluation center.

Buy the SDK

yFiles is available as a Term License, from a Single Developer License up to Project and Site Licenses—choose the tier that fits your team and project, with no royalties.

Not sure which tier fits, or need something more specific? We'll find the right solution together.

Got questions about
yFiles for HTML?

micha

Dr. Michael Baur

Team Lead HTML

Email: hello@yworks.com
Phone: +49 7071 9709050

Get in touch

Get started right away! Test yFiles for HTML free of charge.

Download yFiles now!

Choose your next steps

Get connected

Connect with our Customer Success Team regarding your ideas or projects.

Connect with the real graph drawing experts.

Dive deep

Get more detailed information about specific yFiles topics.

Download yFiles

Try yFiles free of charge.

Download the yFiles trial version.