sparnatural
Version:
Visual client-side SPARQL query builder and knowledge graph exploration tool
27 lines (18 loc) • 619 B
text/typescript
import { Config } from "../ontologies/SparnaturalConfig";
export default interface ISpecificationEntry {
/**
* @returns The id (if JSON-LD) or URI of the entry
*/
getId():string;
getLabel(): string;
getTooltip(): string|undefined;
getIcon(): string|undefined;
getHighlightedIcon(): string|undefined;
getColor(): string|undefined;
getOrder(): string|undefined;
/**
* Returns the parents entries of this one. Usually there is only one such parent.
* Returns an empty array if there are no such parents (root entry)
*/
getParents():Array<string>;
}