Module: DOT
- Defined in:
- lib/rdoc/dot/dot.rb
Defined Under Namespace
Classes: DOTDigraph, DOTEdge, DOTElement, DOTNode, DOTPort, DOTSimpleElement, DOTSubgraph
Constant Summary collapse
- NODE_OPTS =
options for node declaration
[ 'bgcolor', 'color', 'fontcolor', 'fontname', 'fontsize', 'height', 'width', 'label', 'layer', 'rank', 'shape', 'shapefile', 'style', 'URL', ]
- EDGE_OPTS =
options for edge declaration
[ 'color', 'decorate', 'dir', 'fontcolor', 'fontname', 'fontsize', 'id', 'label', 'layer', 'lhead', 'ltail', 'minlen', 'style', 'weight' ]
- GRAPH_OPTS =
options for graph declaration
[ 'bgcolor', 'center', 'clusterrank', 'color', 'compound', 'concentrate', 'fillcolor', 'fontcolor', 'fontname', 'fontsize', 'label', 'layerseq', 'margin', 'mclimit', 'nodesep', 'nslimit', 'ordering', 'orientation', 'page', 'rank', 'rankdir', 'ranksep', 'ratio', 'size', 'style', 'URL' ]
Instance Method Summary collapse
-
#change_tab(t) ⇒ Object
if we don't like 4 spaces, we can change it any time.
Instance Method Details
#change_tab(t) ⇒ Object
if we don't like 4 spaces, we can change it any time
8 9 10 11 |
# File 'lib/rdoc/dot/dot.rb', line 8 def change_tab( t ) $tab = t $tab2 = t * 2 end |