A visual graphic approach for mobility analysis of parallel mechanisms