Method: Graph#arrowtail

Defined in:
lib/graph.rb

#arrowtail(shape) ⇒ Object

Shortcut method for creating an arrowtail attribute.

Raises:



187
188
189
190
# File 'lib/graph.rb', line 187

def arrowtail shape
  raise ArgumentError, "Bad arrow shape: #{shape}" unless shape =~ ARROW_RE
  Attribute.new "arrowtail = #{shape}"
end