Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
0 answers
37 views

import dagre from 'dagre'; import { Node, Edge, Position } from 'reactflow'; export default function layoutDAG( nodes: Node[], edges: Edge[], dagType: 'T' | 'I' | 'D' ): { nodes: Node[]; edges: ...
Sindhu Kumari's user avatar
0 votes
1 answer
97 views

I am trying to create a react flow where you have 2 nodes with multipule edges. I have the following set up but it renders only 1 edge. How do I render all 3 edges? import ReactFlow from 'reactflow'; ...
Horrerblade's user avatar
0 votes
0 answers
49 views

I am building a ladder layout diagram application using ReactJS, React Flow, and ELK for layout. However, I’m encountering an issue with the layout generation. When I add a new node using ELK, the ...
mesh's user avatar
  • 184
0 votes
2 answers
268 views

I'm using React Flow with a custom collapsible tree structure inside a node. Each leaf node has a <Handle />. The edge that was connected to that handle stays in its previous screen position, ...
vishal's user avatar
  • 119
0 votes
1 answer
194 views

So my edges are not rendering (nodes work just fine), here are the checks that I have made: there is not any issue with id's, they are strings and they match the nodes ids the custom nodes work fine ...
DanLaurentiu's user avatar
2 votes
1 answer
211 views

I am trying to visualize the organization chart of our company, but there is a part that I have difficulty with and that is grouping. Since Reactflow sells this feature for a fee, I need to develop it ...
Avora's user avatar
  • 372
0 votes
0 answers
112 views

So, my react-flow code is throwing this error. it's probably a dumb mistake on my part. But it could be happening due to a conflict between the react versions. Although I tried using different react ...
ANKIT's user avatar
  • 1
0 votes
1 answer
324 views

This is the example React Flow uses to showcase Dagre horizontal layout node 2c is in front of node 3. I want node 2 and its children and node 3 on different rows. Like this: ...
Kadiem Alqazzaz's user avatar
1 vote
1 answer
287 views

I am trying to make a button on a react flow node that switches the type of the handles (target or source) and it does not work. In the devtools i can see that the handles ares switching types, but ...
HypergoatTheGr8's user avatar
1 vote
0 answers
254 views

The documentation states that 'zoomActivationKeyCode' defaults to Meta, which corresponds to the Command key on Mac. However, scrolling with the wheel to zoom doesn't work as expected; instead, it ...
benxha's user avatar
  • 61
0 votes
0 answers
186 views

I am new to Reactflow and trying to make this basic drag-drop workflow builder to work but I m not able to drag-drop my nodes from left to right panel. page renders ok. I am able to drag the nodes but ...
SAUH's user avatar
  • 11
0 votes
2 answers
1k views

I'm using React Flow to build a node-based diagram interface. When I render the diagram and apply fitView, the react-flow__renderer does not start at the top-left corner (0,0). Instead, there's an ...
said al hendi's user avatar
1 vote
0 answers
318 views

Is it possible to wrap reactflow in a scrollable container:Row direction: I have the following component that I created for my reactflow nodes,I am using custom Nodes to render the view for the ...
RileyManda's user avatar
  • 2,679
0 votes
1 answer
129 views

So what I am trying is, I have a dialogflow cx phone-gateway setup and a react project and python backend. What I'm trying is when I load the frontend page, it calls the backend which gets the ...
Dilip Badal's user avatar
0 votes
1 answer
444 views

I am trying to export my diagram like flowchart to VSDX file but, I have not found a single lead on How can I do that. also there is no such thing like structure of VSDX file or anything available. I ...
jenish963's user avatar
-1 votes
1 answer
220 views

Description I'm developing a front-end for an epidemic modeling framework I've created in Python, and I'm currently struggling with adding customized labels to my edges. The error message: Error: ...
Advanced Mathusiast's user avatar
1 vote
2 answers
2k views

I am new at react flow. My goal is connect to nodes with same type. I want to have one template for node and use it everywhere. Below simple example, but edges doesn't appear. If i remove type in ...
David Abramov's user avatar
2 votes
0 answers
514 views

Using react-flow to develop a flow I am able to get the nodes but I am facing issue with the edges while rendering. It is giving the error react-flow:800 as "typeof.js:9 [React Flow]: Couldn't ...
Medisetti Alekya's user avatar
1 vote
0 answers
595 views

I can't drop a node as a child of another node when drop from a external sidebar. I try two attempts. I was inspired in doc. In onDrop function I put this code trying that one of them works Collision ...
Dario Muñoz's user avatar
0 votes
1 answer
1k views

I am working with React Flow and I am trying to achieve a behavior where dragging a node also moves all the nodes connected to it as children. Does anyone know of a solution that would allow for this? ...
Pyot's user avatar
  • 409
0 votes
1 answer
229 views

I am complete beginer in SVG and React, I am working on a reactflow app to design a low-code tool to produce DAGs. I have nodes with different colors for source and target handles and I used this ...
sylvain471's user avatar
9 votes
5 answers
5k views

When we draw a line on draw.io it provides a feature to shape the line by providing a handle in the middle that can be dragged to adjust the shape of the line. When that handle is dragged two straight ...
Alok Abhijeet's user avatar
0 votes
1 answer
2k views

I want to retrieve the data from two nodes when I connect them in reactflow App. I want to do this in the on connect function. I currently have this function. function Flow() { const [elements, ...
Harvey's user avatar
  • 826
0 votes
2 answers
3k views

I created a react (version 18) application with next.js with typescript it was working fine when running the application npm run dev working fine, but after installing the react flow npm install ...
imjayabal's user avatar
  • 831
3 votes
1 answer
7k views

Is it possible to lock the interactivity in react flow charts programmatically, I want to make the chart non movable, and any component inside the chart no to do any interactivity, just a state of ...
Boja Raju's user avatar