How to define multiple graphs on an icon


How can multiple images be defined, as shown in the figure?I’m going crazy. I don’t know how to define data.Thank you very much for any reply

Is everything supposed to be in a single Diagram? If so, you could put the collections of nodes into separate groups, and have the Group.layout be an instance of CircularLayout. See for example GoJS Arrowheads

The group template could just be implemented as:

$(go.Group,
  { layout: $(go.CircularLayout, ...) },
  $(go.Placeholder)
)