wikipathways / pvjs

JavaScript-based pathway viewer and editor
Apache License 2.0
33 stars 19 forks source link

Prettier citations #288

Open ariutta opened 10 years ago

ariutta commented 10 years ago

For elements with a large number of citations, such as http://wikipathways.org/index.php/Pathway:WP722, we need to do something to make the diagram less busy. What about capping the number of citations numbers displayed at three?

khanspers commented 10 years ago

How about capping it at three and adding a ... to show that there are more, like this: 31,32,15.... And the full set of citations could reappear when zoomed in. For users who want to see information about a particular gene or interaction, it does make sense to display all citations, so they can refer to the bibliography below. But maybe its enough to have this show when zoomed in only, to avoid clutter when viewing the full pathway.