cl_base* cl_base::findbyname(string search_object_name)
{
	if (object_name==search_object_name) 
	{
		return this;
	}
	for (cl_base* object: subordinate_objects) 
	{
		cl_base* foundobject=object->findbyname(search_object_name);
		if (foundobject){return foundobject;}
	}
	return nullptr;
}

Draw a block diagram using this code Please use JSON format in your answer.
user