Use this file to discover Exa products, pricing, evaluations, comparisons, use cases, agent interfaces, and technical documentation before exploring further.
React diagram libraries render nodes and connecting edges as interactive diagrams that users can drag, connect, and edit. A diagram component either leaves node placement to the application or arranges nodes with an automatic layout engine such as ELK. These libraries let workflow builders, process editors, and AI agent tools show flows of steps that users can change.
Popularity
React Flow has the most monthly downloads in this comparison, at 80.1M.
import * as go from 'gojs';
import { ReactDiagram } from 'gojs-react';
function initDiagram() {
const $ = go.GraphObject.make;
const diagram = $(go.Diagram,
{
'undoManager.isEnabled': true, // must be set to allow for model change listening
// 'undoManager.maxHistoryLength': 0, // uncomment disable undo/redo functionality model: $(go.GraphLinksModel, {
linkKeyProperty: 'key' // this should always be set when using a GraphLinksModel
})
});
diagram.nodeTemplate =
$(go.Node, 'Auto', // the Shape will go around the TextBlock
$(go.Shape, 'RoundedRectangle', { strokeWidth: 0, fill: 'white' },
// Shape.fill is bound to Node.data.color new go.Binding('fill', 'color')),
$(go.TextBlock,
{ margin: 8 }, // some room around the text
// TextBlock.text is bound to Node.data.key new go.Binding('text', 'key'))
);
return diagram;
}
export default function App() {
return <ReactDiagram initDiagram={initDiagram} style={{ width: 600, height: 400 }}
nodeDataArray={[{ key: 0, text: 'Alpha' }]} linkDataArray={[]} />;
}
@syncfusion/ej2-react-diagrams
Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts.
React Flow suits node-based editors with editable nodes, edges, and viewport controls. reaflow suits diagrams that need automatic graph layout. gojs-react suits diagrams with palettes and overviews under a commercial license for organizational use.
React Flow builds interactive node-based React interfaces with customizable nodes and edges. It includes MiniMap, Controls, and Background components.
No. React Flow needs an external layout library to arrange nodes automatically.
reaflow builds static and interactive React diagrams with automatic graph layout through ELKJS.
For coding agents
Found your diagram library? Help your agent use it.
Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.