File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
workbase/src/renderer/components/Visualiser Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ const methods = {
195195 const graknTx = await this . openGraknTx ( ) ;
196196 const result = ( await ( await graknTx . query ( query ) ) . collect ( ) ) ;
197197 if ( ! result . length ) {
198- this . $notifyInfo ( 'No results were found for your query!' ) ;
198+ // this.$notifyInfo('No results were found for your query!');
199199 return ;
200200 }
201201
@@ -214,6 +214,11 @@ const methods = {
214214 this . visFacade . addToCanvas ( data ) ;
215215 this . visFacade . fitGraphToWindow ( ) ;
216216 this . updateCanvasData ( ) ;
217+
218+ const nodesWithAttribtues = await VisualiserUtils . computeAttributes ( data . nodes ) ;
219+
220+ this . visFacade . updateNode ( nodesWithAttribtues ) ;
221+
217222 this . loadingQuery = false ;
218223
219224 // when neighbours are found construct edges and add to graph
You can’t perform that action at this time.
0 commit comments