Dash-cytoscape to cytoscape network file

Hello! I’ve been using dash-cytoscape to create networks on an application. I would like to add an option to download the visualized network as a cytoscape network or session file (.cys) What is the best course of action in this situation? Thank you!