de.frag.umlplugin.codenavigator.graph
Class GraphBuilder

java.lang.Object
  extended by de.frag.umlplugin.codenavigator.graph.GraphBuilder

public class GraphBuilder
extends java.lang.Object

Builds simple UML graphs for a single central class and several other classes around this central class.


Nested Class Summary
static class GraphBuilder.EdgeInfo
          Stores additional edge information.
static class GraphBuilder.NodeInfo
          Stores additional node information.
 
Constructor Summary
GraphBuilder()
           
 
Method Summary
 com.intellij.openapi.graph.view.Graph2D createGraph(com.intellij.psi.PsiClass psiClass)
          Creates a new graph for the given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphBuilder

public GraphBuilder()
Method Detail

createGraph

@NotNull
public com.intellij.openapi.graph.view.Graph2D createGraph(@NotNull
                                                                   com.intellij.psi.PsiClass psiClass)
Creates a new graph for the given class.

Parameters:
psiClass - new central class
Returns:
created graph