I have a large graph with disjoint components. I am using aggregate layout with ISOM layout for individual components. All the vertices have different x, y coordinates. However, when I try to visualize them, they tend to overlap. On zooming, I notice that initially overlapping vertices are actually far apart. Is there a way how one can avoid overlap in the initial view itself.
I searched the forum for a solution without any success. Any help would be greatly appreciated.
Thanks in advance,
Preeti
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The reason why they don't show up as overlapping when you zoom in is presumably because you're using the zoom mode in which the vertices don't continue to get larger as you zoom in past a certain point.
Whether the vertices overlap is a function of how many vertices you are laying out and what layout algorithm you're using. Have you tried any of the other algorithms?
Joshua
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the quick response. As a matter of fact, I did use FRLayout and SpringLayout. Since, the vertices in the graph do not have many connections, these do not seem to work.
I also tried to change the location of vertices if their shapes intersected during visualization, but the result was still not satisfactory.
Any other way to deal with this problem?
Thank you once again.
Preeti
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I have a large graph with disjoint components. I am using aggregate layout with ISOM layout for individual components. All the vertices have different x, y coordinates. However, when I try to visualize them, they tend to overlap. On zooming, I notice that initially overlapping vertices are actually far apart. Is there a way how one can avoid overlap in the initial view itself.
I searched the forum for a solution without any success. Any help would be greatly appreciated.
Thanks in advance,
Preeti
The reason why they don't show up as overlapping when you zoom in is presumably because you're using the zoom mode in which the vertices don't continue to get larger as you zoom in past a certain point.
Whether the vertices overlap is a function of how many vertices you are laying out and what layout algorithm you're using. Have you tried any of the other algorithms?
Joshua
Thank you for the quick response. As a matter of fact, I did use FRLayout and SpringLayout. Since, the vertices in the graph do not have many connections, these do not seem to work.
I also tried to change the location of vertices if their shapes intersected during visualization, but the result was still not satisfactory.
Any other way to deal with this problem?
Thank you once again.
Preeti