Персональные инструменты
 

Graphviz eats spaces in records

Материал из CustisWiki

Версия от 19:11, 8 июня 2006; StasFomin (обсуждение | вклад)

Это снимок страницы. Он включает старые, но не удалённые версии шаблонов и изображений.
Перейти к: навигация, поиск

If:

  • we use «record» shape for nodes;
  • Russian (on other non-ascii Unicode labels).
  • Surround record separator «|» with spaces

When Graphviz eats all spaces in record shape cell.

digraph G { 
 rankdir=LR;  
 node[shape=record style=rounded];
 reclat[label="Ok with spaces (en):|{ AAA AAA AAA | BBB BBB BBB | CCC CCC CCC }"];
 recrus[label="Eats spaces (rus):|{ ААА ААА ААА | ВВВ ВВВ ВВВ | ССС ССС ССС }"];
 rusok [label="Ok with spaces (rus):|{ААА ААА ААА|ВВВ ВВВ ВВВ|ССС ССС ССС}"];
}

[svg]