Class | DOT::DOTSubgraph |
In: |
lib/rgl/rdot.rb
|
Parent: | DOTGraph |
A subgraph is a nested graph element and is the same as a DOTGraph except that its header in dot notation has an identifier of subgraph instead of graph.
Creates a new DOTSubgraph with the params Hash providing settings for all graph options. The option_list parameter restricts those options to list of valid names it contains. The exception to this is the elements option which, if specified, must be an Enumerable containing a list of nodes, edges, and/or subgraphs.