graphstream / gs-ui-swing

GraphStream Swing user interface
http://graphstream-project.org/
Other
25 stars 12 forks source link

Labels with multiple lines don't work #17

Open FeldrinH opened 10 months ago

FeldrinH commented 10 months ago

When doing something like node.setAttribute("label", "Line 1\nLine2") I expected to get Line 1 and Line 2 on two separate lines. Instead I got the lines concatenated on the same line (Line1Line2). This works as expected with the JavaFX renderer but not with the Swing renderer.