UNPKG

@specs-feup/lara

Version:

A js port of the popular framework for building source-to-source compilers

18 lines 401 B
import Graphs from "./Graphs.js"; export default class Graph { /** * A Cytoscape graph */ graph; /** * Creates a new instance of the Graph class * @param graph - A Cytoscape graph */ constructor(graph) { this.graph = graph; } toDot(dotFormatter) { return Graphs.toDot(this.graph, dotFormatter); } } //# sourceMappingURL=Graph.js.map