Add query function to generate ancor graph

This commit adds a query function to generate a network graph of ancor.
There is a weird JS problem that doesn't seem to be allowing the
configuration to work.