cgl
0.2.0
CGL
AbstractDiGraph
AbstractGraph
AdjacencyDiGraph
AdjacencyGraph
AdjacencyHash
AnyEdge
AnyGraph
BFSIterator
BinaryHeap
Color
DFSIterator
DiEdge
DiGraph
Directed
DotVisitor
Edge
EdgeError
EdgeIterator
Graph
GraphError
GraphIterator
GraphSourceIterator
Labelable
LabeledDiGraph
LabeledGraph
LDiEdge
LEdge
Undirected
Visitor
WDiEdge
WEdge
Weightable
WeightedDiGraph
WeightedGraph
WeightedLabeledDiGraph
WeightedLabeledGraph
class
CGL::DotVisitor(V)
CGL::DotVisitor(V)
Reference
Object
Included Modules
CGL::Visitor(V)
Defined in:
cgl/format/dot.cr
Constructors
.new
(graph : AnyGraph(V), io : IO)
Instance Method Summary
#generate
#visit
(edge : Undirected(V))
#visit
(edge : Directed(V))
#visit
(visitable)
Instance methods inherited from module
CGL::Visitor(V)
accept(graph : AnyGraph(V))
accept
,
visit(visitable)
visit
,
visit_edges? : Bool
visit_edges?
,
visit_vertices? : Bool
visit_vertices?
Constructor Detail
def self.
new
(graph :
AnyGraph
(V), io : IO)
#
Instance Method Detail
def
generate
#
def
visit
(edge :
Undirected
(V))
#
def
visit
(edge :
Directed
(V))
#
def
visit
(visitable)
#