private final DefaultGraphModel impl;
public DependencyGraphModel(IntegrationEntity entity, ProjectDependencies deps) {
this.entity = entity;
impl = new DefaultGraphModel();
for (IntegrationEntity d : deps.getDependingObjects(entity)) {
impl.addEdge(d, entity);
}
for (IntegrationEntity r : deps.getRequiredObjects(entity)) {
impl.addEdge(entity, r);