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

overview viewport too small #1518

Closed
yaceben opened this issue Jun 9, 2016 · 6 comments
Closed

overview viewport too small #1518

yaceben opened this issue Jun 9, 2016 · 6 comments
Assignees
Milestone

Comments

@yaceben
Copy link

yaceben commented Jun 9, 2016

Overview viewport is too small for very large graphs, cannot do proper visualisation, most nodes will all end up doing a square border because they can't go any further (yes I need them to expand...).

Possible resolution I guess would be to replace coordinates to double instead of float ? Or maybe max_x, max_y, max_z too small ?

see included screenshot
toosmall

@YasirArfat32
Copy link

Even I have the same issue. When the number of nodes and edges increase, moving around the viewport becomes impossible.

@eduramiba
Copy link
Member

Hi,
I don't know the source of this old problem, but I also think it's worth fixing/improving.

@eduramiba eduramiba self-assigned this May 4, 2017
@eduramiba eduramiba added this to the 0.9.2 milestone May 4, 2017
@eduramiba eduramiba added OpenGL Wishlist New features (not a bug) labels Jul 1, 2017
@eduramiba
Copy link
Member

Need to increase DEFAULT_OCTREE_WIDTH at https://github.com/gephi/gephi/blob/master/modules/VisualizationImpl/src/main/java/org/gephi/visualization/apiimpl/VizConfig.java as it affects the clamp done at https://github.com/gephi/gephi/blob/master/modules/VisualizationImpl/src/main/java/org/gephi/visualization/octree/Octree.java

But too large numbers make visualization not work.

Also should increase the farDistance for the camera at https://github.com/gephi/gephi/blob/90a5fe6fe3f07e50c6095a4209eb6cc56de574d2/modules/VisualizationImpl/src/main/java/org/gephi/visualization/swing/GLAbstractListener.java

Discarding for a proper revamp of visualization module in a future version.

@eduramiba eduramiba removed this from the 0.9.2 milestone Aug 12, 2017
@eduramiba
Copy link
Member

The new engine fixes this https://github.com/gephi/viz-engine

@degrigis
Copy link

degrigis commented Jul 27, 2021

Hey @eduramiba! Would it be possible to have a build with the new engine to solve this issue? That would be EXTREMELY helpful! I saw this is part of the 0.9.3 milestones tho.

I've tried to compile Gephi myself and import the changes, but I'm having some trouble building the project because of expired certificates and stuff (I fought with Maven for a bit, but I'm not super familiar with this developing environment).

@mbastian
Copy link
Member

mbastian commented Mar 9, 2022

Hi, in preparation of the 0.9.3 release I tried to address this by creating a new Preference. This viewport issue will be solved once we move to the new viz engine but that's not the case yet for the 0.9.3 so until then, I thought this workaround would help.

One can now configure the viewport max size in the Preferences. By increasing the value, it will mitigate the problems.
Screenshot 2022-03-09 at 20 41 52

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

5 participants