Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Fixed the lack of default AttributeDict argument in to_dot #177

Merged
merged 1 commit into from
May 19, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function to_dot(graph::AbstractGraph, attrs::AttributeDict=AttributeDict())
end

# Write the dot representation of a graph to a stream.
function to_dot{G<:AbstractGraph}(graph::G, stream::IO,attrs::AttributeDict)
function to_dot{G<:AbstractGraph}(graph::G, stream::IO,attrs::AttributeDict=AttributeDict())
has_vertex_attrs = method_exists(attributes, (vertex_type(graph), G))
has_edge_attrs = method_exists(attributes, (edge_type(graph), G))

Expand Down