<｜begin▁of▁sentence｜>### Instruction:
Imagine you have a 'social_network' graph already loaded in Cytoscape. How would you fetch this network into igraph, ensuring you maintain the network's directionality and keeping the canonicalName attributes for the vertices and edges? Assume Cytoscape is on and accessible.
### Response:
from igraph import Graph
<|EOT|>
