I am trying to create a network graph of nodes with labels that contain multiple lines. The lines should have different font size and style to convey information, much like what can be accomplished in a mouseover tooltip, but in this case the text should be displayed all the time. My use case is to show how servers relate to each other while displaying basic information about each server. Ideally I would style the labels using HTML/CSS.
I've looked at the visNetwork and diagrammeR packages but I only see how to do a single line node label.
I want my nodes to display information like:
Location: Server Room 1
Description: RShiny Server
Users: Analytics Group
Location: Server Room 2
Description: Mail Server
Users: All Staff
Is r2d3 another possibility? Pointers to an online example (with code) or other example code would be very helpful.