-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
I'm trying to render graph to svg file. My code:
func main() {
ctx := context.Background()
g, err := graphviz.New(ctx)
if err != nil {
panic(err)
}
graph, err := g.Graph()
if err != nil {
panic(err)
}
n1, _ := graph.CreateNodeByName("xx")
n2, _ := graph.CreateNodeByName("yy")
graph.CreateEdgeByName("e1", n1, n2)
if err := g.RenderFilename(ctx, graph, graphviz.SVG, "test.svg"); err != nil {
panic(err)
}
}I got an error: module closed with exit_code(1). It failed when call wasm function, how can I debug this error?
I test this on my Macbook pro and linux server, both failed.
go version
go version go1.23.4 darwin/arm64
go version
go version go1.22.8 linux/amd64aogail and SBBTD
Metadata
Metadata
Assignees
Labels
No labels