Interaction graphs derived from activation functions and their application to gene regulation