Matrix On A Graph