UNPKG

note-graph

Version:

a generic visualization tool designed to show the structure of the document space and the relations between each doc

31 lines (30 loc) 827 B
export declare type GraphViewStyle = { /** canvas background */ background: string; fontSize: number; /** node highlighted border corlor */ highlightedForeground: string; node: { note: { regular: string; highlighted?: string; lessened?: string; }; unknown: string; }; link: { regular?: string; highlighted?: string; lessened?: string; }; hoverNodeLink: { highlightedDirection?: { inbound?: string; outbound?: string; }; }; }; export declare function getColorOnContainer(container: HTMLElement, name: any, fallback: any): string; export declare function getDefaultColorOf(opts?: { container?: HTMLElement; }): GraphViewStyle;