tsc fixes and rules

This commit is contained in:
2026-02-28 01:10:14 +01:00
parent ae02080563
commit a643f24452
7 changed files with 26 additions and 13 deletions

View File

@@ -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 {');