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

Commit

Permalink
Merge pull request #177 from PersonalKilljoy/master
Browse files Browse the repository at this point in the history
Fixed the lack of default AttributeDict argument in to_dot
  • Loading branch information
Keno committed May 19, 2015
2 parents 6de2f20 + 54c4e86 commit ebc5dd1
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit ebc5dd1

Please sign in to comment.