UNPKG

@biothings-explorer/query_graph_handler

Version:
28 lines (27 loc) 676 B
export = QEdge; declare class QEdge { /** * * @param {string} id - QEdge ID * @param {object} info - QEdge info, e.g. subject, object, predicate */ constructor(id: string, info: object); id: string; predicate: any; subject: any; object: any; expanded_predicates: any[]; init(): void; getID(): string; getHashedEdgeRepresentation(): string; expandPredicates(predicates: any): any[]; getPredicate(): any[]; getSubject(): any; getObject(): any; isReversed(): boolean; getInputCurie(): any[]; getInputNode(): any; getOutputNode(): any; hasInputResolved(): any; hasInput(): any; }