CO

Core

@reactflow/core

Core components and util functions of React Flow.

Charts
react
node-based UI
graph
diagram
workflow
react-flow
@reactflow/core
Charts
javascript
npm
Stars
38k
Weekly
0
Open issues
133
Bundle
~60 kB

Installation

npm install @reactflow/core

Code example

import { Core } from "@reactflow/core";

const data = [
  { name: "Jan", value: 12 },
  { name: "Feb", value: 18 },
];

export function Example() {
  return (
    <Core data={data} width={420} height={240}>
      {/* series / axes from Core */}
    </Core>
  );
}

Pros & cons

Pros

  • Actively maintained by webk1d
  • 0 weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~60 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 133 open issues on GitHub

FAQs

Alternatives & similar libraries