Graph Visualization

Turn complex connected data into interactive graph visualizations that reveal relationships, structures, and patterns.

What is graph visualization?

Graph visualization is a way to visually represent the connections between entities in data. Typically, entities are represented as nodes and the connections between nodes are represented as edges. The resulting picture of these nodes and edges is a graph.

Graphs are everywhere, spanning use cases such as the graph of connections in a computer network, a social network, a fraud ring, steps in a process, or an organizational hierarchy.

A graph visualization representing a series of tweets

A graph visualization representing a series of tweets.

Why does graph visualization matter?

You've heard the saying “a picture is worth a thousand words,” and it is no different when dealing with large amounts of data. Graph visualization allows us to see the data and its connections.

But not every graph visualization is created equally.

By applying advanced graph visualization techniques such as custom, data-driven user interfaces, a graph can add context to your data and enable meaningful analysis in a way that reading tabular data or unformatted graphs cannot.

Drag the slider below to see the before and after.

Custom graphics and visualization techniques can transform tabular data into a highly informative graph visualization.

Effective graph visualization increases understanding

Effective graph visualization increases understanding.

Accelerate understanding with graph-based techniques

Graph drawings are becoming an increasingly important tool for helping enterprises understand their data. Graph structures occur throughout the natural world, and their visual form can make complex relationships easier to understand. Many well-vetted graph techniques are effective for modeling and problem-solving.

Today, graph visualization supports a range of business functions, technical disciplines, and industries, including business intelligence, digital transformation, digital engineering, manufacturing, finance, life sciences, and government.

Graph Visualization Tools in Tom Sawyer Perspectives

Tom Sawyer Software has spent decades perfecting graph visualization techniques in our graph platform, Tom Sawyer Perspectives.

Tom Sawyer Perspectives is a low-code graph visualization and analysis application development platform that enables developers to create custom graph applications for visualizing connected data.

Tom Sawyer Perspectives React-based web client framework and support for Web Components provide a rich, dynamic front-end rendering and interaction which can be easily integrated into web application environments such as React, Angular, or any other frameworks that support HTML and JavaScript. In addition, Tom Sawyer Perspectives Java and Swing components enable you to deploy powerful desktop applications. Tom Sawyer Perspectives .NET components also enable you to build powerful web and desktop applications in .NET.

Tom Sawyer Perspectives is optimized with high-speed graphics capabilities and HTML5 canvas graphics. Its extensive graph visualization customization features and advanced rendering framework provide flexibility in how nodes and edges are represented and ensure high performance when rendered in your graph application.

Tom Sawyer Perspectives also includes a set of features that help end users navigate and explore graph visualizations.

Create custom graph data visualizations with Tom Sawyer Perspectives

Tom Sawyer Perspectives advanced node and edge user interfaces (UIs) enable developers to define distinctive graphical appearances and interactive behaviors for graph elements based on the needs of graph application users.

Tom Sawyer Perspectives provides the following UI customization features:

A swimlane graph of a potential fraud ring.

A swimlane graph of a potential fraud ring.

 

Choose from pre-configured node and edge UIs.

 

Choose from pre-configured node and edge UIs

Tom Sawyer Perspectives provides a range of out-of-the-box node and edge UIs. Available node UI options include Activity Diagram, Class Diagram, Network, Organizational Chart, and Basic Shapes.

Edge UI options include straight, flowing, curved, dashed, and more, with or without arrows.

 

Use your own images.

 

Use your own images

If you require something other than the out-of-the-box node and edge UIs, you can upload a custom image and use the myriad of style, color, and font options to create a look that aligns with the mental map of your end users.

 

Customize edge UIs.

 

Customize edge UIs

Using edge templates, you can customize edge style, line thickness, color, and crossing style; add arrows; and more to be as precise as your visualizations require. When edge direction matters, configure edge UI properties differently for source and target nodes.

 

Apply different node and edge templates to highlight key entities.

 

Apply different node and edge templates to highlight key entities

Multiple node and edge templates give you flexibility to apply different UI templates in different situations. Node UIs can show status, properties, or adjust size or color based on the underlying data or as a result of graph analysis to draw the users attention to and highlight key results.

 

Customize node and edge colors.

 

Customize node and edge colors

Apply brand- or context-appropriate colors to node and edge UIs, including fill color, line color, and font color. Use the color-picker to choose from the standard color palette, or specify the color code. Perspective supports RGB, HSV, HSL, and CMYK color systems.

 

