nidi3 / graphviz-java

Use graphviz with pure java
Apache License 2.0
934 stars 106 forks source link

not support arrow empty #166

Closed LinWanCen closed 4 years ago

LinWanCen commented 4 years ago

https://github.com/nidi3/graphviz-java/blob/2e3a7304e238faf2806adb0b7316d6bb5b39e426/graphviz-java/src/main/java/guru/nidi/graphviz/attribute/Arrow.java#L29-L40

digraph UML {
  rankdir=LR
  fontname = "Microsoft YaHei"
  node [fontname = "Microsoft YaHei"]
  edge [fontname = "Microsoft YaHei"]

  child -> parent
  [label = "Generalization
  extends"
  arrowhead = "empty"]
}

not support arrow empty

nidi3 commented 4 years ago

empty is the same as Arrow.NORMAL.open() but I might add some aliases like empty for convenience.