This is the only possibility for his parents on the 1881 census but they are not on the 1891 (? deceased). I found a John Graham aged 13 b Manchester in Salford Workhouse and the entry below was William Graham aged 9 b Manchester. The entries are not in alphabetical order so William may have been John's brother. Given Ann's age, she cannot be the mother of the 2 elder children so James must have been married before
A cordwainer was an old term for a shoemaker
22 Shepley St Manchester
James GRAHAM 33 Ireland
Head
Cordwainer & Lodging
Ann GRAHAM 23 London
Wife
James GRAHAM 13 Manchester
Son
Cordwainers Assistt
Mary J. GRAHAM 9 Manchester
Daur
Scholar
Ann Elizth. GRAHAM 4 Manchester
Daur
John GRAHAM 3 Manchester
Son
Thomas GRAHAM 2 Manchester
Son
Margaret GRAHAM 1 Manchester
Daur
Mary PIDCOCK 29 Buxton Derby
Serv
Martha TAYLOR 23 London
Lodger
Ellen MELBOURNE 19 Shrewsbury, Shropshire, England
Lodger