let query plan viz support NAryOperator.
make `queryPlan` as a class variable rather using 
the global variable `queryPlan`. since in a page 
there could be two query plans now.