mljar / mercury

Convert Jupyter Notebooks to Web Apps
https://RunMercury.com
GNU Affero General Public License v3.0
3.9k stars 247 forks source link

Can't display yfile jupyter graphs #392

Closed chua0332 closed 9 months ago

chua0332 commented 9 months ago

Hi,

I am having some issues displaying yfile graph visuals on mercury. It was working a few days back - but now it is just showing this. I tested in my jupyter notebook, everything works fine there. Does mercury not support the visual display? but a few days back the image was rendered which is odd.

Screenshot 2023-10-31 at 12 13 17 PM

The visual in my notebook here:

Screenshot 2023-10-31 at 12 15 10 PM

Thanks, Eugene

pplonski commented 9 months ago

Hi @chua0332,

Thank you for reporting the issue. We would like to add support for all ipywidgets, then it should be working fine in Mercury. However, it is hard to understand, why it was working few days ago?

chua0332 commented 9 months ago

hi @pplonski ,

Thanks for your quick reply - oddly I was using the old mercury version, the one with mljar-mercury. It worked till late last night, then I realized i was using an obsolete package, I deleted my old working environment this morning and recreated a new working enviroment with this updated package. Then it broke down.. let me see if I can replicate my old work.

so back to what you are saying - not all all ipywidgets are supported by mercury now?

pplonski commented 9 months ago

Yes, not all ipywidgets works in mercury now. We would like to change it ...

May I ask what are you building?

chua0332 commented 9 months ago

Hey @pplonski, i was just trying to build a network graph visual directly from my neo4j cypher query. There would be some parameter injections into the query using the interactive widgets and the graph should be changing to what the end user selected.

But anyway, I checked for the same issue at yfile's github and it seems that the issue cannot be fixed by them too..

Screenshot 2023-11-01 at 9 38 06 AM

I guess I would have to close this issue for now. Thanks, Eugene

pplonski commented 9 months ago

OK @chua0332, let's close the issue for now. In the case of any further questions we are happy to help.