Building with KeyLines

Use JavaScript to build and deploy high performance graph visualization tools quickly

How does KeyLines work?

How does KeyLines work?

KeyLines is a JavaScript software development kit (SDK). You can use the technology to quickly build network visualization web components to embed in your applications.

These components use WebGL and HTML5 Canvas for fast performance, and harness a powerful event model and API of functionality to help make sense of data connections.

With detailed API documentation to help you, and a team of KeyLines developers providing support, it’s easy for you to build the custom visualization applications your users want.

Why Build with KeyLines?

Designed for performance

Every aspect of KeyLines is built for performance.

It uses fast, lightweight JavaScript, plus WebGL and HTML5 Canvas for powerful rendering across all browsers. Carefully optimized graph algorithms mean it can handle your biggest datasets.

Built for developers

We’ve designed KeyLines with a developer’s needs in mind.

The documentation is easy to follow and features downloadable example source code. If you need help, our developers provide expert support and we offer Training and Consulting.

It works in your existing environment

We’ve worked hard to ensure KeyLines apps ‘just work’ in any setup.

You can keep your existing servers and code in your preferred JavaScript framework. We also have integration guides to help you connect to your favorite database.

A powerful API

KeyLines includes a fully-documented API of functionality including real-time, dynamic and geospatial network support.

We run to a frequent release cycle, with multiple major releases each year, plus patches in between for enhancements and fixes.

Use your favorite JavaScript framework

Quick start guides and detailed demos help you get KeyLines up and running with your favorite JavaScript framework.

Angular
vuejs
angularjs

Using React? Check out ReGraph

Lightweight, secure and scalable

KeyLines is a front-end application that works seamlessly with any IT environment, so there’s no need to change your existing setup. You choose where to host it.

Fully agnostic, KeyLines works with virtually any data repository and your data never leaves your trusted network. For even stronger security between server and web browser, simply set up secure channel using SSL.

There’s no need for specialist visualization servers because KeyLines manages rendering at the front end. Even better: there are no compulsory external dependencies or plugins to install.

The architecture of a KeyLines application

KeyLines Architecture

Any browser, any device

KeyLines works in all major browsers on desktops, tablets or cell phones.

Supported browsers and devices

Trusted by developers

KeyLines has been deployed into hundreds of high profile applications around the world.

How the API works

Step 1: Download KeyLines

Add the keylines.js file to your new or existing JavaScript project.

Step 2: Connect to your data source

KeyLines is database agnostic, so you choose whatever datastore you want.

Step 3: Customize chart actions

Demos and a fully-documented API make it easy to work with every object, function, event and option.

Ready to try KeyLines?

To give you an idea of what to expect, here’s an example of a KeyLines demo combining filters, the chart and time bar elements.

//     Copyright © 2011-2019 Cambridge Intelligence Limited. 
//     All rights reserved
//     Sample Code - Exploring graph data in the time bar.
KeyLines.promisify();
KeyLines.create([
  { id: 'kl' },
  { id: 'tl', type: 'timebar' }
]).then(([chart, timebar]) => {
  // load data into both the time bar and the chart
  timebar.load(data).then(() => {
    timebar.zoom('fit');
  });
  
  chart.load(data);
  chart.layout();

  // When the time bar range changes
  timebar.bind('change', () => {
    // filter the chart to show only items in the new range
    chart.filter(timebar.inRange).then(() => {
      // and then adjust the chart's layout
      chart.layout('tweak');
    });
  });
});

Start a Trial

Integrate with your favorite database

KeyLines is flexible enough to work with virtually any database. If your data can be parsed into a JSON format, KeyLines can visualize it. To help you get started, we have built integrations with some of the most popular data storage and querying technologies.

Click a logo to find out more.

Want to find out more?

Our developer FAQ can help, or you can request a free trial.

Request a trial

From our blog

Our blog is full of useful materials and tutorials to help you make the most of the KeyLines SDK.

Adaptive graphs and flow visualization - June updates

Our toolkit updates for June, including adaptive graph styling, showing flow on links and the original layout reaching general availability.

How WebGL powers the best user experience

Let's focus on WebGL - what it is, how it works, and why performance is a key contributor to one of the most important goals of your application design: good user experience.

KeyLines 5.3: Faster performance & simplified code

Version 5.3 delivers the fastest KeyLines yet, thanks to major improvements to our WebGL rendering performance. We’ve also made it easier to manage your KeyLines lifecycle, revised our Vue framework

Visit the blog