UNPKG

@maxgraph/core

Version:

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

27 lines (26 loc) 875 B
import HierarchicalLayoutStage from './HierarchicalLayoutStage.js'; import Cell from '../../cell/Cell.js'; import HierarchicalLayout from '../HierarchicalLayout.js'; /** * An implementation of the first stage of the Sugiyama layout. Straightforward * longest path calculation of layer assignment * * @category Layout */ declare class MinimumCycleRemover extends HierarchicalLayoutStage { /** * Creates a cycle remover for the given internal model. */ constructor(layout: HierarchicalLayout); /** * Reference to the enclosing <HierarchicalLayout>. */ layout: HierarchicalLayout; /** * 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 MinimumCycleRemover;