UNPKG

ecljs

Version:

electric circuits library

29 lines (28 loc) 924 B
import { Size } from "dabbjs/dist/lib/size"; import { Rect } from "dabbjs/dist/lib/rect"; import { IFlowTermDefaults } from "./interfaces"; import { Flowchart } from "./flowchart"; import { FlowComp } from "./flowComp"; export declare abstract class FlowTerminational extends FlowComp { protected $: IFlowTermDefaults; /** * contains the main frame body, where full component size can be calculated */ get body(): SVGElement; /** * client rect where text should be safely contained */ get clientRect(): Rect; constructor(flowchart: Flowchart, options: { [x: string]: any; }); /** * @description refreshes flowchart location, size, and updates bonded cmoponents */ refresh(): FlowTerminational; /** * @description perform node readjustment, it calls this.refresh() function * @param size new size */ onResize(size: Size): void; }