Monoidal structure on graphs