<p>Like, let's say I had a tree structure, then I would use, naturally a tree control, since that GUI element maps perfectly to the structure.</p>

<p>But what I have is a graph, potentially too wide to fit in one web page.  I can't think of examples of GUIs that really match the structure.  Some ideas I have that don't quite fit are, the web itself, with hyperlinks, the browser back button, and the forward button.   But that just shows you one node at a time.  I would like to display as many nodes as I can, and allow navigation to a new area of the graph.   Something like Google maps might be a good model, in that you have full freedom to scroll in any direction.</p>

Facebook used to do this,
way
back in the day, to visualize your friends. They drew nodes as little boxes, with lines connecting them, as expected. They drew the graphs into an SVG image, so you could easily zoom in and out.
Another option might be to draw into a
```
<canvas>
```
tag and scale that somehow. I imagine that's possible, but I don't know much about
```
<canvas>
```
Another option would be to draw it into an inline frame or other box that allows the user to scroll horizontally and vertically.