There are three groups of parallel edges each of which contains $4$ edges. Therefore, the answer is $$3\times C_4^2 = \boxed{18}$$