@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.
32 lines (31 loc) • 915 B
TypeScript
import { FlowchartModel } from './flow-chart-model';
import { MatrixCellGroup } from './flow-chart-layout';
export declare class MatrixModel {
/** @private */
flowchartModel: FlowchartModel;
/** @private */
matrix: MatrixCellGroup[];
/** @private */
rowOffset: number[];
/** @private */
rowMaxDimension: number[];
/** @private */
siblingModel: MatrixModel;
constructor(model: FlowchartModel);
/**
* @private
* @returns {void} - Arranges the elements in the flowchart layout
*/
arrangeElements(): void;
private arrangeMatrix;
private shiftMatrixCells;
private findParentVertexCellGroup;
private translateMatrixCells;
private getObjectValues;
private setXYForMatrixCell;
private getSiblingDimension;
private createMatrixCells;
private groupLayoutCells;
private updateMutualSharing;
private compareLists;
}