Graphviz running but not printing

Hey,

I’m trying to run the code below in VS code. I have graphviz installed and have the Julia graphviz pkg installed as well. The code runs without errors besides the graphviz part which gives the below error.

using Catlab

using Catlab.CategoricalAlgebra

using Catlab.Theories

using Catlab.Graphs

using Catlab.Graphics

@present SchGraph(FreeSchema) begin

V::Ob

E::Ob

src::Hom(E,V)

tgt::Hom(E,V)

end

g = Graph()

add_parts!(g, :V, 3)

add_parts!(g, :E, 4, src=[1,2,2,3], tgt=[2,3,3,3])

g

to_graphviz(g)

LoadError: MethodError: no method matching show(::IOStream, ::MIME{Symbol("text/vnd.graphviz")}, ::Catlab.Graphics.Graphviz.Graph)
The function `show` exists, but no method is defined for this combination of argument types.

Please make sure you are on the latest released version of Catlab and post the versions of Julia and your Pkg.status(). This code should work, so there is probably a version issue or package loading issue.