class Graphimport { Graph } from "https://deno.land/x/drake@v1.7.0/lib/graph.ts"; Propertieserrors: string[]nodes: Map<string, string[]>MethodsprivatedfsVisit(node: string,discovered: Set<string>,finished: Set<string>,)addNode(node: string, adjacents: string[]): voidsearchForCycles()Search the graph for cycles. Each cycle contributes an error message to the list of errors. If no cycles are found the errors list will be empty.