<｜begin▁of▁sentence｜>### Instruction:
Imagine you are a network operations engineer working with a live network visualization tool that uses the Gephi graph streaming API to display network changes in real-time. While monitoring the network, you encounter the need to remove a specific node with the identifier '123' from the live graph displayed in Gephi. How would you construct the appropriate JSON event using the Gephi graph streaming API to instruct the visualization tool to remove this node from the live graph?
### Response:
import json

def get_delete_node_event(node_id):
    return json.dumps({'an': {node_id: {'action': 'delete'}}})

# Use the function to generate a delete node event for node with id '123'
delete_event = get_delete_node_event('123')
print(delete_event)
<|EOT|>
