Hello,
your question seems a bit ambigious. If you are looking for something like a button in the GUI, on which you can click and then you get the degree centrality, I am afraid to disappoint you, since I don't think there is one. If you are asking on how to program it, the answer is to use some nested for-loops over the nodes and the edges, and simply compute it straight-forward. However, I am not really sure, which nodes you mean (states of a model/states of a deterministic automaton/...), but in each case it should be more or less the same.
Regards,
Christopher