Returns options for arrows
(&self)
| 1102 | |
| 1103 | /// Returns options for arrows |
| 1104 | fn options_arrow(&self) -> String { |
| 1105 | let mut opt = String::new(); |
| 1106 | if self.arrow_scale > 0.0 { |
| 1107 | write!(&mut opt, ",mutation_scale={}", self.arrow_scale).unwrap(); |
| 1108 | } |
| 1109 | if self.arrow_style != "" { |
| 1110 | write!(&mut opt, ",arrowstyle='{}'", self.arrow_style).unwrap(); |
| 1111 | } |
| 1112 | opt |
| 1113 | } |
| 1114 | |
| 1115 | /// Returns options for text |
| 1116 | fn options_text(&self) -> String { |
no outgoing calls