Tool used to diagram Intune. Needs some work, but it does show some promise.

Install-Module -Name "IntuneMermaid"

GitHub

alt text