A Graph-theoretic Approach for Generating Proper Bias of Analogue Circuits