Well, you don't say what bike model or year it is, but maybe it does not matter.
I think it would depend on the condition of the existing brake line and it's age. If you were going to replace one brake line, why not replace them both? "pampadori" here makes excellent replacement brake lines from modern components and they are excellent (I am a happy customer).
Not all bikes have the arrangement you so skillfully drew. On the 750 K7 it is as you show. On the 78, there is no junction block and the brake switch is up in the master cylinder.
Welcome to our nut house. Drive safe and keep your bike safe.