fix: ui for DOT

This commit is contained in:
Oarkflow
2024-10-16 19:59:21 +05:45
parent dc5964c5a4
commit 6f44a7ec25
3 changed files with 46 additions and 23 deletions

View File

@@ -44,7 +44,7 @@ func main() {
// Classify edges
// d.ClassifyEdges()
fmt.Println(d.SaveSVG("dag.svg"))
fmt.Println(d.ExportDOT())
requestHandler := func(requestType string) func(w http.ResponseWriter, r *http.Request) {
return func(w http.ResponseWriter, r *http.Request) {