add graph selection, implement kioo template