added permutation functionality on attributes in gui relation view