Grouping Nodes on the Service Graph

My Service Graph has hundreds of nodes that represent instances of databases that my services talk with. Any suggestions on how I can group the nodes on the graph into a single “database” node? Do I need to modify the labels for the trace and/or generated metrics in some way?