rawgraphs / rawgraphs-charts

A curated selection of charts provided through RAWGraphs interface
https://rawgraphs.io/
Apache License 2.0
96 stars 42 forks source link

The linear dendrogram does not label the nodes correctly #98

Closed raindropsfromsky closed 3 years ago

raindropsfromsky commented 3 years ago

In which chart does the bug happen?

RAWGraphs Version 2.0 Beta

Web browser and version Brave V1.29.81

Operating System Win 10 Home, 64 bits

Steps to reproduce this

Create a dendrogram with a depth of 4 levels. Try to label each subnode with its own label.

This is impossible: The interface does not allow us to label each subnode with its own label. The GUI requires us to add labels at specific levels of the network. But no combination of labels gives a satisfactory result. In fact, each combination gives a different type of undesirable result!

  1. If we add L1, L2 and L3 in "Labels", then subnodes at L4 level are labeled with L3 labels. (see figure-1 below)
  2. If we add L1, L2, L3 and L4 in the "labels" stack, then it creates two side-effects: (see figure-2 below)
    The subnodes at L3 level show a gap where the L4 level label is supposed to be there.
    The subnodes at L4 level are labeled with two labels: L3 and L4.
  3. If we add only L4 label in the stack, then the nodes at L3 level are left out without labels.
    Exception: If a node at L3 level has subnodes at L4 level, then it will be labeled!
    Both these behaviors are not expected at all. (see Figure-3 below)

In either case, we do not see subnodes at L4 level with their own labels. [BUG]

Figure-1 image

Figure-2 image

Figure-3 image

Project file Nodes at all levels cannot be attached with their own labels.zip

Desired feature: Please provide a check box where all nodes show only their own labels. Optionally, any additional labels can be added.

mikima commented 3 years ago

If i understood well you want to have labels on the latest level. For this you should have a column defining a name for each branch. See the image below if that's the expected outcome: fixed_labels

In case you can look at this project file to see table structure: fixed_labels.rawgraphs.zip

raindropsfromsky commented 3 years ago

Yes, that's the effect I wanted. Thanks for the demo.

However, there is no help text that tells the user how to change the data structure when such a need arises. Even the video does not show this relationship between the data structure and its effect on the graph.

This is true of all graphs.

The video tutorials should show variations of the basic graph type, and how to achieve it by changing the data structure.

mikima commented 3 years ago

Great. We will try to update and improve the tutorials.