@flxbl-io/sfp
Version:
sfp is a CLI tool to help you manage your Salesforce projects in an artifact centric model
15 lines (14 loc) • 395 B
TypeScript
export default class UndirectedGraph {
private _adjacencyList;
constructor();
get adjacencyList(): {
[p: string]: string[];
};
addVertex(name: string): void;
addEdge(vertexA: string, vertexB: string): void;
/**
* Returns vertices in graph, using depth-first search from the starting vertex
* @param start
*/
dfs(start: string): string[];
}