lib/graphviz/node.rb
# Add a node and #connect to it.
# @param attributes [Hash] The associated graphviz attributes for the new node.
Add a node and #connect to it.
Add a node and #connect to it .
def add_node(name = nil, **attributes)
			node = @graph.add_node(name, **attributes)
			connect(node)
			return node
		end
def add_node ( name = nil , ** attributes ) node = @graph . add_node ( name , ** attributes ) connect ( node ) return node end
Add a node and #connect to it.
Add a node and #connect to it .
name
attributes
The associated graphviz attributes for the new node.
The associated graphviz attributes for the new node .