|
|
Строка 3: |
Строка 3: |
| * Russian (on other non-ascii Unicode labels). | | * Russian (on other non-ascii Unicode labels). |
| * Surround record separator «|» with spaces | | * Surround record separator «|» with spaces |
− | When Graphviz eats all spaces in record shape cell. | + | When Graphviz eats all spaces in label (in record-node). |
| | | |
| digraph G { | | digraph G { |
Версия 19:16, 8 июня 2006
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 label (in record-node).
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):|{ААА ААА ААА|ВВВ ВВВ ВВВ|ССС ССС ССС}"];
}