I would like to use GiNY to visualize a social network, and have authored a trivial app to get the 'feel' for Giny visualization pipeline.
The problem I am having is that I cannot get any of the layout classes (specifically ForceDirectedLayout, FRLayout, ISOMLayout, JUNGSpringLayout) to work; This is my stack dump:
Exception in thread "main" java.lang.NullPointerException
at giny.util.ISOMLayout.getISOMVertexData(ISOMLayout.java:191)
at giny.util.ISOMLayout.adjustVertex(ISOMLayout.java:154)
at giny.util.ISOMLayout.adjust(ISOMLayout.java:140)
at giny.util.ISOMLayout.advancePositions(ISOMLayout.java:109)
at giny.util.ISOMLayout.doLayout(ISOMLayout.java:58)
at MyGiny.createGraph(MyGiny.java:146) <--- THis is the line with .doLayout() call.
Thanks in advance for any light you can shed on this.
Champ.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I would like to use GiNY to visualize a social network, and have authored a trivial app to get the 'feel' for Giny visualization pipeline.
The problem I am having is that I cannot get any of the layout classes (specifically ForceDirectedLayout, FRLayout, ISOMLayout, JUNGSpringLayout) to work; This is my stack dump:
Exception in thread "main" java.lang.NullPointerException
at giny.util.ISOMLayout.getISOMVertexData(ISOMLayout.java:191)
at giny.util.ISOMLayout.adjustVertex(ISOMLayout.java:154)
at giny.util.ISOMLayout.adjust(ISOMLayout.java:140)
at giny.util.ISOMLayout.advancePositions(ISOMLayout.java:109)
at giny.util.ISOMLayout.doLayout(ISOMLayout.java:58)
at MyGiny.createGraph(MyGiny.java:146) <--- THis is the line with .doLayout() call.
Thanks in advance for any light you can shed on this.
Champ.