All Projects → Talend → react-flow-designer

Talend / react-flow-designer

Licence: other
This repository has been archived and the code has been moved to https://github.com/Talend/ui

Programming Languages

typescript
32286 projects
groovy
2714 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to react-flow-designer

Vditor
♏ 一款浏览器端的 Markdown 编辑器。
Stars: ✭ 1,742 (+5906.9%)
Mutual labels:  flowchart
container-flow-chart
Immediately create your own unique variation of this popular C++ 11 Standard Container Flowchart at https://drive.google.com/file/d/1wAUsTIeKRgSfo0m-3rR4P6Boi3FuixEk/view
Stars: ✭ 12 (-58.62%)
Mutual labels:  flowchart
Mxgraph-EasyFlowEditor
基于mxGraph+vue设计的流程图编辑器
Stars: ✭ 73 (+151.72%)
Mutual labels:  flowchart
Diagram Maker
A library to display an interactive editor for any graph-like data.
Stars: ✭ 2,086 (+7093.1%)
Mutual labels:  flowchart
flowjs
FlowJS allows you to render dynamic, animated flow charts using HTML5 canvas
Stars: ✭ 51 (+75.86%)
Mutual labels:  flowchart
bpmn
BPMN diagrams in R
Stars: ✭ 16 (-44.83%)
Mutual labels:  flowchart
Editor.md
The open source embeddable online markdown editor (component).
Stars: ✭ 11,741 (+40386.21%)
Mutual labels:  flowchart
react-direct-graph
📏 React component for drawing direct graphs with rectangular (non-curve) edges.
Stars: ✭ 25 (-13.79%)
Mutual labels:  flowchart
mermaid.ink
Given a mermaid code (markdown-like), serve an image for you
Stars: ✭ 43 (+48.28%)
Mutual labels:  flowchart
Mermaid
Provides a parser function to generate diagrams and flowcharts with the help of the mermaid script language
Stars: ✭ 27 (-6.9%)
Mutual labels:  flowchart
Wireflow
Wireflow - user flow chart real-time collaborative tool
Stars: ✭ 2,788 (+9513.79%)
Mutual labels:  flowchart
Warewolf
Effortless Microservice Design and Integration. This repository includes the code-base for the Warewolf Studio and Server.
Stars: ✭ 238 (+720.69%)
Mutual labels:  flowchart
flowchart-angular6
一个基于jsplumb的使用angular6写的一个可拖拽的流程图实例
Stars: ✭ 46 (+58.62%)
Mutual labels:  flowchart
Flowchart Fun
Easily generate flowcharts and diagrams from text ⿻
Stars: ✭ 2,311 (+7868.97%)
Mutual labels:  flowchart
imove
INACTIVE: Move your mouse, generate code from flow chart
Stars: ✭ 3,598 (+12306.9%)
Mutual labels:  flowchart
Flowchart Vue
flowchart的vue版本
Stars: ✭ 136 (+368.97%)
Mutual labels:  flowchart
dragonfly-dag
完全支持Vue3和Vitejs的DAG流程图组件
Stars: ✭ 54 (+86.21%)
Mutual labels:  flowchart
dashboard
Interactive UI for analyzing Jina logs, designing Flows and viewing Hub images
Stars: ✭ 105 (+262.07%)
Mutual labels:  flowchart
codeX
CodeX is a platform which converts code into easy to understand language.
Stars: ✭ 46 (+58.62%)
Mutual labels:  flowchart
git-pretty
🤖 A helpful CLI for your git troubles!
Stars: ✭ 29 (+0%)
Mutual labels:  flowchart

The code has been moved to https://github.com/Talend/ui

Codacy Badge Build Status

dependencies Status

Coverage Status

Datastream Designer

Use D3 for calculations. Redux is used as default state manager, still underlying pure component has been exposed to be used in a non-opiniated maner.

Designed inside dataflow webapp but meant to be used as a module.

How to use it

Use the rendering component

import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import configureStore from './store/configureStore';

import { DatastreamDesigner } from './datastream_designer/';

const store = configureStore();

render(
	<Provider store={store}>
		<DatastreamDesigner />
	</Provider>,
	document.getElementById('app'),
);

integrate the reducer into your redux data store

import { combineReducers } from 'redux';
import { routerReducer } from 'react-router-redux';

import { datastreamDesignerReducer } from '../datastream_designer/';

const rootReducer = combineReducers({
	routing: routerReducer,
	datastream: datastreamDesignerReducer,
});

export default rootReducer;

the datastream_designer module expose its components, reducers, and action type constants.

Action type constants are exposed for the sake of listening to them and add new feature to your application arround the datastream designer.

Exemple a reducer listening for 'DATASTREAM_DESIGNER_NODE_SELECTED' could trigger a form so you can edit the node data.

Redux API

the idea is to reduce the surface api of the redux action, encouraging batching multiple transformation in a transaction

Graph

  • Graph
    • transaction [List<Action<Node|Link|Port>>]
  • Node
    • add NodeRecord
    • update NodeRecord
    • delete NodeRecord
    • moveStart nodeId Position
    • move nodeId Vector
    • moveEnd nodeId Position
  • Link
    • add LinkRecord
    • update LinkRecord
    • delete LinkRecord
  • Port
    • add PortRecord
    • update PortRecord
    • delete PortRecord

each of those action are intended to be used with the apply function

Each of those action are backed by the graph API wich check graph integrity, if one action fail to apply the whole transaction is void and the original graph is returned, one or many errors are logged.

special action for movement are kept for optimisation purpose, nothing prevent the user to update position via the update action

deprecate

removeNode removeNodeData setNodeData removeNodeGraphicalAttribute setNodeGraphicalAttributes setNodeType setNodeSize moveNodeToEnd applyMovementTo moveNodeTo startMoveNodeTo

Element API

Node

Link

Port

Graph

Data

Size

Position

Versioning and publication

The package is automatically published on npm as soon as a pull request is merged on the master with a different version.

DISCLAIMER: We don't control the version, you have to ensure you don't have an old version compared to the master, and you need to follow semantic versioning to upgrade the version when needed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].