<｜begin▁of▁sentence｜>### Instruction:
As a filmmaker, you have been given a task to create a captivating documentary about the interconnectedness of various communities. To visualize the complex network of relationships, you have been provided with a list of tuples representing edges, including details such as source vertex, target vertex, edge color, and edge weight. Using this data, you need to create a directed graph in `igraph` and incorporate additional edge attributes such as color and weight to visually represent the connections between communities in your documentary.
### Response:
from igraph import Graph

# Define the tuple list with edge attributes
edge_list = [(1, 2, 'blue', 1.5), (2, 3, 'red', 2.5), (3, 1, 'green', 3.5)]
edge_attrs = ['color', 'weight']

# Create a graph from the tuple list
graph = Graph.TupleList(edges=edge_list, directed=True, edge_attrs=edge_attrs)

# Print the summary of the graph with edge attributes
print(graph.summary())
<|EOT|>
