Class GraphDefinition.AddEntitiesData
java.lang.Object
cz.metacentrum.perun.utils.graphs.generators.GraphDefinition.AddEntitiesData
- Enclosing class:
GraphDefinition<T>
Class representing the state of adding new data to the
GraphDefinition
. This state represents that entities
data has been set and the graph edge type needs to be set.-
Constructor Summary
ConstructorDescriptionAddEntitiesData
(Map<T, Set<T>> entityWithTargetEntities, GraphDefinition<T> graphDefinition) -
Method Summary
Modifier and TypeMethodDescriptionwithEdgeType
(GraphEdge.Type edgeType) Method used to set the edge type for data that has been passed before.
-
Constructor Details
-
AddEntitiesData
-
-
Method Details
-
withEdgeType
Method used to set the edge type for data that has been passed before.- Parameters:
edgeType
- edge type- Returns:
- graph definition
-