Pattern Relations Graphs