JGraphModelAdapter m_jgAdapter
Edge m_edge
Edge m_edge
java.util.Set<E> m_jCellsBeingAdded
1. First, we add the desired edge to m_jCellsBeingAdded to indicate that the edge is being inserted internally. 2. Then we invoke the JGraph 'insert' operation. 3. The JGraph listener will detect the newly inserted edge. 4. It checks if the edge is contained in m_jCellsBeingAdded. 5. If yes, it just removes it and does nothing else. if no, it knows that the edge was inserted externally and performs the insertion. 6. Lastly, we remove the edge from the m_jCellsBeingAdded.
Step 6 is not always required but we do it anyway as a safeguard against the rare case where the edge to be added is already contained in the graph and thus NO event will be fired. If 6 is not done, a junk edge will remain in the m_jCellsBeingAdded set.
The other sets are used in a similar manner to the above. Apparently, All that complication could be eliminated if JGraph and JGraphT had both allowed operations that do not inform listeners...
java.util.Set<E> m_jCellsBeingRemoved
java.util.Set<E> m_jtElementsBeingAdded
java.util.Set<E> m_jtElementsBeingRemoved
JGraphModelAdapter.CellFactory m_cellFactory
java.util.Map<K,V> m_cellToEdge
java.util.Map<K,V> m_cellToVertex
org.jgraph.graph.AttributeMap m_defaultEdgeAttributes
org.jgraph.graph.AttributeMap m_defaultVertexAttributes
java.util.Map<K,V> m_edgeToCell
java.util.Map<K,V> m_vertexToCell
org._3pq.jgrapht.ext.JGraphModelAdapter.ShieldedGraph m_jtGraph
java.util.Map<K,V> m_vertexMap
boolean m_allowingLoops
java.lang.Class<T> m_factoryEdgeClass
EdgeFactory m_edgeFactory
EdgeListFactory m_edgeListFactory
java.util.Set<E> m_edgeSet
org._3pq.jgrapht.graph.AbstractBaseGraph.Specifics m_specifics
boolean m_allowingMultipleEdges
java.util.ArrayList<E> m_graphListeners
java.util.ArrayList<E> m_vertexSetListeners
org._3pq.jgrapht.graph.DefaultListenableGraph.FlyweightEdgeEvent m_reuseableEdgeEvent
org._3pq.jgrapht.graph.DefaultListenableGraph.FlyweightVertexEvent m_reuseableVertexEvent
boolean m_reuseEvents
Graph m_delegate
java.util.Set<E> m_edgeSet
java.util.Set<E> m_vertexSet
Graph m_base
boolean m_isInduced
boolean m_verifyIntegrity