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

Better support for multi level graphs #125

Open
saskaale opened this issue Sep 4, 2019 · 2 comments
Open

Better support for multi level graphs #125

saskaale opened this issue Sep 4, 2019 · 2 comments
Assignees

Comments

@saskaale
Copy link
Member

saskaale commented Sep 4, 2019

Openning this ticket as a feature request for the refractor of the multilevel graph nodes.

DESIRED BEHAVIOR

  • The changing of the levels would be based on the zoom level instead of the click on the node.

POSSIBLE IMPLEMENTATIONS

  1. SHOWING/HIDING nodes according to their levels (PREFERED)

    • the nodes would have the integer variable associated to their "level"
      • show only nodes with one level according to the zoom

    CHALLENGES
    - maintain graph layout in the nested levels

  2. REDRAWING THE GRAPH (through set() method) according to the zoom level
    CHALLENGES
    - maintaining continuous zoom while REDRAWING (calling set()) the graph with the big subgraph

@canerakdas
Copy link
Contributor

Hey Ales,

I have an idea about the multi-level graph plugin ( #127 ).

The multi-level feature doesn't add any feature into the ccNetViz, it's using only ccNetViz features.
IMHO multi-level plugin provides a better structure into the library.

Those features need to be developed;
Zoom in works perfectly. But we need to find a better method to move to the outside graph. When you're moving to a child graph I set the viewport size to 0.99. When viewport size again 1 I have shown to the parent graph.

Also, we can try to unbind the zoom event when the graph level changed.

I'm waiting for your reviews and suggestions

@saskaale
Copy link
Member Author

saskaale commented Sep 4, 2019

@canerakdas
I just commented it out.

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

No branches or pull requests

2 participants