/** * 边设置选中或者未选中 * @param that * @param active ture/false */ export declare const edgeSetSelected: (that: any, active: boolean, update?: boolean, edgeLsit?: boolean) => number | undefined; /** * 改变边上的属性和set不同的是这个不调用render * @param that * @param attribute 属性 * @param useSet 是否为setAttribute * @returns */ export declare const edgeChangeAttribute: (that: any, attribute: any, useSet?: boolean) => boolean; export declare const edgeChangeAttributes: (that: any, attribute: any) => boolean; /** * 格式化边上的属性 * @param that * @param attribute 属性 * @param useSet 是否是setAttribute * @returns */ export declare const edgeInitAttribute: (that: any, attribute: any, useSet?: boolean) => any; /** * 获取source点 * @param that * @returns */ export declare const edgeGetSource: (that: any) => any; /** * 获取target点 * @param that * @returns */ export declare const edgeGetTarget: (that: any) => any; /** * 获取两点之间的中间控制点 * @param that * @returns */ export declare const edgeGetMiddlePoint: (that: any, withOutInit?: boolean, InitAttribute?: any) => { x: number; y: number; controlNodes: { cn1: { x: number; y: number; }; cn2: { x: number; y: number; } | undefined; }; };