Class TransformingGraphView<V,W,E,F>
- java.lang.Object
-
- org.jungrapht.visualization.layout.util.synthetics.TransformingGraphView<V,W,E,F>
-
- Type Parameters:
V
- incoming vertex typeW
- outgoing vertex typeE
- incoming edge typeF
- outgoing edge type
public class TransformingGraphView<V,W,E,F> extends Object
Builds a transformed view of the input Graph<V, E> The transformed graph will be of type Graph<W, F>The transformation from vertex type V to W is achieved via a vertexTransformFunction Function<V, W> and the transformation from edge type E to F is achieved via an edgeTransformFunction Function<E, F>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jgrapht.Graph<W,F>
build()
static <V,W,E,F>
TransformingGraphView.Builder<V,W,E,F,?,?>builder(org.jgrapht.Graph<V,E> graph)
-
-
-
Method Detail
-
builder
public static <V,W,E,F> TransformingGraphView.Builder<V,W,E,F,?,?> builder(org.jgrapht.Graph<V,E> graph)
- Type Parameters:
V
- vertex typeE
- edge type- Returns:
- a Builder ready to configure
-
-