Drawflow icon indicating copy to clipboard operation
Drawflow copied to clipboard

I'm using labels, but have problem when label position is in left side, is there any way to fix this issue?

Open mushzak opened this issue 2 years ago • 10 comments

image image

mushzak avatar Sep 21 '23 08:09 mushzak

@jerosoler can you check please?

mushzak avatar Oct 03 '23 11:10 mushzak

I see that you use the vertical method. You could use: https://github.com/jerosoler/Drawflow/issues/20

And detect the start and the end of the line at position x. I invert the line in the direction of the line.

jerosoler avatar Oct 03 '23 17:10 jerosoler

label is reversed, can I fix it? only when in left side

mushzak avatar Oct 04 '23 07:10 mushzak

@jerosoler do you have any ideas?

mushzak avatar Oct 16 '23 12:10 mushzak

Have you tried the previous comment?

jerosoler avatar Oct 16 '23 12:10 jerosoler

yeah but I need to keep the current style image

mushzak avatar Oct 16 '23 12:10 mushzak

What formula do you use for labels?

jerosoler avatar Oct 16 '23 13:10 jerosoler

image

mushzak avatar Oct 16 '23 13:10 mushzak

I think that with the textpath property it is impossible.

I have checked several properties and see nothing. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath

Maybe it should be added directly to the connection.

jerosoler avatar Oct 16 '23 13:10 jerosoler

image image

Looks awesome, can i have the css for this? :)

vnomohan avatar Nov 08 '23 17:11 vnomohan