Methods

GraphViz::Constants

Constants

EDGESATTRS

Const: Edge attributes

FORMATS

Const: Output formats

GENCS_ATTRS

E, N, G, S and C represent edges, nodes, the root graph, subgraphs and cluster subgraphs, respectively

GRAPHSATTRS

Const: Graph attributes

GRAPHTYPE

Const: graphs type

NODESATTRS

Const: Node attributes

PROGRAMS

Const: programs

RGV_VERSION

Public Class Methods

getAttrsFor( x ) click to toggle source
# File lib/graphviz/constants.rb, line 111
def self.getAttrsFor( x )
  list = {}
  GENCS_ATTRS.each { |k,v|
    list[k] = v[:type] if x.match( v[:usedBy] ) and not list.keys.include?(k)
  }
  list
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.