On the point-group and line-group of a graph