How can i check if something is a violation of the dependency graph?