<｜begin▁of▁sentence｜>### Instruction:
As a bookkeeper, you may need to work with financial data and records in a software tool and you need to convert a network representation of a company's financial transactions into a different format. In this case, you want to convert a simple NetworkX graph representing financial flows between different departments to an igraph graph in order to analyze the data in a different software environment. The challenge is to ensure that the names of the departments are preserved during the conversion process and to access these names in the new graph format for further analysis.
### Response:
from igraph import Graph
<|EOT|>
