Edition within a graph kernel framework for shape recognition