import { Class_NodeBase } from './NodeBase'; type draw_arrow_partFType = (node_face_size: number, position_node_face: number[], link_size: number, cumulative_link_size: number, horizontal: boolean, revert: boolean, arrow_length: number, node_arrow_shift: number, node_arrow_shift2: number) => string; /** * Class that handles all drawing and rendering operations for NodeElement shapes */ export declare class NodeDrawShape { private _node; constructor(node: Class_NodeBase); private getCapsulePath; private getHorizontalCapsulePath; /** * Draw node shape on d3 svg */ drawShape(): void; /** * Crée (ou recrée) un motif SVG de hachures pour ce nœud dans le conteneur de * defs partagé, et renvoie la référence `url(#...)` à utiliser comme * remplissage. Les traits reprennent la couleur du nœud sur fond transparent * (gaps), façon flux hachuré. L'orientation est obtenue en pivotant un motif * de traits verticaux (la rotation d'un motif périodique reste seamless). */ private applyHatchPattern; } /** * Function that return the path used to draw the arrow part corresponding to the * link. There are there cases * ____ * | | * \ | | / \ * | \ | | | arrowHalfHeight * |__\ | | | * arrowStart___ | \| | \ / * _____________|__ /| | * | / | | / \ * | / | | | linkSize * ______________/ | | \ / * |___| * x0-l x0 * * * @param {number} arrowHalfHeight : Half height of the arrow * @param {number[]} arrowStart * @param {number} linkSize * @param {number} arrowSizeAlreadyComputed * @param {boolean} horizontal * @param {boolean} revert * @param {number} arrow_length * @param {number} node_arrow_shift * @returns {string} */ export declare const draw_arrow_part: draw_arrow_partFType; export {};