click your component in the component list. and then right click in the graph.
You can then “Add Event of Component”. there you can select Activated/deactivated
click your component in the component list. and then right click in the graph.
You can then “Add Event of Component”. there you can select Activated/deactivated