implement multiple graph system