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

Network Explorer: nicer display of graphs #276

Open
4 tasks
ajdapretnar opened this issue Jul 30, 2024 · 1 comment
Open
4 tasks

Network Explorer: nicer display of graphs #276

ajdapretnar opened this issue Jul 30, 2024 · 1 comment

Comments

@ajdapretnar
Copy link
Contributor

Network version

1.9.0

Orange version

3.37.0

Expected behavior

Gephi (and probably other network visualization tools) have a "smart" display of dense networks. When the network is dense, one can decrease the strength of the edges (i.e. by setting a paler color or thinner line). But more importantly, node labels appear only for larger nodes (if size is set, otherwise for more densely connected).

gephi-lite-export

Actual behavior

Edges in Orange are black, making it impossible to read the (black) labels.
Moreover, all labels are displayed. One can circumvent this by selecting top N largest nodes in a Data Table and passing a data subset, but it would be nice to have this option directly in Network Explorer.
Labels are also displayed quite far from their nodes, making it difficult to establish which label belongs to which node in a large network.
Screenshot 2024-07-30 at 10 59 44

Steps to reproduce the behavior

Create any large network. Label the nodes.

Additional info (worksheets, data, screenshots, ...)
ParlamintGB-net
TLDR;
  • option to set edge color (to lighter)
  • display only top N nodes
  • font size in node labels to correspond to the size of the node?
  • place labels closer to nodes
@janezd
Copy link
Contributor

janezd commented Sep 2, 2024

Gephi (and probably other network visualization tools) have a "smart" display of dense networks. When the network is dense, one can decrease the strength of the edges (i.e. by setting a paler color or thinner line)

You can already set the edge width. We can allow making it thinner.

Edges in Orange are black, making it impossible to read the (black) labels.

This can be easily fixed. Mind that #249 will also allow different colors for edges.

Moreover, all labels are displayed. One can circumvent this by selecting top N largest nodes in a Data Table and passing a data subset, but it would be nice to have this option directly in Network Explorer.

You can already check "Label only selection and subset". This doesn't help?

Labels are also displayed quite far from their nodes, making it difficult to establish which label belongs to which node in a large network.

This is only true for large networks. The current distance look nice for small number of nodes. Maybe we could add some heuristic and draw the labels closer if the network is dense? It would require some (lots of) experimenting.

I agree that this widget could be made much much better. But it requires a dedicated person - preferably one who is constantly using it and can make all the cosmetic touches. But you already know that ... :(

Also, what I fear is that this widget would have too much options and would become an app by itself.

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

No branches or pull requests

2 participants