<｜begin▁of▁sentence｜>### Instruction:
As a gunsmith, you may find that keeping track of the different firearms and modifications you've made is essential for maintaining a smooth workflow. With the increasing number of customization requests from customers, organizing and collecting attributes of the various firearms and modifications is critical.

For example, if you've been working on customizing different types of firearms and want to collect the attributes assigned to each of them into lists, you can utilize the features of the igraph library in Python. This will allow you to efficiently manage and categorize the attributes of firearms and modifications, ensuring a streamlined and organized process for your gunsmithing projects.
### Response:
from igraph import Graph

# Create a graph with some attributes

# As of my knowledge cutoff in March 2023, the AttributeCollectorBase is not directly exposed in the public API of igraph.
# Therefore, I will create an example focusing on using VertexSeq and EdgeSeq for collecting attributes from a graph.
g = Graph.Erdos_Renyi(n=10, m=20)
g.vs['label'] = range(10)
g.es['weight'] = [1.5] * 20

# VertexSeq and EdgeSeq usage to collect attributes
vertex_labels = g.vs['label']
edge_weights = g.es['weight']

print('Vertex labels:', vertex_labels)
print('Edge weights:', edge_weights)
<|EOT|>
