Method: Graph#label
- Defined in:
- lib/graph.rb
#label(name) ⇒ Object
Shortcut method to set the graph’s label. Usually used with subgraphs.
305 306 307 |
# File 'lib/graph.rb', line 305 def label name graph_attribs << "label = #{Graph.escape_label name}" end |