The Scanyp graph widget permits you to show a dependency graph in your custom page.
The dependency graph widget sample is accessible from the folder $ScanypInstallFolder/extnsions/GraphSample.
Here's a sample of integrating a dependency graph in the extension:
The queries used by the dependency graph widget could be managed from the Admin->Queries tab. You can use an existing query or create a new one.