On partial cubes, well-graded families and their duals with some applications in graphs