@@ -50,15 +50,39 @@ <h4>Data Categories</h4>
5050 name ="Loading Flow Data ">
5151 </ waltz-loading-notification >
5252
53- < div ng-if ="ctrl.boingyEverShown && ctrl.flowData.flows.length > 0 ">
53+ < div ng-if ="ctrl.filteredFlowData.entities.length == 0 && ctrl.flowData.flows.length > 0 ">
54+ < div class ="alert alert-warning ">
55+ < strong > No data to show</ strong > given the current filter options. Use the
56+ configure button above to adjust these options.
57+ </ div >
58+ </ div >
59+
60+
61+ < div ng-if ="ctrl.filteredFlowData.entities.length >= 200 && !ctrl.visibility.ignoreLimits ">
62+ < div class ="alert alert-warning ">
63+ This graph will have < strong > too many nodes</ strong > to render smoothly.
64+ Use the configure button too limit the amount of data to show. Alternatively
65+ the data is available via the 'Table' tab.
66+
67+ < br >
68+
69+ If you still want to see the graph click
70+ < a href ng-click ="ctrl.visibility.ignoreLimits = true "> here</ a >
71+ - however be aware that your machine may struggle.
72+ </ div >
73+ </ div >
74+
5475
55- < waltz-data-flow-diagram data ="ctrl.filteredFlowData "
56- tweakers ="ctrl.graphTweakers ">
57- </ waltz-data-flow-diagram >
76+ < div ng-if ="ctrl.boingyEverShown && ctrl.filteredFlowData.flows.length > 0 ">
77+ < div ng-if ="ctrl.filteredFlowData.entities.length < 200 || ctrl.visibility.ignoreLimits ">
78+ < waltz-data-flow-diagram data ="ctrl.filteredFlowData "
79+ tweakers ="ctrl.graphTweakers ">
80+ </ waltz-data-flow-diagram >
5881
59- < div class ="small text-muted ">
60- Dragging nodes will pin them. Double click to unpin. If an application is gray
61- it is not a member of this group.
82+ < div class ="small text-muted ">
83+ Dragging nodes will pin them. Double click to unpin. If an application is gray
84+ it is not a member of this group.
85+ </ div >
6286 </ div >
6387 </ div >
6488
0 commit comments