Add draw support for graphs

[#74566376]