<｜begin▁of▁sentence｜>### Instruction:
As an herbalist, you're well-versed in the natural intricacies of plants and their healing properties. Imagine you're organizing an herbal workshop, and you want to create visual aids to illustrate the connections between various herbs in your garden. You have a set of four herbs labeled 'A', 'B', 'C', and 'D', each with its unique properties.

Now, you've decided to represent these herbs as vertices in a directed graph, showcasing how they relate to each other. For instance, perhaps herb 'A' is known to complement herb 'B', and so on. Each relationship between herbs is represented as an edge in your graph.

To prepare for your workshop, you need to convert this herbal network into two distinct formats for different purposes:

1. **Exporting Vertex Names**: You want to create a visually appealing chart that features the names of the herbs. So, you'll need a list of edge tuples that not only capture the relationships but also include the names of the herbs involved.

2. **Exporting Vertex IDs**: However, you also recognize the importance of having a more abstract representation of the network for analytical purposes. Hence, you need another list of edge tuples that exports the relationships using unique identifiers assigned to each herb.

To accomplish this task efficiently, you'll need to apply your knowledge of graph theory and perhaps utilize a tool like NetworkX, known for its capabilities in handling graph data structures and algorithms. With the right approach, you can seamlessly transition between these two representations, providing both clarity and depth to your herbal workshop materials.
### Response:
import igraph as ig

# Create a simple graph
g = ig.Graph(edges=[(0, 1), (1, 2), (2, 3)], directed=True)
g.vs['label'] = ['A', 'B', 'C', 'D']

# Export the graph to a list of edge tuples with vertex labels
tuple_list_with_labels = g.to_tuple_list(use_vids=False, vertex_name_attr='label')

# Export the graph to a list of edge tuples with vertex IDs
tuple_list_with_ids = g.to_tuple_list(use_vids=True)

print(tuple_list_with_labels)
print(tuple_list_with_ids)
<|EOT|>
