medialab / minivan

Web interface for network analysis.
https://medialab.github.io/minivan
MIT License
20 stars 6 forks source link

Weird legend and title when embedding a network in an iframe #47

Open heloisethero opened 4 years ago

heloisethero commented 4 years ago

I have used Minivan to embed a network in a web page, here is the result: Screenshot from 2020-06-17 09-50-05

We can see a "Legend" word displayed at the top left of the iframe that does not correspond to the "description", "date" or "authors" fields of the input json file. Would it be possible to display as the legend the text in the input description rather than "Legend"?

We can also see at the bottom left "climat:=1.34...". As you can see in the URL below, I have actually used the parameter "name=climat" in the iframe URL so I don't understand why the title displayed is not simply "climat"?

Thank you for Minivan, besides that two details it is a great tool to show graphs!

Here is the URL used in the iframe: https://medialab.github.io/minivan/#/embeded-network/?bundle=https:%2F%2Fraw.githubusercontent.com%2Fmedialab%2Fwebclim_analyses%2Fmaster%2Fgraph%2Fclimate_28_04_2020.json&color=type&lockNavigation=false&name=climat&ratio=1.3436928&showLink=true&size=nb_fake_news_shared&x=0.5423532070192392&y=0.49202985195900867

Here is the URL of the web page: https://medialab.sciencespo.fr/actu/une-cartographie-facebook-des-infox-scientifiques-sur-le-climat/