In-Game or In-UI graphs/charts

That’s kind-of vague.

Do you want pieces that have lines drawn between each other? You can do this with a canvas that contains one sub-widget for each “card,” and then draws splines to connect the sockets of each cart as a final draw operation.

Do you want automatic layout? This is actually a Hard Problem that’s not always theoretically solvable, and when it is, it may be very hard/slow to get perfect (look into “planar graphs” and “the bin packing problem.”) But if there’s a clear hierarchy, just allocate columns, left to right, and then lay out the various cards in those columns, depth first, and finally run a little bit of relaxation to “center” things nicely.