onAppStateVariableRemoved method
Update the graph when an app state variable is removed.
Implementation
void onAppStateVariableRemoved(String varKey) {
final varNodeId = NodeIds.appStateVar(varKey);
if (graph.hasNode(varNodeId)) {
graph.removeNode(varNodeId);
}
}