<｜begin▁of▁sentence｜>### Instruction:
{'description': 'Given a path graph with 5 nodes, can you demonstrate how to generate the nodes in a depth-first-search post-ordering starting at the node labeled 0?', 'data': 'The graph is a path graph with 5 nodes.', 'problem': 'The goal is to find the order of nodes visited in a DFS post-order when starting at node 0.'}
### Response:
import networkx as nx

# Create a graph
G = nx.path_graph(5)

# Generate nodes in DFS post-order starting at node 0
postorder_nodes = list(nx.dfs_postorder_nodes(G, source=0))

print("DFS post-order nodes starting at node 0:", postorder_nodes)
<|EOT|>
