simple demo for graph and power search