Update transaction model description.
Add display_graph function and corresponding tests.

This converts a graph in terms of user ids to one in terms of user names,
suitable for display on a page.