hg.setServiceIsPresentList(serviceIsPresent);
/** Set placeholders to "new", if they have no connections. */
application.invokeInEdt(new Runnable() {
@Override
public void run() {
hg.killRemovedEdges();
final Map<String, ServiceInfo> idToInfoHash =
getBrowser().getNameToServiceInfoHash(ConstraintPHInfo.NAME);
if (idToInfoHash != null) {
for (final Map.Entry<String, ServiceInfo> serviceEntry : idToInfoHash.entrySet()) {
final ConstraintPHInfo cphi = (ConstraintPHInfo) serviceEntry.getValue();