@@ -136,7 +136,7 @@ export class STextItem extends SObjectItem {
*/
constructor(parent: SGraphItem | null, str: string = "") {
super(parent);
- this._text = str;
+ this.text = str;
this._font = new SFont("sans-serif", 12);
this.height = 12;
}