How can i read/write custom blueprints through c++

i want to use the level blueprint in order to create a graph for the current level via script.
The graph i want to make is simple. It will have a custom event (eg start_event) and it will connect some actors. Each actor will have a c++ file and thats it… Can i do something like that?? thanks in advance!!!