GP-757 - Function Graph - review fixes

This commit is contained in:
dragonmacher 2021-03-09 08:19:37 -05:00
parent 9e785c25ec
commit 859e09e4bc
3 changed files with 18 additions and 7 deletions

View file

@ -75,11 +75,18 @@ public class SatelliteGraphViewer<V extends VisualVertex, E extends VisualEdge<V
return new VisualVertexSatelliteRenderer<>();
}
/**
* The options for this viewer
* @param options the options
*/
public void setGraphOptions(VisualGraphOptions options) {
this.options = options;
optionsChanged();
}
/**
* Called to signal that the options used by this viewer have changed
*/
public void optionsChanged() {
setBackground(options.getGraphBackgroundColor());
}