cytoscape / cytoscape-explore

Network visualization webapp.
MIT License
12 stars 4 forks source link

CX importer doesn't import the network background color #148

Open jingjingbic opened 2 years ago

jingjingbic commented 2 years ago

Describe the bug The network background color is not imported to CE from a cx network.

To Reproduce

  1. Create a simple network in Cytoscape and change its background color to blue
  2. Go to CE and click import from Cytoscape 3 button from the home page
  3. The imported network loss its background color in CE.

Expected behavior Network background color should not be lost during import and export

Screenshots

Desktop (please complete the following information):

Additional context

The problems seems to be in the importer. It doesn't handle the network visual properties.

mikekucera commented 2 years ago

All of CE doesn't support network background color. It should be added to the style panel, and to the image export as well.