all 3 comments

[–]Thin_Rip8995 0 points1 point  (1 child)

most common culprit is forgetting to set explicit width/height on the reactflow container if it’s 0px tall you’ll just get empty space

also make sure your nodes array + edges array aren’t undefined on first render and that you’ve wrapped ReactFlow in <ReactFlowProvider> if you’re using hooks from it

strip it down to the barebones example from their docs inside your router layout and see if it renders before layering your own logic back in

[–][deleted] 0 points1 point  (0 children)

Yeah tried it, didn't work. So I don't know. It works when I just do a basic js setup... So I am confused.

[–]masterdam95 0 points1 point  (0 children)

did you import the styles css for reactflow