Immersive Graph Visualization in 3D, AR & VR
Understand complex networks interactively—in any browser, in 3D or VR

Graphs and networks often contain complex structures that are difficult to grasp in two dimensions. A three‑dimensional or immersive representation adds depth and perspective, helping users recognize relationships and spatial groupings more intuitively.

Modern web technologies such as WebXR make it possible to explore graph data directly in augmented or virtual reality – without additional software installation. This opens new ways to present, teach, and analyze connections in data.

The concept can be seen in action in the browser‑based tool yEd Live, which demonstrates how network layouts created with yFiles can be viewed and explored in an interactive 3D or VR scene.

Typical applications include exploratory data analysis, educational visualizations, collaborative design sessions, and prototypes of AR/VR interfaces for web applications.

AR & VR Graph Visualization with yFiles and the yEd Live VR viewer

Why visualize graphs in augmented & virtual reality?

Graph and network data often become easier to interpret when viewed in three dimensions. Augmented and virtual reality add spatial perception and depth, offering new ways to explore complex connections.

Interactive 3D visualizations often help reveal hidden patterns and make structural correlations more apparent.

How it works — technical overview

Rendering stack

The visualization is based on standard web technologies. yFiles for HTML provides the graph model, layout algorithms, and data handling. The 3D and VR representation uses the A‑Frame framework, built on top of three.js, to render geometry and supply interaction components.

Data flow

Node positions are computed by yFiles using two‑ or three‑dimensional layouts. The resulting coordinates and attributes are passed to the 3D runtime, which generates nodes and edges as A‑Frame entities. Layouts such as the Organic layout make direct use of the additional spatial dimension.

Interaction and controls

In the 3D scene, A‑Frame components handle controller movements, pointer actions, and gaze‑based selection for operations like grabbing, scaling, or rotating graphs. If WebXR is available, users can enter AR or VR mode; otherwise a standard 3D view is provided.

Performance considerations

To maintain smooth interaction, instancing and level‑of‑detail techniques are applied, reducing geometric complexity at distance. For large networks, layouts can be recalculated asynchronously, and data can load progressively. Force‑based algorithms benefit from the third dimension to minimize overlaps.

Example: Exploring a diagram in AR/VR using yEd Live

yEd Live, which was developed using yFiles for HTML, demonstrates how graphs can be explored directly in three dimensions or immersive environments in the browser. The example below shows how to open an existing diagram in AR or VR mode—no installation required.

  1. Open yEd Live.
  2. Load a diagram (File → Open) or create one in the editor.
  3. From the main menu choose View → Show graph in virtual reality.
  4. A new 3D viewer window appears. If your device supports WebXR, AR/VR entry buttons are shown in the lower‑right corner.
  5. Select “Enter VR/AR” or use the interactive 3D view on desktop or mobile as a fallback. In VR mode, grab, rotate, and scale gestures are supported.

Quick tips

  • For large graphs, apply compact layouts or clustering before switching to 3D / VR.
  • If performance drops, reduce node size, simplify edges, or enable instancing in custom setups.
  • For headset use, ensure WebXR permissions in the browser and close other tabs for best performance.

Short developer note: minimal export idea

// Pseudocode: yFiles -> A-Frame geometry export (concept)
const nodes = graph.nodes.map(n => ({ id: n.id, pos: { x: n.x, y: n.y, z: n.z || 0 }, data: n.tag }));
const edges = graph.edges.map(e => ({ from: e.source.id, to: e.target.id }));
// send to 3D runtime (A-Frame): create entities for nodes and lines for edges
// For yEd Live this is handled internally; for custom apps use yFiles for HTML to compute positions and export them.

Try it — with yEd live

The demo is yEd Live — open yEd Live and enable View → Show graph in virtual reality to see your diagram directly in 3D/VR.

For a short walkthrough, watch the demo below.

load from YouTube

Typical use cases

  • Exploratory data analysis of complex networks
  • Educational visualizations and interactive lectures
  • Stakeholder presentations and demos
  • Collaborative walkthroughs in mixed/remote settings
  • Prototyping WebXR features for product UIs

Integration & developer notes

Recommended product: yFiles for HTML to compute geometry and apply layouts. Export positions and attributes to your WebXR runtime (A-Frame/three.js) and map nodes/edges to 3D entities.

Implementation tips: use instanced rendering for many nodes, simplify edges at a distance, perform layout asynchronously for large datasets, and provide a desktop fallback for non‑WebXR clients.

Standards: prefer WebXR where available; support WebVR fallbacks if required. Add accessibility alternatives and consider passive vs. active experiences depending on input availability.

Frequently Asked Questions

Do you have questions about AR/VR graph visualization?

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

Do you have questions about AR/VR graph visualization?

We´d love to help you. Reach out and we'll get in touch with you.

We are sorry, something went wrong. Please try again.
If the problem persists, please report the error to webmaster@yworks.com.
Thank you!

Your message has been sent.

About yFiles: The graph visualization SDK

yFiles playground graph drawing example

yFiles is your go-to SDK for crafting advanced graph visualizations, whether you're working with Web, Java, or .NET technologies. Its unmatched flexibility and scalability enable you to convert complex data into clear, actionable visuals, fitting for both enterprise and startup needs.

With yFiles, you're equipped for the future—supporting any data source while maintaining strong data security. Getting started is seamless, thanks to over 300 source-code demos, thorough documentation, and direct access to core developer support. These resources are available even during your free trial.

Backed by 25 years of graph drawing expertise, yFiles is trusted by top companies worldwide for their most critical visualization tasks.

yFiles Newsletter

Stay informed about yFiles, network visualization, and graph technology updates.

Join our newsletter

Recap

AR & VR Graph Visualization

Visualize graphs in augmented and virtual reality using yFiles for HTML together with modern WebXR tooling. The yEd Live VR viewer demonstrates the approach: yFiles computes layouts and geometry which are rendered in a WebXR-capable 3D runtime (A-Frame + three.js). This enables immersive, interactive exploration of complex network data with browser-based access and desktop fallbacks.

Benefits include improved readability through the third dimension, flexible perspectives, interactive manipulation, and scalable strategies for handling large graphs. Use cases range from exploratory analysis and teaching to stakeholder demos and prototype integrations into web applications.

Related content

Got questions about
AR & VR Graph Visualization?

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

Get in touch

Ready to build your data visualization app?

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.