1.1.0 • Published 7 months ago
ngx-reactflow v1.1.0
:warning: This library has been moved to ngx-xyflow!
Reactflow wrapper for Angular
This is a Reactflow wrapper library for Angular.
Installation
You can install the library with npm.
Angular 15+
# Install ngx-reactflow and dependencies
npm i ngx-reactflow reactflow react-dom react --save
# Install type definitions
npm i -D @types/react@18 @types/react-dom@18
You will also want to set
useDefineForClassFields: false
in your tsconfig.json
Getting started
Use NgxReactflow in your project:
import { Component } from '@angular/core';
import { ReactflowComponent } from 'ngx-reactflow';
import { Node, Edge } from 'reactflow';
@Component({
selector: 'app-test-component',
template: `<ngx-reactflow></ngx-reactflow>`,
imports: [
ReactflowComponent
],
standalone: true
})
export class TestComponent {
nodes: Node<any, string | undefined>[] = [];
edges: Edge<any>[] = [];
}
Using Custom nodes
1.1.0
7 months ago
1.0.19
2 years ago
1.0.18
2 years ago
1.0.22
2 years ago
1.0.21
2 years ago
1.0.23
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago