You can right-click the menu to update the following nodes, the core is to call the graph.updateItem() method
graph.updateItem()