idekerlab / DCell

DCell browser and gene deletion simulator
http://d-cell.ucsd.edu/
MIT License
119 stars 34 forks source link

Ontology graph is empty #21

Open bdemchak opened 7 years ago

bdemchak commented 7 years ago

When I select Locate Terms and then Cellular Process, the screen clears and never displays an ontology. If the ontology does display, it flashes and then disappears.

keiono commented 7 years ago

This looks like a Cytoscape.js issue. If the window size is smaller than a certain value, it cannot set correct zoom level and the result is empty screen (actually, it's not empty. The zoom level is way too small/big. Once fit-to-screen button is pressed, it always fix this issue).

I'll add minimum size of the window value and disable the application is the window size is too small.

keiono commented 7 years ago

Here is how it looks like with correct screen size:

zoom-level-issue4