filtering on graphpanel (not yet finished)