if the 'nodes' parameter is invalid, handle it appropriately. Currently, the graph doesn't generate and the tab freezes.
if the 'nodes' parameter is invalid, handle it appropriately. Currently, the graph doesn't generate and the tab freezes.