2

I'm using dagre-d3 library for creating a flow path. I need to have custom component for every label but its not rendering react components, it however does render properly if the label is simple html. What do I need to do? Following is a sample of what I'm trying to achieve, the first node should be the component but its rendering a simple empty box in place of that:

CodeSandbox URL

Kartik Pawar
  • 35
  • 1
  • 5
  • I don't think the `dagre-d3-react` library you are using supports components as labels, however I do not think it would require a large code change so you might have some luck with a git issue. – Nathaniel Verhaaren Mar 06 '21 at 18:32

0 Answers0