Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cgl
v0.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
MultiGraph
Undirected
Visitor
WDiEdge
WEdge
Weightable
WeightedDiGraph
WeightedGraph
WeightedLabeledDiGraph
WeightedLabeledGraph
Built with Crystal 1.9.2
2023-10-08 14:41:20 UTC
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)
#
[
View source
]
Instance Method Detail
def
generate
#
[
View source
]
def
visit
(edge :
Undirected
(V))
#
[
View source
]
def
visit
(edge :
Directed
(V))
#
[
View source
]
def
visit
(visitable)
#
[
View source
]