the repo has samples:
https://github.com/microsoft/automatic-graph-layout
as to display you would need to do js interop to access the canvas, you might also be interested in a javascript version. there are several, but here a ms one with good documentation.
https://github.com/microsoft/msagljs
note: if your use case is display only, then the server can produce a bitmap that is displayed as an image. If this is an interactive, then I'd use a javascript library to produce the layout, and the javascript ship to blazor the data. You would not want to be sending mouse events to the server and back for the layout changes or trying to update a canvas via interop.