@eclipse-glsp/graph
Version:
The typescript implementation of the GLSP graphical model (GModel)
16 lines • 664 B
TypeScript
import { GEdgeLayoutable, GEdgePlacement } from './gedge-layoutable';
import { GLayouting } from './glayouting';
import { GShapeElement, GShapeElementBuilder } from './gshape-element';
export declare class GNode extends GShapeElement implements GEdgeLayoutable, GLayouting {
static builder(): GNodeBuilder;
type: string;
edgePlacement?: GEdgePlacement;
layout?: string;
[GEdgeLayoutable]: boolean;
[GLayouting]: boolean;
}
export declare class GNodeBuilder<G extends GNode = GNode> extends GShapeElementBuilder<G> {
edgePlacement(placement: GEdgePlacement): this;
layout(layout?: string): this;
}
//# sourceMappingURL=gnode.d.ts.map