I'm trying to figure out the cable direction on Altus front derailleur. This is a top swing FD. It is shown as below figure on shimano's dealer manual but it's not much clear.
Since your front derailleur (FD-M2000) is dual pull, the cable could either be attached to it in the down pull or the top pull configuration, as pictured below (Dealer's Manual - General Operations on page 44):
Looking at your photo, since the cable comes from below the derailleur, you must use the down pull configuration.
That being said, it is not clear at first glance if the cable must go through what you marked as A or B. If we look closely at the picture below though, we can see that the cable for the down pull configuration goes through notches which are similar to the notches on your FD for A and that B seems to have nothing to do with cable routing.
The groove under the pinch bolt can also gives a clue on where the cable should be coming from (as mentioned in the comments section by @Burki). If the cable is routed through A, the groove should be on the left side of the pinch bolt as we want the cable to be pinched straight with respect to the groove.