7002: Too large graphs will freeze JMC #193
This PR adds a control to limit the maximum number of nodes that can be rendered in the JMC graph view.
At the moment, rendering very large graphs makes the application unresponsive so we want to guard against this by setting a limit on the maximum number of nodes that will be rendered. When this limit is exceeded, we don't try to render our
I spent a couple of hours fighting with SWT to get the basic dropdown functionality working in the component toolbar. I took some inspiration from the FlameView component's toolbar actions and I found some (not great) examples with Google. I'm happy to use other components - this seemed to be the simplest from what I found. Please let me know if there's anything better.
We will also display a similar message when the graph model has no information (no nodes):
Other things we've considered:
The text was updated successfully, but these errors were encountered:
It looks like this now:
@cimi This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 4 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@thegreystone) but any other Committer may sponsor as well.
Your commit was automatically rebased without conflicts.
Pushed as commit b6fe7ca.