case tierSupportActionTypes.TS_NODE_SEARCH_RESULTS:
let graphData = ForceDirectedGraph.generateNewProps(action.data.nodes, action.data.links,
action.data.graphMeta);
-
+
return {
...state,
forceDirectedGraphRawData: graphData,
feedbackMsgText: '',
feedbackMsgSeverity: ''
};
+ case tierSupportActionTypes.TS_GRAPH_NODE_SELECTED:
+ return {
+ ...state,
+ nodeData: action.data
+ };
case globalAutoCompleteSearchBarActionTypes.SEARCH_WARNING_EVENT:
let emptyNodesAndLinksWarningEvent = ForceDirectedGraph.generateNewProps([], [], {});
return {
let splitPaneLeftSideElement = document.getElementsByClassName('Pane1');
if (splitPaneLeftSideElement.length > 0) {
let width = splitPaneLeftSideElement[0].offsetWidth;
-
+
return {
...state, windowWidth: width, windowHeight: splitPaneLeftSideElement[0].offsetHeight
};
return state;
}
}
-
+
return state;
}
});