* add function graphic
* improve build for sample app