ArsMasiuk/qvge

DOT: newline detection in labels

Opened this issue · 2 comments

When I open a GraphViz (*.gv) file exported from Gramps, the \n in labels are not interpreted as newlines.

digraph GRAMPS_graph
{
  center="true"; 
  charset="utf8";    
  edge [len=0.5 style=solid fontsize=14];
  node [style=filled fontsize=14];    
  "I1111" [ shape="box" style="solid,filled" label="Any Name\nBirthday" ];    /* this is shown as 1 line instead of 2 */
  "F2222" [ shape="ellipse" style="filled" label="" ];
  "I1111" -> "F2222" [ arrowhead=normal arrowtail=none dir=both ];
/* ... */
  }

Fixed for 0.7.dev.

Merged back to trunk