ngx-diagrams
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.2.0.
23 lines (22 loc) • 714 B
TypeScript
import { NodeModel } from '../../models/node.model';
import { DefaultPortModel } from './default-port.model';
import { Observable } from 'rxjs';
export declare class DefaultNodeModel extends NodeModel {
name: string;
color: string;
height$: Observable<number>;
width$: Observable<number>;
constructor(name?: string, type?: string, id?: string, color?: string);
addInPort({ name, type, id, linkType }: {
name: string;
type?: string;
id?: string;
linkType?: string;
}): DefaultPortModel;
addOutPort({ name, type, id, linkType }: {
name: string;
type?: string;
id?: string;
linkType?: string;
}): DefaultPortModel;
}