import { IAbstractGraph } from '../../interface/graph' ; export default abstract class EventController { protected graph : IAbstractGraph ; public destroyed : boolean ; constructor ( graph ) { this . graph = graph ; this . destroyed = false ; this . initEvents ( ) ; } protected abstract initEvents ( ) ; public abstract destroy ( ) ; }