Also used :
AddControlPointCommand(org.kie.workbench.common.stunner.core.graph.command.impl.AddControlPointCommand)
Point2D(org.kie.workbench.common.stunner.core.graph.content.view.Point2D)
Connection(org.kie.workbench.common.stunner.core.graph.content.view.Connection)
ControlPoint(org.kie.workbench.common.stunner.core.graph.content.view.ControlPoint)
BPMNDefinition(org.kie.workbench.common.stunner.bpmn.definition.BPMNDefinition)
Edge(org.kie.workbench.common.stunner.core.graph.Edge)
MutableIndex(org.kie.workbench.common.stunner.core.graph.processing.index.MutableIndex)
Collectors(java.util.stream.Collectors)
View(org.kie.workbench.common.stunner.core.graph.content.view.View)
Objects(java.util.Objects)
GraphCommandFactory(org.kie.workbench.common.stunner.core.graph.command.impl.GraphCommandFactory)
RuleViolation(org.kie.workbench.common.stunner.core.rule.RuleViolation)
CommandUtils(org.kie.workbench.common.stunner.core.command.util.CommandUtils)
Bpmn2OryxManager(org.kie.workbench.common.stunner.bpmn.backend.marshall.json.oryx.Bpmn2OryxManager)
Counter(org.kie.workbench.common.stunner.core.util.Counter)
ControlPointImpl(org.kie.workbench.common.stunner.core.graph.content.view.ControlPointImpl)
AddNodeCommand(org.kie.workbench.common.stunner.core.graph.command.impl.AddNodeCommand)
SetConnectionTargetNodeCommand(org.kie.workbench.common.stunner.core.graph.command.impl.SetConnectionTargetNodeCommand)
MagnetConnection(org.kie.workbench.common.stunner.core.graph.content.view.MagnetConnection)
FactoryManager(org.kie.workbench.common.stunner.core.api.FactoryManager)
CommandResult(org.kie.workbench.common.stunner.core.command.CommandResult)
Node(org.kie.workbench.common.stunner.core.graph.Node)
Counter(org.kie.workbench.common.stunner.core.util.Counter)
Point2D(org.kie.workbench.common.stunner.core.graph.content.view.Point2D)
Objects(java.util.Objects)
ControlPointImpl(org.kie.workbench.common.stunner.core.graph.content.view.ControlPointImpl)
ControlPoint(org.kie.workbench.common.stunner.core.graph.content.view.ControlPoint)
RuleViolation(org.kie.workbench.common.stunner.core.rule.RuleViolation)