class NetworkGraphImpl implements NetworkGraphService {

    @Override
    public synchronized void clear() {
        networkGraph = null;
        linkAdded.clear();
        // shortestPath = null;
    }

}