Inverse semigroups acting on graphs