openrca / orca-ui

Web UI for OpenRCA
https://openrca.io
Apache License 2.0
33 stars 4 forks source link

Attribute transform error for large graph #91

Closed bzurkowski closed 4 years ago

bzurkowski commented 4 years ago

Large graph payload caused the following transform error:

Screenshot 2020-09-01 at 21 29 26

The corresponding lines in the code are:

    const g = svg
      .call(this.zoom.on('zoom', () => {
        g.attr('transform', d3.event.transform);
      }))
      .append('g');

After the error occurred, I was unable to navigate the graph (scale, tap).

bzurkowski commented 4 years ago

@k-jano The fix in #89 does not solve the problem. Please, find the payload of the failing graph in the attachment:

graph-failure.zip

bzurkowski commented 4 years ago

Another payload: graph-failure.zip