<｜begin▁of▁sentence｜>### Instruction:
Given a complete graph with 5 nodes, how to generate a LaTeX string representation using TikZ without any enclosing environment?
### Response:
import networkx as nx
from networkx.drawing.nx_agraph import to_agraph

# Construct a simple graph
G = nx.complete_graph(5)
# Draw the graph to a LaTeX file using tikz
latex_code = nx.drawing.nx_pydot.to_latex_raw(G)
print(latex_code)
<|EOT|>
