jerosoler / Drawflow

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

How Can i want to add label as vertical center of connection line and also add background and border radius on this #868

Open parthsavaliya1 opened 1 month ago

parthsavaliya1 commented 1 month ago

Screenshot from 2024-05-28 10-01-50 I want to make like this

parthsavaliya1 commented 1 month ago

@jerosoler Can you please help here?

jerosoler commented 1 month ago

Virw

parthsavaliya1 commented 1 month ago

@jerosoler I already seen this but i want to add background-color and border-radius in label and i also want to show label vertical center As per i given in attached image.

Thanks.

parthsavaliya1 commented 1 month ago

@jerosoler is there any update here?

parthsavaliya1 commented 1 month ago

@jerosoler Can you please help here?

jerosoler commented 1 month ago

Try this method described in #18 and change with svg circle or html with svg foreignObject

parthsavaliya1 commented 3 weeks ago

I already try this method and how can i replace svg with html? If i replace svg with html and i change position of node then label position is not changed.

parthsavaliya1 commented 3 weeks ago

@jerosoler ?