jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.78k stars 743 forks source link

can we add only icon instead of boxes in drawflow class ? #621

Closed Co-Maheshh closed 1 year ago

Co-Maheshh commented 1 year ago

i want to add icons instead of boxes so i can drag icon and add into editor ?

how to convert boxes into circle ?

umnibot commented 1 year ago

If I understood your question correctly and you want to change the shape of the nodes, you can do it with border-radius

.drawflow .drawflow-node {
     border-radius: 50%;
}
jerosoler commented 1 year ago

Example of shapes: