Refactor: scheduler: rename expand() method
... to add_actions_to_graph(), for clarity. Also add a doxygen block.