@@ -14,7 +14,7 @@ class GraphLayoutManager {
1414
1515 async changeLayout ( ) {
1616 this . cache . data . selectedLayout = document . getElementById ( 'selectView' ) . value ;
17- await this . cache . ui . showLoading ( "Switching View " , this . cache . data . selectedLayout ) ;
17+ await this . cache . ui . showLoading ( "Switching Workspace " , this . cache . data . selectedLayout ) ;
1818 await new Promise ( resolve => requestAnimationFrame ( resolve ) ) ;
1919
2020 const currentLayout = this . cache . data . layouts [ this . cache . data . selectedLayout ] ;
@@ -50,7 +50,7 @@ class GraphLayoutManager {
5050 this . cache . bs . updateManualGroupButtonState ( ) ;
5151 this . cache . bs . refreshBubbleStyleElements ( ) ;
5252
53- this . cache . ui . info ( `Switched to view : ${ this . cache . data . selectedLayout } ` ) ;
53+ this . cache . ui . info ( `Switched to workspace : ${ this . cache . data . selectedLayout } ` ) ;
5454 }
5555
5656 async applyLayoutStyles ( layout ) {
@@ -138,14 +138,14 @@ class GraphLayoutManager {
138138 // Show dialog with clone vs template options
139139 const result = await Popup . layoutCreationDialog ( this . cache . DEFAULTS . LAYOUT_INTERNALS ) ;
140140 if ( ! result ) {
141- this . cache . ui . info ( "Creating view canceled" ) ;
141+ this . cache . ui . info ( "Creating workspace canceled" ) ;
142142 return ;
143143 }
144144
145145 // Check if name already exists
146146 let existing = Object . keys ( this . cache . data . layouts ) ;
147147 if ( existing . includes ( result . name ) ) {
148- this . cache . ui . error ( `View with name "${ result . name } " already exists.` ) ;
148+ this . cache . ui . error ( `Workspace with name "${ result . name } " already exists.` ) ;
149149 return ;
150150 }
151151
@@ -204,9 +204,6 @@ class GraphLayoutManager {
204204 // - Refreshing all UI elements
205205 await this . cache . lm . changeLayout ( ) ;
206206 } else {
207- // Create from template - apply layout algorithm once and store positions
208- this . cache . ui . info ( `Creating template view: ${ result . name } (${ result . templateType } )` ) ;
209-
210207 // Create the layout structure first
211208 this . cache . data . layouts [ result . name ] = {
212209 internals : null ,
@@ -231,7 +228,7 @@ class GraphLayoutManager {
231228 document . getElementById ( 'selectView' ) . value = result . name ;
232229 this . cache . data . selectedLayout = result . name ;
233230
234- await this . cache . ui . showLoading ( "Creating View " , `Applying ${ result . templateType } layout` ) ;
231+ await this . cache . ui . showLoading ( "Creating Workspace " , `Applying ${ result . templateType } layout` ) ;
235232
236233 // Clear the filter lock since this is a fresh template with no query
237234 this . cache . EVENT_LOCKS . FILTERS_LOCKED_BY_MANUAL_QUERY = false ;
@@ -278,14 +275,14 @@ class GraphLayoutManager {
278275 this . cache . bs . refreshBubbleStyleElements ( ) ;
279276
280277 await this . cache . ui . hideLoading ( ) ;
281- this . cache . ui . info ( `Created template view : ${ result . name } (${ result . templateType } )` ) ;
278+ this . cache . ui . info ( `Created Workspace : ${ result . name } (${ result . templateType } )` ) ;
282279 }
283280 }
284281
285282 async removeSelectedLayout ( ) {
286283 // Protect the "Default" layout from deletion
287284 if ( this . cache . data . selectedLayout === "Default" ) {
288- this . cache . ui . error ( "Cannot delete the Default layout ." ) ;
285+ this . cache . ui . error ( "Cannot delete the Default workspace ." ) ;
289286 return ;
290287 }
291288
0 commit comments