Scaffold-based molecular design technique with a graph generative model