Method: Graph#arrowhead
- Defined in:
- lib/graph.rb
#arrowhead(shape) ⇒ Object
156 157 158 159 |
# File 'lib/graph.rb', line 156 def arrowhead shape raise ArgumentError, "Bad arrow shape: #{shape}" unless shape =~ ARROW_RE Attribute.new "arrowhead = #{shape}" end |