Can't display yfile jupyter graphs
chua0332 opened this issue · comments
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](https://private-user-images.githubusercontent.com/35265821/279256679-0e385167-6105-434e-859a-1e424ae9d980.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMDczMjMsIm5iZiI6MTcyMDEwNzAyMywicGF0aCI6Ii8zNTI2NTgyMS8yNzkyNTY2NzktMGUzODUxNjctNjEwNS00MzRlLTg1OWEtMWU0MjRhZTlkOTgwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE1MzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE0NDBlZjE0Mzg2YTFhMTEwOGVlZTYwM2RhZDY1ZDgwZWYwNmM3NWQyMDdjYWViMjhjMGVjZGJhZWU3YjU3MTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bXOVhSteIjbnuesod-aRaVcSDlgVnoGvh-qJ89iZR2A)
The visual in my notebook here:
![Screenshot 2023-10-31 at 12 15 10 PM](https://private-user-images.githubusercontent.com/35265821/279256965-fe6e4c85-3cf7-4d54-8211-49c1cfae64aa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMDczMjMsIm5iZiI6MTcyMDEwNzAyMywicGF0aCI6Ii8zNTI2NTgyMS8yNzkyNTY5NjUtZmU2ZTRjODUtM2NmNy00ZDU0LTgyMTEtNDljMWNmYWU2NGFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE1MzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdkYzFiYzM3Mzk5YWU4OTUxMTY1MDJlMzIyZGM0ZDUwOTM5YjE2ZDdkN2VlYzQzNDBmYzcwNzViNDRhMzQ2ODQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ZC51NyvnKrXrZwAhl9iHvUYutsMDPEZSlSL0bunqP9c)
Thanks,
Eugene
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?
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?
Yes, not all ipywidgets works in mercury now. We would like to change it ...
May I ask what are you building?
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](https://private-user-images.githubusercontent.com/35265821/279552064-6796b8e4-d7a0-4ef2-99f4-2d6d39317ce1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMDczMjMsIm5iZiI6MTcyMDEwNzAyMywicGF0aCI6Ii8zNTI2NTgyMS8yNzk1NTIwNjQtNjc5NmI4ZTQtZDdhMC00ZWYyLTk5ZjQtMmQ2ZDM5MzE3Y2UxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA0VDE1MzAyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU5NDlmOGE0ZjM3MzljZDk5YTQ0ODIxMTlhOTdhNGMwZGZmNTZlZGE0NjhjZjIwM2Q4NWVlOTAxZGRjMzZlNTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.R-vop4e09odjvUu6000c3uV9UUTPeO0x0sDq7Svio1I)
I guess I would have to close this issue for now.
Thanks,
Eugene