reaviz / reaflow

🎯 React library for building workflow editors, flow charts and diagrams. Maintained by @goodcodeus.

Home Page:https://reaflow.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Any simple examples of custom nodes

ronnyek opened this issue · comments

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[x ] Other... Please describe: QUESTION

I don't have questions or problems about a specific version, hence the questions about version, browser, node, react versions aren't super applicable (in my opinion)

I see in documentation a reference to a project that does draw custom components in nodes, but I wonder if there exists a simpler example that doesn't have the complexity of having other libraries and frameworks involved, making things more difficult to understand what is required.

Did you look at this example? https://reaflow.dev/?path=/story/demos-nodes--foreign-objects
Paired with this doc: https://reaflow.dev/?path=/story/docs-advanced-custom-nodes--page

For me, that was sufficient to get me going on custom nodes, and there are no other libraries needed.