Graph Assignment using Classical Inheritance Approach