File size: 901 Bytes
bc20498
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# @xyflow/system

Core system that powers React Flow and Svelte Flow.

## Installation 

```sh 
npm install @xyflow/system
```

## What is this package about?

The @xyflow/system package was created to have a place for vanilla utils for React Flow and Svelte Flow. The package exports helpers for edge creation, pan and zoom, dragging of nodes, general utils and lots of types. All the helpers are specifically built for React Flow and Svelte Flow so it's probably not too interesting to use them with other libraries. 

### XYPanZoom

Adds zoom and pan for the pane. 

### XYDrag

Adds drag for nodes and selection.

### XYHandle 

Adds connection line drawing.

### XYMinimap 

Adds interactive mini map (zoom and pan).

### Edge utils 

Util function for SVG edge path creating.

### Store utils

Helpers for store functions.

### Dom utils

### Marker utils

### Graph utils

### General utils