UNPKG

cypher-engine

Version:

Cypher Engine to generate Cypher queries

88 lines (87 loc) 2.17 kB
export declare class Relation { id?: string | number; relationtype: string; properties: any; arrows: { to: { enabled: false; scaleFactor: [1, 0, 3, 0.05]; type: 'arrow'; }; middle: { enabled: false; scaleFactor: [1, 0, 3, 0.05]; type: 'arrow'; }; from: { enabled: false; scaleFactor: [1, 0, 3, 0.05]; type: 'arrow'; }; }; arrowStrikethrough: true; color?: { color: string; highlight: string; hover: string; inherit?: string; opacity: number; }; dashes: boolean; font: { color: ['color', '#343434']; size: [14, 0, 100, 1]; face: ['arial', 'verdana', 'tahoma']; background: ['color', 'none']; strokeWidth: [2, 0, 50, 1]; strokeColor: ['color', '#ffffff']; align: ['horizontal', 'top', 'middle', 'bottom']; }; hidden: false; hoverWidth: [1.5, 0, 5, 0.1]; labelHighlightBold: true; physics: true; scaling: { min: [1, 0, 100, 1]; max: [15, 0, 100, 1]; label: { enabled: true; min: [14, 0, 200, 1]; max: [30, 0, 200, 1]; maxVisible: [30, 0, 200, 1]; drawThreshold: [5, 0, 20, 1]; }; }; selectionWidth: [1.5, 0, 5, 0.1]; selfReferenceSize: [20, 0, 200, 1]; shadow: { enabled: false; color: 'rgba(0,0,0,0.5)'; size: [10, 0, 20, 1]; x: [5, -30, 30, 1]; y: [5, -30, 30, 1]; }; smooth: { enabled: true; type: [ 'dynamic', 'continuous', 'discrete', 'diagonalCross', 'straightCross', 'horizontal', 'vertical', 'curvedCW', 'curvedCCW', 'cubicBezier' ]; forceDirection: ['horizontal', 'vertical', 'none']; roundness: [0.5, 0, 1, 0.05]; } | boolean; width: number; to: any; from: any; label: any; displayname: string; _key: any; }