Addressed @foot's UI comments

This commit is contained in:
Filip Barl
2017-02-01 15:33:09 +01:00
parent 2a6308bf6c
commit c802c8c6c1
6 changed files with 21 additions and 9 deletions

View File

@@ -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)}`;
}