Text this: Some variations of the commutativity degree of some groups and their applications in graph theory