Skip to content

Commit

Permalink
Don't unnecessarily update node/edge renderers in graphs (#11808)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpap committed Nov 17, 2021
1 parent c2d6aab commit da7d07a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bokehjs/src/lib/models/renderers/graph_renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ export class GraphRendererView extends DataRendererView {
edge_renderer.glyph.ys = {expr: edge_coords.y}
node_renderer.glyph.x = {expr: node_coords.x}
node_renderer.glyph.y = {expr: node_coords.y}

this.model.edge_renderer = edge_renderer
this.model.node_renderer = node_renderer
}

override remove(): void {
Expand Down

0 comments on commit da7d07a

Please sign in to comment.