1.0.23 • Published 7 months ago

ngx-reactflow v1.0.23

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Reactflow wrapper for Angular

npm npm npm downloads GitHub stars

This is a Reactflow wrapper library for Angular.

:warning: This library is still in alpha stages, some things may not work correctly.
If you find any bugs, please open a PR.

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

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>[] = [];
}
1.0.19

8 months ago

1.0.18

8 months ago

1.0.22

7 months ago

1.0.21

8 months ago

1.0.23

7 months ago

1.0.17

8 months ago

1.0.16

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.11

8 months ago

1.0.10

8 months ago

1.0.14

8 months ago

1.0.13

8 months ago

1.0.12

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago