plantuml / backlog

Contains all issues for plantuml that are not currently working-in-progress
0 stars 0 forks source link

Using stdin and stdout, get a broken png file when using dot syntax #24

Open aleung opened 7 years ago

aleung commented 7 years ago

This bug is found in https://github.com/markushedvall/node-plantuml/issues/11

@startdot
digraph foo {
  node [style=rounded]
  node1 [shape=box]
  node2 [fillcolor=yellow, style="rounded,filled", shape=diamond]
  node3 [shape=record, label="{ a | b | c }"]

  node1 -> node2 -> node3
}
@enddot

The generated png file is blank when open in some graph viewer.

cat test.puml | java -Djava.awt.headless=true -jar plantuml.jar -tpng -p > test.png