An open API service indexing awesome lists of open source software.

https://github.com/knackstedt/ngx-xyflow

Angular wrapper of xyflow (formerly Reactflow)
https://github.com/knackstedt/ngx-xyflow

Last synced: 5 days ago
JSON representation

Angular wrapper of xyflow (formerly Reactflow)

Awesome Lists containing this project

README

        

# ngx-xyflow

> This project is currently in a beta phase and features will be added upon pull requests.
I will try to minimize breaking changes between minor version revisions but some may be made until we reach 1.0.0.

This project is a proper Angular wrapper of the React version of xyflow.

## Quickstart
### Install the Package
```bash
npm install ngx-xyflow
```

### Import the module into your component
```ts
import { Component } from '@angular/core';
import { XYFlowModule } from 'ngx-xyflow';

@Component({
selector: 'app-test',
template: '',
imports: [
XYFlowModule
],
standalone: true
})
export class TestComponent {
nodes = [];
edges = [];
}

```

## Examples

### Basic Configuration

```html




```

### Custom Nodes

```html






{{data.label}}



```