@@ -3,8 +3,6 @@ import { ThemeColor } from "vscode";
3
3
import Configuration from "../../../configuration" ;
4
4
import { DoveNodeView } from "./doveNodeView" ;
5
5
import { Styles } from "../../cytoscape" ;
6
- import * as vscode from 'vscode' ;
7
- import * as path from 'path' ;
8
6
9
7
export interface ExplainNode {
10
8
id : number ;
@@ -18,7 +16,7 @@ export interface ExplainNode {
18
16
highlights : NodeHighlights ;
19
17
/** Context objects include advised indexes and statistics */
20
18
contextObjects : ContextObject [ ] ;
21
- /** Context to set when displaying t;his node, used to identify additional actions */
19
+ /** Context to set when displaying this node, used to identify additional actions */
22
20
nodeContext : string ;
23
21
styles : Styles
24
22
}
@@ -62,17 +60,11 @@ export class ExplainTree {
62
60
private setNodeShape ( node : ExplainNode , shape :string ) {
63
61
node . styles [ "shape" ] = shape
64
62
}
65
-
66
- private setBackgroundImage ( node : ExplainNode , imagePath :string ) {
67
- node . styles [ 'background-image' ] = imagePath
68
-
69
- }
70
63
71
64
private processNode ( index : number ) : ExplainNode {
72
65
let state = new NodeProcessingState ( ) ;
73
66
let node = this . newNode ( this . order [ index ] ) ;
74
67
this . setNodeShape ( node , "roundrectangle" ) ;
75
- // this.setBackgroundImage(node, `url("../../../../media/explain/racing-finish-svgrepo-com.svg")`)
76
68
77
69
for ( const data of this . flatNodes [ node . id ] ) {
78
70
// When a DELTA_ATTRIBUTES_INDICATOR row is encountered, the rows following it provide new values for previously processed attributes,
0 commit comments