UNPKG

transitive-js

Version:

A tool for generating dynamic stylized transit maps that are easy to understand.

22 lines (21 loc) 538 B
/** * A superclass for a Transitive network rendering engine. */ export default class Renderer { /** * Renderer constructor * @param {Object} transitive the main Transitive object */ constructor(transitive: Object); transitive: Object; render(): void; /** * Does not need to be implemented by subclass */ sortElements(): void; /** * Does not need to be implemented by subclass */ focusPath(path: any): void; isDraggable(point: any): boolean; }