From cd61bb3402e90cf546b76cb8ab61fa360bd85b9b Mon Sep 17 00:00:00 2001 From: slwu89 <10673535+slwu89@users.noreply.github.com> Date: Thu, 15 Aug 2024 17:06:47 -0700 Subject: [PATCH] fix type in to_graphviz_property_graph --- src/graphics/GraphvizGraphs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/GraphvizGraphs.jl b/src/graphics/GraphvizGraphs.jl index 2388c954f..1f00b4e74 100644 --- a/src/graphics/GraphvizGraphs.jl +++ b/src/graphics/GraphvizGraphs.jl @@ -152,7 +152,7 @@ This function is an intermediate step in many methods of the generic function [`to_graphviz`](@ref), but can be useful in its own right for customizing the Graphviz graph beyond whatever options are supported by [`to_graphviz`](@ref). """ -function to_graphviz_property_graph(g::AbstractGraph; +function to_graphviz_property_graph(g::HasGraph; prog::AbstractString="dot", graph_attrs::AbstractDict=Dict(), node_attrs::AbstractDict=Dict(), edge_attrs::AbstractDict=Dict(), node_labels::Union{Symbol,Bool}=false, edge_labels::Union{Symbol,Bool}=false)