Bug 14470

Материал из CustisWiki
Перейти к: навигация, поиск

From http://www.graphviz.org/doc/info/attrs.html#k:escString

 In addition, if the associated attribute is label, headlabel or taillabel, the escape sequences "\n", 
 "\l" and "\r" divide the label into lines, centered, left-justified, and right-justified, 
 respectively.

But actually, this alignment works only for first two lines. Example:

 digraph G{ 
   leftjustified[shape=plaintext label="leftjustified\lline2\lline3"];
   rightjustified[shape=plaintext label="rightjustified\rline2\rline3"];
 }
 

[svg]

This bug tested on Windows and Linux Graphviz versions 2.0, 2.2, 2.6.

[_pw9_]

nvnv