tsc fixes and rules
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
export function graphToDot(g) {
|
||||
import type { GraphModel } from "./components/Graph";
|
||||
|
||||
export function graphToDot(g: GraphModel): string {
|
||||
// Directed graph, use neato layout so we can use pos attributes
|
||||
const lines = [];
|
||||
lines.push('digraph G {');
|
||||
|
||||
Reference in New Issue
Block a user