<｜begin▁of▁sentence｜>### Instruction:
As a foreign correspondent reporting on technology and innovation in the field of network visualization, I've been asked to explore the usage of a specific module called GraphArtist from a well-known programming library. The task at hand involves retrieving and printing the edges of a graph with vertices 1, 2, 3, 4 and edges (1, 2), (1, 3), (3, 4) using the GraphArtist object's get_edges method. This will help provide insight into the practical application and functionality of this particular feature within the library.
### Response:
import networkx as nx
from compas.artists import GraphArtist

# Create a networkx graph
G = nx.Graph()
G.add_edges_from([(1, 2), (1, 3), (3, 4)])

# Create a GraphArtist for visualization
artist = GraphArtist(G)

# Get the edges from the GraphArtist
edges = artist.get_edges()

# Print the obtained edges
print(edges)
<|EOT|>