Customize font and font size.

 

Customize font and font size

Add text to your node and edge UIs, including dynamic text from model attributes, labels, and tooltips. Customize the look of text with font type, size, and text orientation. You can also choose to show multiple lines of text or truncate long strings.

Highlight key graph data with data-driven graphics

When working with dynamic data, visual cues can highlight important characteristics of graph elements. For example, capacity or load can be emphasized, as shown in this microwave network example.

In Tom Sawyer Perspectives, developers can define node and edge UI element properties that are evaluated when a UI is displayed. Using expressions composed of functions, the UI can be rendered differently based on the properties and attributes of each drawing element.

Supercharge your graphs with data-driven graphics


In this example, nodes are colored by location, edges are colored by load, and edge thickness reveals capacity so users see trouble spots at a glance.

Configure UIs with different levels of detail

Seeing the overall structure of a graph is important, but displaying too much information can make the graph difficult to read.

Tom Sawyer Perspectives supports level-of-detail UIs that display more or less information as users zoom in or out of a graph drawing.

first640

Zooming in and out shows more or less details for nodes in this graph. 

Explore data in more detail with the magnifier tool

Available for both drawing views and map views, the magnifier tool allows users to delve deeper into their graph visualizations by providing an interactive zoom function. Accessed through the magnifier toolbar item or as part of the Select tool, users then hold the Spacebar enabling them to interactively explore the finer details of their graphs.

Learn more by watching our easy how-to video on using the magnifier tool.

first640

The magnifier tool zooms into a portion of the drawing for closer inspection.

Navigate and maintain your bearings in large graphs with the Overview window

Users will find that maintaining their bearings in large graphs is simple with the Overview window. Resize the selection area to zoom into or out of the drawing, and move the selection area to change your focal position within the graph drawing.
first640

Navigate your graph drawing and zoom in and out with the overview window.

Enhance graph drawings with visual cues

Sometimes it's the small details that can make a big difference to your end users. Tom Sawyer Perspectives provides a comprehensive set of options that add additional value to your graph visualizations, including:

  • HTML-formatted tooltips

  • Selection highlighting

  • Hit-testing

  • Hover effects

A graph showing a selected node, a highlighted node, and a tooltip.

A graph showing a selected node, a highlighted node, and a tooltip.

 

Incorporate graph visualization tools into your application

Once the visualizations are in front of your end-users, having additional tools at their disposal can enhance their experience and support them as they work with visualizations.

Tom Sawyer Perspectives platform provides these features that you can include in the resulting application.

  • Customizable tools

  • Toolbars

  • Progress indicator

  • Controls for animation, cursor rendering, complexity, tooltips, scroll, and zoom behavior

  • Drawing view preferences that can be used to trigger automatic layout based on model changes or integrator updates

  • Custom mouse click, drag and release actions
Perspectives Designer toolbar customization options.
Tom Sawyer Perspectives Designer toolbar customization features.

Customizable toolbar options

Each application built with Tom Sawyer Perspectives can have multiple toolbars that are fully configurable and are tailored for the context in which they are used.

Mnemonics and shortcuts can be defined to activate toolbar items.

 

Customizable toolbar options

Customizable toolbar options

Examples of Tom Sawyer Perspectives toolbars.

Available toolbar options include:

  • Save as Image

  • Print Setup

  • Print Preview

  • Print

  • Open URL

  • Sign Out

  • Select

  • Pan

  • Navigate Links

  • Overview

  • Undo

  • Redo

  • Marquee Zoom

  • Interactive Zoom

  • Zoom In

  • Zoom Out

  • Zoom Fit

  • Magnifier
  • Layout Styles

  • Apply Analysis

  • Clear Analysis Results

  • Save Drawing

  • Load Drawing

Graph animations

Animation can help users preserve their mental map of the graph. When a user runs one of the graph layout styles, the layout can be animated as elements change position on the screen and the layout switches from one style to another. 
first640

An animation of a graph cycling through different graph layout styles.

Graph editing tools

Editing tools are available for adding, deleting, and moving nodes and edges. The tools can be activated through a toolbar option or selection action.

Make your application interactive with dialogs, context menus, and invokable views

Tom Sawyer Perspectives includes customizable dialogs for several types of user interactions:

  • Showing information

  • Asking the user for confirmation

  • Asking the user for input

You can also create a customizable, invokable dialog which can contain a drawing, inspector, table, tree, timeline, map, or chart view.

A context menu consists of a hierarchy of menu items that can be invoked with the selection of a node or edge, and you can choose from the prebuilt menu items that come with Tom Sawyer Perspectives, or you can use Perspectives APIs to add your own menu items.

An example application built with Tom Sawyer Perspectived showing an invokable view dialog.


An example application built with Tom Sawyer Perspectives showing an invokable view dialog.

Integrating graph visualization into your application

Tom Sawyer Perspectives supports both web- and desktop-based applications giving you the flexibility to build and deploy powerful data analysis and visualization applications in the environments that suit your infrastructure and workflow best.

Tom Sawyer Perspectives modern web client framework makes it easier for developers to integrate and build modern applications in React, Angular, and HTML.

Tom Sawyer Perspectives React APIs offer seamless integration into React applications with the application generation tool that automatically creates template source code, folder structure, and build scripts from your project definition.

Additionally, Tom Sawyer Perspectives Web Components encapsulates view components as extended and customizable HTML tags providing developers the freedom to build Tom Sawyer Perspectives applications using the web framework of their choice.

Tom Sawyer Perspectives desktop libraries provide the building blocks for developers to easily create applications in Java Swing and .NET.

React icon
Angular icon
HTML
Java Swing icon
Microsoft .NET icon

Advanced customization options

But wait, there's more! Take advantage of these additional graph application customization options.
Advanced JavaScript resources

Advanced JavaScript resources

For even more configurability, Tom Sawyer Perspectives supports JavaScript functions to invoke commands in your web application, such as Layout, ActivateTool, RunAnalyzer, OpenHtmlDialog, and many more.

JavaScript callback functions are supported, and you can use JavaScript functions when developing a web application in pure HTML or JavaScript, or when using Dojo, JQuery, Ext-JS, or another JavaScript framework to host Tom Sawyer Perspectives data visualizations.

In addition, React-based APIs support customers in either JavaScript or TypeScript environments.

You can find additional details in the documentation.

CSS Icon

Cascading Style Sheets (CSS)

When incorporating visualization into your existing application, you can use CSS to style your visualization components.

Inherit from your application CSS to adjust content size, spacing, color, and font or add decorative features, such as animations or split content into columns.

Get started today

Contact us for a demonstration and to learn how to apply graph visualization to your data projects.

FAQs about graph visualization

What types of graph visualization tools and software are available?

Graph visualization tools and software vary by use case, scale, and customization requirements. Some are designed for lightweight front-end visualizations, while others focus on graph database exploration, network analysis, or enterprise application development. Enterprise graph visualization software typically supports advanced graph layout, interactive exploration, customizable rendering, and integration with complex data environments.

How do you visualize a graph?

To visualize a graph, load or connect data that defines entities and their relationships, choose an appropriate graph layout, and configure the appearance of nodes and edges based on data attributes. Tom Sawyer Perspectives supports advanced graph layout, interactive exploration, and customization capabilities for building graph visualization applications.

What is the difference between a graph and a chart?

A chart displays quantitative values through elements such as bars, lines, or pie slices, often organized by axes or categories. A graph represents relationships between entities as nodes and edges. Charts are useful for comparing values, while graphs help users understand how entities are connected.

Can graph visualization connect to graph databases?

Yes. Graph visualization software can connect to graph databases and other enterprise data sources. Tom Sawyer Perspectives provides data integrators that allow developers to connect, visualize, and analyze data from supported graph databases, relational databases, and other data environments.

What are common graph visualization techniques?

Common graph visualization techniques include force-directed layouts for identifying clusters, hierarchical layouts for trees and reporting structures, orthogonal layouts for network diagrams, circular layouts for cyclic dependencies, and swimlane layouts for categorizing graph elements. Each technique highlights a different structural aspect of connected data.

When should you use graph visualization instead of traditional data visualization?

Use graph visualization when the most important insight depends on relationships, dependencies, paths, or network structures rather than isolated values. Traditional charts are useful for comparing quantities, while graph visualization helps users understand how entities connect, influence one another, or form larger patterns across complex systems.

What is the difference between graph visualization and graph analytics?

Graph visualization makes connected data visible and understandable through nodes, edges, layouts, and interactive views. Graph analytics applies algorithms to graph data to identify patterns, paths, centrality, communities, influence, or risk. The two capabilities often work together: graph analytics identifies important structures, while graph visualization helps users interpret and explore the results.