TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I create a variable input/output node using a new command as in the following pictureVriableSizeNode

Say for example, I know that the node will have n inputs and m outputs, which I enter the name as an argument for the new command, and at the same time, use it easily to link a specific input to a specific output

share|improve this question

closed as unclear what you're asking by Christian Hupfer, Guido, Jesse, Papiro, Martin Schröder Jan 6 '15 at 9:18

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

I'm sorry, but I don't understand the question. Are you looking to draw this picture, draw a similar (generalized) picture, or set up some sort of macro interface described by this picture? (haven't had my coffee yet) – Steven B. Segletes Mar 21 '14 at 13:46
It's the macros I'm looking for. I have to use the same block several times but with different number of inputs and outputs – user2536125 Mar 21 '14 at 21:24