Working on a simple floorplan diagram in Angular 8 and using the Polyline Connector. I need help understanding how to edit the vertices of the polyline after the line has been initially created? Also how would I add a second polyline to my diagram?
public created(args: Object): void {
this.connector = { id: 'connector1', type: 'Polyline' };
this.diagram.drawingObject = this.connector;
this.diagram.tool = DiagramTools.DrawOnce;
this.diagram.dataBind();
}
html template:
<ejs-diagram #diagram id="diagram" width="100%" height="580px" [snapSettings]='snapSettings' (created)='created($event)'>
</ejs-diagram>