add similarity graphs