UNPKG

@maxgraph/core

Version:

maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

27 lines (26 loc) 861 B
import HierarchicalLayoutStage from './HierarchicalLayoutStage.js'; import Cell from '../../../view/cell/Cell.js'; import SwimlaneLayout from '../SwimlaneLayout.js'; /** * An implementation of the first stage of the Sugiyama layout. Straightforward * longest path calculation of layer assignment * * @category Layout */ declare class SwimlaneOrdering extends HierarchicalLayoutStage { /** * Creates a cycle remover for the given internal model. */ constructor(layout: SwimlaneLayout); /** * Reference to the enclosing <HierarchicalLayout>. */ layout: SwimlaneLayout; /** * Takes the graph detail and configuration information within the facade * and creates the resulting laid out graph within that facade for further * use. */ execute(parent: Cell): void; } export default SwimlaneOrdering;