projectstorm / react-diagrams

a super simple, no-nonsense diagramming library written in react that just works
https://projectstorm.cloud/react-diagrams
MIT License
8.65k stars 1.17k forks source link

DefaultNodeModel JSX #872

Closed amrit981 closed 3 years ago

amrit981 commented 3 years ago

Is it possible to create a node with images or jsx component. I am trying but unable to pass any

vadimshvetsov commented 3 years ago

Hi. Could you provide more context? You could implement your own node model with extending NodeModel and create your own NodeWidget with images or any jsx component.