UNPKG

dependency-graph-construction

Version:

A powerful tool to construct dependency graphs for JavaScript and TypeScript projects. Useful for project structure analysis and debugging.

22 lines (17 loc) 292 B
class Mode { constructor() { this.HOVER = 1; this.SELECT = 2; this.mode = this.HOVER; } setToHover() { this.mode = this.HOVER; } setToSelect() { this.mode = this.SELECT; } getMode() { return this.mode; } } export default Mode;