Graph[{1\[UndirectedEdge]2,2\[UndirectedEdge]3}]