Skip to content

3. Visualization

Mohammed Ghanem edited this page Dec 3, 2019 · 1 revision

Visualization

During this step, the circles from the second step will be visualized. In the visualization every circle correspond to a word. The word is shown at a random point on the circle perimeter with the same color as the circle.

Visualization options explanation:

  • Filter: You can use the filter to show or hide certain words. The filter can be operated in two modes: SubTree and Individual.
  • SubTree Filter Mode: In this mode, whenever you hide one of the words all children will be hidden. Also, whenever you check one of the words all the ancestors of the words will be shown.
  • Individual Filter Mode: In this mode, hiding or showing a word will only affect the words itself.
  • Show All: This button will show all words.
  • Hide All: This button will hide all words.
  • Circles: This toggle button is to switch between the circles before and after applying the algorithm.

Running through command-line:

Please note that using the Iupyter notebook will be more useful as we can directly filter some words.

python main_vis.py --vis --circles CIRCLES_FILE_PATH --showenWords WORDS_FILE_PATH
  • --circles: A path to the file used in the step 2.
  • --showenWords: A path to file contains the words that should be visualized. Each line should contain one word. This parameter is optional and if it is not present all words will be visualized.
Clone this wiki locally