Search

ReGraph Basics

Getting Started

ReGraph is a library of React components and analysis functions for client-side visualization of connected data.

You can try out ReGraph in your browser by opening a live code Playground. When you're ready, use our tutorials to add ReGraph to your existing app or to create a brand new ReGraph app.

ReGraph contains two visualization components - a chart and a time bar.

The chart is designed to visualize relationships in connected datasets and it comes loaded with features such as combos or graph analysis to untangle, filter and analyze your data.

The time bar shows events over time. You can use it to filter chart items down to a certain time period, reducing chart clutter, or you can use it to highlight activity for a particular item.

ReGraph lets you show a chart or time bar by describing its state with a series of objects. State can mean a number of things to ReGraph, including:

  • The data to render
  • Node positions
  • Layout and animation rules
  • Viewport control
  • Options

This state is passed to the component via props and will queue an animated redraw for the chart.

Some state is derived internally by ReGraph, such as the current selection after a user clicks a node, or the node positions after a layout runs. ReGraph publishes these changes through the onChange event, so you can store them and pass them back as props.

ReGraph relies on immutability to maintain state and understand when changes occur. See the ReGraph Re-rendering section for details.

Data is loaded into ReGraph by passing a plain JavaScript object into the items prop. See the API Reference for all available props and data formats.

Terms of use

These terms do not alter or supersede any existing agreements between you (or your employer) and us.

By accessing or using any Content you agree to be bound by these Terms of Use. Please review these terms carefully before using the website.

The contents of this website, including but not limited to any text, code samples, API references, schemas, interactive tools, and other materials (collectively, the 'Content'), are made available for informational and internal evaluation purposes only. All intellectual property rights in the Content are reserved. No licence is granted to use the Content for any commercial purpose, or to copy, distribute, modify, reverse-engineer, or incorporate any part of the Content into any product or service, without our prior written consent.

This Content is provided “as is” and “as available,” without any representations, warranties, or guarantees of any kind, whether express or implied, including but not limited to implied warranties of merchantability, fitness for a particular purpose, non-infringement, or accuracy. To the fullest extent permitted by applicable law, we expressly exclude and disclaim all implied warranties, conditions, and other terms that might otherwise be implied.

We disclaim all liability for any loss or damage, whether direct, indirect, incidental, consequential, or otherwise, arising from any reliance placed on the Content or from your use of it, to the fullest extent permitted by applicable law. By continuing to access or use the Content, you acknowledge and agree to these terms.