jgraph / mxgraph

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

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

Closed cdaria closed 4 years ago

cdaria commented 4 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 4 years ago

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