jgraph / mxgraph

mxGraph is a fully client side JavaScript diagramming library
Other
6.79k stars 2.06k forks source link

Label isn't in correct position after adding direction:rtl style #497

Closed cdaria closed 3 years ago

cdaria commented 3 years ago

We use mxgraph for drawing workflow, and the label strings doesn't display on the workflow only in Arabic(have the style direction:rtl ), while they covered on the right of the page after upgrading mxgraph2.3.0.1 to 4.2.0. I find and test the jgraph example-- secondlabel.html which is similar to how we use The following screenshot shows the running result: the sencondlabels are beside to the rectangles, but they floats to the right after adding direction:rtl in graphContianer div. image After adding direction:rtl image I'm not sure if this is a bug or what. I was wondering if you would give me some advice.

davidjgraph commented 3 years ago

https://stackoverflow.com/help/how-to-ask