import {VertexKey} from '../types'; export interface IGraph { createVertex(key: VertexKey, val?: V): VO; createEdge(srcOrV1: VertexKey, destOrV2: VertexKey, weight?: number, val?: E): EO; }