Edge state effects in junctions with graphene electrodes