JGraphX is an open source Java Swing Component. It is the architecture written after JGraph 5, but not named JGraph 6 because it is rewritten and the API is entirely different.
Questions tagged [jgraphx]
182 questions
0
votes
1 answer
JGraphx Graph Editor with Initial Vertex
I'm Customizing jgraphx graph editor example program. In the graph editor program we can add the vertex to the graph by drag and drop icon from the palette. But i need to add a initial vertex to the graph that means, In the initial[New] graph editor…

Leks
- 77
- 11
0
votes
0 answers
How to avoid drag and drop of any mxCell or vertex from a group
I have multiple groups in my graphs containing vertices. I require that the vertices should not move out of the group or parent . Also all my groups are getting superimposed at one place despite giving incremental coordinates. Can anything be done…

span
- 75
- 6
0
votes
1 answer
Adding ActionListener to the mxcell in JGraphX
I want to add "Action Listener" to the mxcell(vertex) in JGraphX. If I Double Clicked on the mxcell vertex it should do some action. Is there any way to add action listener to the mxcell vertex in jGraphX ?.

Leks
- 77
- 11
0
votes
0 answers
how to change the self-loop properties in jgraphx?
When I draw an edge that has the same source and target vertex it shows as a loop, and this loop is drawn always on the right of the vertex
that becomes a problem when there is and edge that exits or enters from the right too
the loop that has 6/9…

Youcef Zahariou
- 1
- 1
0
votes
1 answer
how to add a vertex in a JGraphX by right click on the mouse
I would like to add a vertex in a JGraphX at a position indicated by the user just by right click on the mouse
How can I possibly achieve that
Thank you in advance for your help

J.X
- 23
- 3
0
votes
1 answer
How to add a connection point (port) to a cell - jgraphx
I am particularly interested in adding a new connection point to an edge, so that it can become a target for another edge.

Ana Mihai
- 11
- 2
0
votes
1 answer
JGraphX - Getting all target cells of a cell
So, I have successfully visualized a graph using JGraphX purely. Now, I would like to create an adjacency matrix. One method i could think of is get all the cells a particular cell targets (or points to) and also all of it's parent cells. However, I…

Friency Fernandez
- 445
- 8
- 29
0
votes
0 answers
JGraphx pause execution. show point by point
I have to show a graph with some points, i want that the points appear when it was generated, not all at end. I want to show the result point by point. I was looking for but i didnt find anything. is it possible?
Thank you!
0
votes
1 answer
Add a mouseListener on a Vertex
I'm trying to make a graph with JGraphX in Java and add a mouseListener on a specific type of vertex.
I've attempted to use graphComponent but it does nothing...
This is my code:
mxGraphComponent graphComponent = new…

amandine
- 17
- 6
0
votes
1 answer
Marquee selection does not works on Jgraphx
I'm writting a program using Jgraphx and the multiple selection works well (I can select one node, press ctrl and click on other node and is selected then), but I cannot make the marquee selection works (I click and drag the mouse but no rectangle…

yoprogramo
- 1,306
- 9
- 14
0
votes
1 answer
(JGraphX) How to add an extra label to a vertex?
I have a vertex and it has its name, the label inside the vertex. But I also wan't to add a new label, with extra information, for the same vertex. Is there a way to do it?

Fagundes
- 119
- 10
0
votes
1 answer
How to draw a graph without edges that intersect in jgraphx?
I want to draw a graph that doesn't have edges that intersect, but when I create an edge (e1) from vertex (v1) to vertex (v2) and another edge (e2) from v2 to v1, a double arrow appears. How do I separate e1 and e2 in two different edges?
I also…

Asiel Diaz Benitez
- 310
- 1
- 15
0
votes
1 answer
In JGraphX, is the radius handled correctly in mxCircleLayout?
In using mxCircleLayout, one can specify a radius. It seems, however, that the radius only affects a graph where the radius is GREATER than the default based on the graph bounds. In looking at the source code (JGraphX 3.3.1.1) for mxCircleLayout,…

Harry Delugach
- 11
- 3
0
votes
1 answer
JGraph has unresolved AttributeMap on precompilation
I am writing a first VERY simple class to see if my install can build something. So this is what I have
import org.jgrapht.ListenableGraph;
import org.jgrapht.ext.JGraphModelAdapter;
import org.jgrapht.graph.DefaultEdge;
import…

jiveturkey
- 2,484
- 1
- 23
- 41
0
votes
1 answer
Error - running JGraphX Hello World example
I get error message below when I run the HelloWorld.java example, out of JGraphX package.
Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/mxgraph/swing/mxGraphComponent, offset=6
at…

JaydenLi
- 1
- 1