ngx-diagrams
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.
15 lines (14 loc) • 422 B
TypeScript
import { DiagramModel } from '../models';
import { GraphLabel, NodeConfig, EdgeConfig } from 'dagre';
export interface DagreEngineOptions {
graph?: GraphLabel;
layout?: GraphLabel & NodeConfig & EdgeConfig;
/**
* Will also layout links
*/
includeLinks?: boolean;
}
export declare class DagreEngine {
constructor();
redistribute(model: DiagramModel, options?: DagreEngineOptions): void;
}