I also suggest searching “inset” in the examples.
This brings up a couple of examples that use both the Magnify command and the Graphic command.
Basically the Magnify command creates the inset using a section of the current graph, whereas the Graphic command can be used to create an inset using external images or a graph in the same file.
The Parametrized path example, demonstrates both!