Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide user interface (VIKI) #18

Open
krabina opened this issue Jan 29, 2021 · 1 comment
Open

provide user interface (VIKI) #18

krabina opened this issue Jan 29, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@krabina
Copy link
Contributor

krabina commented Jan 29, 2021

For documentation purposes, I am suggesting features that were present in the VIKI extension and could be improvments for the network extension in the future. The following is copied from the VIKI documentation. As the VIKI interface was somewhat cluttered, it does not necessarily make sense to add all features. So this needs to be discussed here before implementing.

Usage

Users may right click on a given node to bring up a context menu of options. Below is a list of all possible options, but not all nodes may have all options as appropriate.

  • Freeze: this node becomes frozen in position while other nodes may move around it
  • Visit Page: opens the page represented by the node in a new tab or window
  • Elaborate: elaborates a node, as discussed previously
  • Show Categories: Pops up a JavaScript alert listing the categories this page belongs to. (Under construction.)
  • Hide Node: Removes this node and links to it from the VIKI graph.
  • Hide Hub: Removes this hub node and all nodes immediately linked to it from the VIKI graph, unless the linked node is itself a hub.
  • Show All: Adds all previously-hidden nodes and links back into the VIKI graph.

To embed a VIKI graph into a page, the following parser function syntax is used:

{{ #viki:pageTitles=First Page Title, Second Page Title,…|width=width|height=height|delimiter=delimiter|secondOrderLinks=<true or false> }}

Parameters

  • secondOrderLinks: boolean value for whether to calculate and display 2nd order links, which is performance-expensive (optional, default: the value of $wgVIKI_Second_Order_Links, if set, or false if not)

Second order links were displayed in a different colour (grey):
grafik

This is what the burger menu looks like:
grafik

@krabina krabina changed the title provide user interface provide user interface (VIKI) Jan 29, 2021
@kghbln kghbln added the enhancement New feature or request label Jan 29, 2021
@krabina
Copy link
Contributor Author

krabina commented Jan 9, 2024

This is partly implemented by #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants