sfg = new DirectedMultigraph<>(Eventable.class);
stateById = Maps.newConcurrentMap();
LOG.debug("Initialized the stateflowgraph");
ReadWriteLock lock = new ReentrantReadWriteLock();
readLock = lock.readLock();
writeLock = lock.writeLock();
}
/**
* Adds a state (as a vertix) to the State-Flow Graph if not already present. More formally,
* adds the specified vertex, v, to this graph if this graph contains no vertex u such that