Uses of Class
org.eclipse.gef.graph.Graph.Builder
-
-
Uses of Graph.Builder in org.eclipse.gef.graph
Fields in org.eclipse.gef.graph declared as Graph.Builder Modifier and Type Field Description protected Graph.Builder
Graph.Builder.Context. builder
TheGraph.Builder
used to construct theGraph
, i.e. the root of the builder chain.Methods in org.eclipse.gef.graph that return Graph.Builder Modifier and Type Method Description Graph.Builder
Graph.Builder. attr(java.lang.String key, java.lang.Object value)
Puts the given key-value-pair into theattributes map
of theGraph
which is constructed by thisGraph.Builder
.<T> Graph.Builder
Graph.Builder. attr(java.util.function.BiConsumer<Graph,T> setter, T value)
Uses the given setter to set the attribute value.Graph.Builder
Graph.Builder. edges(java.util.Collection<Edge> edges)
Graph.Builder
Graph.Builder. edges(Edge... edges)
Graph.Builder
Graph.Builder. nodes(java.util.Collection<Node> nodes)
Graph.Builder
Graph.Builder. nodes(Node... nodes)
-