@@ -3,8 +3,6 @@ import { ThemeColor } from "vscode";
33import Configuration from "../../../configuration" ;
44import { DoveNodeView } from "./doveNodeView" ;
55import { Styles } from "../../cytoscape" ;
6- import * as vscode from 'vscode' ;
7- import * as path from 'path' ;
86
97export interface ExplainNode {
108 id : number ;
@@ -18,7 +16,7 @@ export interface ExplainNode {
1816 highlights : NodeHighlights ;
1917 /** Context objects include advised indexes and statistics */
2018 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 */
2220 nodeContext : string ;
2321 styles : Styles
2422}
@@ -62,17 +60,11 @@ export class ExplainTree {
6260 private setNodeShape ( node : ExplainNode , shape :string ) {
6361 node . styles [ "shape" ] = shape
6462 }
65-
66- private setBackgroundImage ( node : ExplainNode , imagePath :string ) {
67- node . styles [ 'background-image' ] = imagePath
68-
69- }
7063
7164 private processNode ( index : number ) : ExplainNode {
7265 let state = new NodeProcessingState ( ) ;
7366 let node = this . newNode ( this . order [ index ] ) ;
7467 this . setNodeShape ( node , "roundrectangle" ) ;
75- // this.setBackgroundImage(node, `url("../../../../media/explain/racing-finish-svgrepo-com.svg")`)
7668
7769 for ( const data of this . flatNodes [ node . id ] ) {
7870 // When a DELTA_ATTRIBUTES_INDICATOR row is encountered, the rows following it provide new values for previously processed attributes,
0 commit comments