UNPKG

@syncfusion/ej2-diagrams

Version:

Feature-rich diagram control to create diagrams like flow charts, organizational charts, mind maps, and BPMN diagrams. Its rich feature set includes built-in shapes, editing, serializing, exporting, printing, overview, data binding, and automatic layouts.

40 lines (39 loc) 1.32 kB
import { NodeModel } from '../../objects/node-model'; import { FlowchartLayout, FlowChartVertex } from './flow-chart-layout'; export declare class FlowchartModel { private dfsCount; private maxRank; /** @private*/ layout: FlowchartLayout; private vertexMapper; /** @private*/ ranks: Map<number, []>; private rootNode; constructor(layout: FlowchartLayout, root: NodeModel, vertices: FlowChartVertex[]); private createInternalCells; /** * @Private * @returns { void } Initializes the ranks of the vertices .\ */ layeringStage(): void; private recycleConnectors; private initialRank; private fixRanks; /** * used to visit all the entries on the given dictionary with given function \ * * @returns { void } used to visit all the entries on the given dictionary with given function .\ * @param {InternalVertex[]} dfsRoots - provide the dfsRoots value. * @param {boolean} trackAncestors - provide the trackAncestors value. * @param {Map<number, []>} rankList - provide the rankList value. * @private */ private visit; private extendedDfs; private removeConnectionEdge; private invert; private remove; private isAncestor; private depthFirstSearch; private updateMinMaxRank; }