On a Graph Theoretical Characterization of Cis/Trans Isomers