Change Overview's selection box

How can the Overview’s selection box color be changed from it’s default of Magenta? I tried this:

    this.overview = $(go.Overview, "workflow_overview", {
        observed: this.diagram
    });
    this.overview.box.stroke =  $(go.Brush, go.Brush.Linear, { 0.0: "blue", 1.0: "red" });

and nothing changed. Any ideas would be very helpful

That’s almost right. The Overview.box is a Part, not a Shape. So you could do:

    this.overview.box.elt(0).stroke = ...
1 Like

That was it thanks.