mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-28 17:51:21 +00:00
Addressed @foot's UI comments
This commit is contained in:
@@ -182,3 +182,7 @@ export function graphExceedsComplexityThresh(stats) {
|
||||
// Check to see if complexity is high. Used to trigger table view on page load.
|
||||
return (stats.get('node_count') + (2 * stats.get('edge_count'))) > 500;
|
||||
}
|
||||
|
||||
export function zoomCacheKey(props) {
|
||||
return `${props.topologyId}-${JSON.stringify(props.topologyOptions)}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user