<｜begin▁of▁sentence｜>### Instruction:
Suppose we're creating a linear series of delicate glass bubbles, each sphere representing a connection point in our artwork, and we have four of these spheres lined up in a string. Now, in the same way that we plan out the sequence of bubbles on a design sketch, could you describe how we could sketch out this linear connection pattern of four bubbles with their relationships in a Pajek file format using NetworkX, as if we're crafting a blueprint for an intricate glass sculpture design? This blueprint should be a detailed representation just like we would outline the specifics of our glass artwork.
### Response:
import networkx as nx
G=nx.path_graph(4)
nx.write_pajek(G, 'test.net')
<|EOT|>
