How to define node blocks as composition from inside out? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How can I draw a TikZ element multiple times against a shaded background?Grouping objects and applying operation to the groupHow to draw path between nodes of nested tikzpictures?Define “block” and “connector” commands in TikZ?How to define the default vertical distance between nodes?To wrap the external lines so that it can touch the perimeterHow to fix naive solution for elements grouping?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingTikz: get the point at the arc endLine up nested tikz enviroments or how to get rid of themNode anchor centre of linefill color after batch drawSpace between containers and arrow from block to container

Does the main washing effect of soap come from foam?

By what mechanism was the 2017 UK General Election called?

What does 丫 mean? 丫是什么意思?

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

How to make an animal which can only breed for a certain number of generations?

Why does BitLocker not use RSA?

Inverse square law not accurate for non-point masses?

My mentor says to set image to Fine instead of RAW — how is this different from JPG?

Keep at all times, the minus sign above aligned with minus sign below

How do I say "this must not happen"?

An isoperimetric-type inequality inside a cube

Does the universe have a fixed centre of mass?

Meaning of 境 in その日を境に

Why do the Z-fighters hide their power?

How to achieve cat-like agility?

How does the body cool itself in a stillsuit?

Where did Ptolemy compare the Earth to the distance of fixed stars?

How to infer difference of population proportion between two groups when proportion is small?

What is the proper term for etching or digging of wall to hide conduit of cables

How can I list files in reverse time order by a command and pass them as arguments to another command?

.bashrc alias for a command with fixed second parameter

Shimano 105 brifters (5800) and Avid BB5 compatibility

How do I find my Spellcasting Ability for my D&D character?

Vertical ranges of Column Plots in 12



How to define node blocks as composition from inside out?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)How can I draw a TikZ element multiple times against a shaded background?Grouping objects and applying operation to the groupHow to draw path between nodes of nested tikzpictures?Define “block” and “connector” commands in TikZ?How to define the default vertical distance between nodes?To wrap the external lines so that it can touch the perimeterHow to fix naive solution for elements grouping?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingTikz: get the point at the arc endLine up nested tikz enviroments or how to get rid of themNode anchor centre of linefill color after batch drawSpace between containers and arrow from block to container










1















I've found a Q/A about how to create group nodes to blocks. It works, but exact opposite way as I needed. It defines internals and then draws blocks around them.



I need to define block with internals, LaTeX pseudocode:



begintikzpicture
myblock(main)Main block name
mynode(anode)[params]
mynode(bnode)[params,right=of anode]
myblock(subblock)Subblock name[below=of anode]
mynode(subnodea)[p...]
mynode(subnodeb)[p...]


myblock(sideblock)Aux block[right=of main]
... mynodes ...

endtikzpicture


Is there a way, how to define myblock as "complex node" - position is as one node and it moves all its internal nodes.



I've figured out part of the solution (didn't put commands into def yet):



begintikzpicture[
element/.style=draw=black, fill=white,
group/.style=draw=black, rounded corners, fill=white
]

node(main_a)[element]MAIN A;
node(group_a)[group, below=of main_a]
begintikzpicture
node(b)[element]bb;
node(c)[element, left=of b]ccc - left;
endtikzpicture
;
node(group_a_aux_r)[element,right=of group_a]Aux Group Right;
node(group_a_aux_l)[element,left=of group_a]Aux Group Left;
node(group_a_aux_b)[element,below=of group_a]Aux Group Bottom;

draw[->,red] (main_a) -- (group_a);
draw[->,red] (group_a) -- (group_a_aux_r);
draw[->,red] (group_a) -- (group_a_aux_l);
draw[->,red] (group_a) -- (group_a_aux_b);

node(group_b)[group, right=of group_a_aux_r]
begintikzpicture
node(d)[element]dddd;
node(e)[element, left=of d]eeee - left;
endtikzpicture
;

%code below fails - second image!!
node(aux_b)[element,right=of b,draw=blue]Aux B;
node(aux_c)[element,left=of c,draw=blue]Aux C;
draw[->,blue] (b) -- (aux_b);
draw[->,blue] (c) -- (aux_c);


draw[->,green] (c) -- (d);
endtikzpicture


Here is what I get without inner references:
complex node / group, without inner references
It works: lays out children, puts it into node and lays it out as node. However, It passes properties of group_a to its children, which is unwanted behaviour!



Here is what I get when inner references are added:
complex node / group, with inner references



This is completely broken.










share|improve this question



















  • 1





    I think you need a pic.

    – user11232
    Feb 8 '15 at 11:52











  • pic? What is that?

    – kravemir
    Feb 8 '15 at 12:16











  • Search for pic in pgfmanual.

    – user11232
    Feb 8 '15 at 12:25











  • Please always post complete code which can be compiled. You should post a minimal example which is a small document. Much more useful than fragments - especially with TiKZ.

    – cfr
    Feb 8 '15 at 14:42











  • Some examples with pics: tex.stackexchange.com/a/187977/1952, tex.stackexchange.com/a/151772/1952, tex.stackexchange.com/a/182700/1952

    – Ignasi
    Feb 9 '15 at 8:07















1















I've found a Q/A about how to create group nodes to blocks. It works, but exact opposite way as I needed. It defines internals and then draws blocks around them.



I need to define block with internals, LaTeX pseudocode:



begintikzpicture
myblock(main)Main block name
mynode(anode)[params]
mynode(bnode)[params,right=of anode]
myblock(subblock)Subblock name[below=of anode]
mynode(subnodea)[p...]
mynode(subnodeb)[p...]


myblock(sideblock)Aux block[right=of main]
... mynodes ...

endtikzpicture


Is there a way, how to define myblock as "complex node" - position is as one node and it moves all its internal nodes.



I've figured out part of the solution (didn't put commands into def yet):



begintikzpicture[
element/.style=draw=black, fill=white,
group/.style=draw=black, rounded corners, fill=white
]

node(main_a)[element]MAIN A;
node(group_a)[group, below=of main_a]
begintikzpicture
node(b)[element]bb;
node(c)[element, left=of b]ccc - left;
endtikzpicture
;
node(group_a_aux_r)[element,right=of group_a]Aux Group Right;
node(group_a_aux_l)[element,left=of group_a]Aux Group Left;
node(group_a_aux_b)[element,below=of group_a]Aux Group Bottom;

draw[->,red] (main_a) -- (group_a);
draw[->,red] (group_a) -- (group_a_aux_r);
draw[->,red] (group_a) -- (group_a_aux_l);
draw[->,red] (group_a) -- (group_a_aux_b);

node(group_b)[group, right=of group_a_aux_r]
begintikzpicture
node(d)[element]dddd;
node(e)[element, left=of d]eeee - left;
endtikzpicture
;

%code below fails - second image!!
node(aux_b)[element,right=of b,draw=blue]Aux B;
node(aux_c)[element,left=of c,draw=blue]Aux C;
draw[->,blue] (b) -- (aux_b);
draw[->,blue] (c) -- (aux_c);


draw[->,green] (c) -- (d);
endtikzpicture


Here is what I get without inner references:
complex node / group, without inner references
It works: lays out children, puts it into node and lays it out as node. However, It passes properties of group_a to its children, which is unwanted behaviour!



Here is what I get when inner references are added:
complex node / group, with inner references



This is completely broken.










share|improve this question



















  • 1





    I think you need a pic.

    – user11232
    Feb 8 '15 at 11:52











  • pic? What is that?

    – kravemir
    Feb 8 '15 at 12:16











  • Search for pic in pgfmanual.

    – user11232
    Feb 8 '15 at 12:25











  • Please always post complete code which can be compiled. You should post a minimal example which is a small document. Much more useful than fragments - especially with TiKZ.

    – cfr
    Feb 8 '15 at 14:42











  • Some examples with pics: tex.stackexchange.com/a/187977/1952, tex.stackexchange.com/a/151772/1952, tex.stackexchange.com/a/182700/1952

    – Ignasi
    Feb 9 '15 at 8:07













1












1








1


0






I've found a Q/A about how to create group nodes to blocks. It works, but exact opposite way as I needed. It defines internals and then draws blocks around them.



I need to define block with internals, LaTeX pseudocode:



begintikzpicture
myblock(main)Main block name
mynode(anode)[params]
mynode(bnode)[params,right=of anode]
myblock(subblock)Subblock name[below=of anode]
mynode(subnodea)[p...]
mynode(subnodeb)[p...]


myblock(sideblock)Aux block[right=of main]
... mynodes ...

endtikzpicture


Is there a way, how to define myblock as "complex node" - position is as one node and it moves all its internal nodes.



I've figured out part of the solution (didn't put commands into def yet):



begintikzpicture[
element/.style=draw=black, fill=white,
group/.style=draw=black, rounded corners, fill=white
]

node(main_a)[element]MAIN A;
node(group_a)[group, below=of main_a]
begintikzpicture
node(b)[element]bb;
node(c)[element, left=of b]ccc - left;
endtikzpicture
;
node(group_a_aux_r)[element,right=of group_a]Aux Group Right;
node(group_a_aux_l)[element,left=of group_a]Aux Group Left;
node(group_a_aux_b)[element,below=of group_a]Aux Group Bottom;

draw[->,red] (main_a) -- (group_a);
draw[->,red] (group_a) -- (group_a_aux_r);
draw[->,red] (group_a) -- (group_a_aux_l);
draw[->,red] (group_a) -- (group_a_aux_b);

node(group_b)[group, right=of group_a_aux_r]
begintikzpicture
node(d)[element]dddd;
node(e)[element, left=of d]eeee - left;
endtikzpicture
;

%code below fails - second image!!
node(aux_b)[element,right=of b,draw=blue]Aux B;
node(aux_c)[element,left=of c,draw=blue]Aux C;
draw[->,blue] (b) -- (aux_b);
draw[->,blue] (c) -- (aux_c);


draw[->,green] (c) -- (d);
endtikzpicture


Here is what I get without inner references:
complex node / group, without inner references
It works: lays out children, puts it into node and lays it out as node. However, It passes properties of group_a to its children, which is unwanted behaviour!



Here is what I get when inner references are added:
complex node / group, with inner references



This is completely broken.










share|improve this question
















I've found a Q/A about how to create group nodes to blocks. It works, but exact opposite way as I needed. It defines internals and then draws blocks around them.



I need to define block with internals, LaTeX pseudocode:



begintikzpicture
myblock(main)Main block name
mynode(anode)[params]
mynode(bnode)[params,right=of anode]
myblock(subblock)Subblock name[below=of anode]
mynode(subnodea)[p...]
mynode(subnodeb)[p...]


myblock(sideblock)Aux block[right=of main]
... mynodes ...

endtikzpicture


Is there a way, how to define myblock as "complex node" - position is as one node and it moves all its internal nodes.



I've figured out part of the solution (didn't put commands into def yet):



begintikzpicture[
element/.style=draw=black, fill=white,
group/.style=draw=black, rounded corners, fill=white
]

node(main_a)[element]MAIN A;
node(group_a)[group, below=of main_a]
begintikzpicture
node(b)[element]bb;
node(c)[element, left=of b]ccc - left;
endtikzpicture
;
node(group_a_aux_r)[element,right=of group_a]Aux Group Right;
node(group_a_aux_l)[element,left=of group_a]Aux Group Left;
node(group_a_aux_b)[element,below=of group_a]Aux Group Bottom;

draw[->,red] (main_a) -- (group_a);
draw[->,red] (group_a) -- (group_a_aux_r);
draw[->,red] (group_a) -- (group_a_aux_l);
draw[->,red] (group_a) -- (group_a_aux_b);

node(group_b)[group, right=of group_a_aux_r]
begintikzpicture
node(d)[element]dddd;
node(e)[element, left=of d]eeee - left;
endtikzpicture
;

%code below fails - second image!!
node(aux_b)[element,right=of b,draw=blue]Aux B;
node(aux_c)[element,left=of c,draw=blue]Aux C;
draw[->,blue] (b) -- (aux_b);
draw[->,blue] (c) -- (aux_c);


draw[->,green] (c) -- (d);
endtikzpicture


Here is what I get without inner references:
complex node / group, without inner references
It works: lays out children, puts it into node and lays it out as node. However, It passes properties of group_a to its children, which is unwanted behaviour!



Here is what I get when inner references are added:
complex node / group, with inner references



This is completely broken.







tikz-pgf diagrams nodes






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:35









Community

1




1










asked Feb 8 '15 at 10:06









kravemirkravemir

24017




24017







  • 1





    I think you need a pic.

    – user11232
    Feb 8 '15 at 11:52











  • pic? What is that?

    – kravemir
    Feb 8 '15 at 12:16











  • Search for pic in pgfmanual.

    – user11232
    Feb 8 '15 at 12:25











  • Please always post complete code which can be compiled. You should post a minimal example which is a small document. Much more useful than fragments - especially with TiKZ.

    – cfr
    Feb 8 '15 at 14:42











  • Some examples with pics: tex.stackexchange.com/a/187977/1952, tex.stackexchange.com/a/151772/1952, tex.stackexchange.com/a/182700/1952

    – Ignasi
    Feb 9 '15 at 8:07












  • 1





    I think you need a pic.

    – user11232
    Feb 8 '15 at 11:52











  • pic? What is that?

    – kravemir
    Feb 8 '15 at 12:16











  • Search for pic in pgfmanual.

    – user11232
    Feb 8 '15 at 12:25











  • Please always post complete code which can be compiled. You should post a minimal example which is a small document. Much more useful than fragments - especially with TiKZ.

    – cfr
    Feb 8 '15 at 14:42











  • Some examples with pics: tex.stackexchange.com/a/187977/1952, tex.stackexchange.com/a/151772/1952, tex.stackexchange.com/a/182700/1952

    – Ignasi
    Feb 9 '15 at 8:07







1




1





I think you need a pic.

– user11232
Feb 8 '15 at 11:52





I think you need a pic.

– user11232
Feb 8 '15 at 11:52













pic? What is that?

– kravemir
Feb 8 '15 at 12:16





pic? What is that?

– kravemir
Feb 8 '15 at 12:16













Search for pic in pgfmanual.

– user11232
Feb 8 '15 at 12:25





Search for pic in pgfmanual.

– user11232
Feb 8 '15 at 12:25













Please always post complete code which can be compiled. You should post a minimal example which is a small document. Much more useful than fragments - especially with TiKZ.

– cfr
Feb 8 '15 at 14:42





Please always post complete code which can be compiled. You should post a minimal example which is a small document. Much more useful than fragments - especially with TiKZ.

– cfr
Feb 8 '15 at 14:42













Some examples with pics: tex.stackexchange.com/a/187977/1952, tex.stackexchange.com/a/151772/1952, tex.stackexchange.com/a/182700/1952

– Ignasi
Feb 9 '15 at 8:07





Some examples with pics: tex.stackexchange.com/a/187977/1952, tex.stackexchange.com/a/151772/1952, tex.stackexchange.com/a/182700/1952

– Ignasi
Feb 9 '15 at 8:07










1 Answer
1






active

oldest

votes


















1














Nesting TikZ pictures is not a good idea. It may give strange effects, as it happened to you.



You could use a TikZ matrix instead.



However, it is not clear where you want to position Aux B and Aux C because as they are in your MWE, they overlap with the other nodes.



documentclassstandalone 
usepackagetikz
usetikzlibrarymatrix
usetikzlibrarypositioning
begindocument
begintikzpicture[
element/.style=draw=black,
group/.style=draw=black, rounded corners
]
node(main_a)[element]MAIN A;
matrix[group,
column sep=3em,
matrix of nodes,
nodes=element,
below=of main_a
] (group_a) bb &
;
node(group_a_aux_r)[element,right= of group_a]Aux Group Right;
node(group_a_aux_l)[element,left= of group_a]Aux Group Left;
node(group_a_aux_b)[element,below=of group_a]Aux Group Bottom;
draw[->,red] (main_a) -- (group_a);
draw[->,red] (group_a) -- (group_a_aux_r);
draw[->,red] (group_a) -- (group_a_aux_l);
draw[->,red] (group_a) -- (group_a_aux_b);
matrix[group,
column sep=3em,
matrix of nodes,
nodes=element,
right=of group_a_aux_r
] (group_b) dddd &
;
node(aux_b)[above left= of b,draw=blue]Aux B;
node(aux_c)[below right=of c,draw=blue]Aux C;
draw[->,blue] (b) -- (aux_b);
draw[->,blue] (c) -- (aux_c);

draw[->,green] (c) -- (d);
endtikzpicture
enddocument


enter image description here





share























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "85"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f227162%2fhow-to-define-node-blocks-as-composition-from-inside-out%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Nesting TikZ pictures is not a good idea. It may give strange effects, as it happened to you.



    You could use a TikZ matrix instead.



    However, it is not clear where you want to position Aux B and Aux C because as they are in your MWE, they overlap with the other nodes.



    documentclassstandalone 
    usepackagetikz
    usetikzlibrarymatrix
    usetikzlibrarypositioning
    begindocument
    begintikzpicture[
    element/.style=draw=black,
    group/.style=draw=black, rounded corners
    ]
    node(main_a)[element]MAIN A;
    matrix[group,
    column sep=3em,
    matrix of nodes,
    nodes=element,
    below=of main_a
    ] (group_a) bb &
    ;
    node(group_a_aux_r)[element,right= of group_a]Aux Group Right;
    node(group_a_aux_l)[element,left= of group_a]Aux Group Left;
    node(group_a_aux_b)[element,below=of group_a]Aux Group Bottom;
    draw[->,red] (main_a) -- (group_a);
    draw[->,red] (group_a) -- (group_a_aux_r);
    draw[->,red] (group_a) -- (group_a_aux_l);
    draw[->,red] (group_a) -- (group_a_aux_b);
    matrix[group,
    column sep=3em,
    matrix of nodes,
    nodes=element,
    right=of group_a_aux_r
    ] (group_b) dddd &
    ;
    node(aux_b)[above left= of b,draw=blue]Aux B;
    node(aux_c)[below right=of c,draw=blue]Aux C;
    draw[->,blue] (b) -- (aux_b);
    draw[->,blue] (c) -- (aux_c);

    draw[->,green] (c) -- (d);
    endtikzpicture
    enddocument


    enter image description here





    share



























      1














      Nesting TikZ pictures is not a good idea. It may give strange effects, as it happened to you.



      You could use a TikZ matrix instead.



      However, it is not clear where you want to position Aux B and Aux C because as they are in your MWE, they overlap with the other nodes.



      documentclassstandalone 
      usepackagetikz
      usetikzlibrarymatrix
      usetikzlibrarypositioning
      begindocument
      begintikzpicture[
      element/.style=draw=black,
      group/.style=draw=black, rounded corners
      ]
      node(main_a)[element]MAIN A;
      matrix[group,
      column sep=3em,
      matrix of nodes,
      nodes=element,
      below=of main_a
      ] (group_a) bb &
      ;
      node(group_a_aux_r)[element,right= of group_a]Aux Group Right;
      node(group_a_aux_l)[element,left= of group_a]Aux Group Left;
      node(group_a_aux_b)[element,below=of group_a]Aux Group Bottom;
      draw[->,red] (main_a) -- (group_a);
      draw[->,red] (group_a) -- (group_a_aux_r);
      draw[->,red] (group_a) -- (group_a_aux_l);
      draw[->,red] (group_a) -- (group_a_aux_b);
      matrix[group,
      column sep=3em,
      matrix of nodes,
      nodes=element,
      right=of group_a_aux_r
      ] (group_b) dddd &
      ;
      node(aux_b)[above left= of b,draw=blue]Aux B;
      node(aux_c)[below right=of c,draw=blue]Aux C;
      draw[->,blue] (b) -- (aux_b);
      draw[->,blue] (c) -- (aux_c);

      draw[->,green] (c) -- (d);
      endtikzpicture
      enddocument


      enter image description here





      share

























        1












        1








        1







        Nesting TikZ pictures is not a good idea. It may give strange effects, as it happened to you.



        You could use a TikZ matrix instead.



        However, it is not clear where you want to position Aux B and Aux C because as they are in your MWE, they overlap with the other nodes.



        documentclassstandalone 
        usepackagetikz
        usetikzlibrarymatrix
        usetikzlibrarypositioning
        begindocument
        begintikzpicture[
        element/.style=draw=black,
        group/.style=draw=black, rounded corners
        ]
        node(main_a)[element]MAIN A;
        matrix[group,
        column sep=3em,
        matrix of nodes,
        nodes=element,
        below=of main_a
        ] (group_a) bb &
        ;
        node(group_a_aux_r)[element,right= of group_a]Aux Group Right;
        node(group_a_aux_l)[element,left= of group_a]Aux Group Left;
        node(group_a_aux_b)[element,below=of group_a]Aux Group Bottom;
        draw[->,red] (main_a) -- (group_a);
        draw[->,red] (group_a) -- (group_a_aux_r);
        draw[->,red] (group_a) -- (group_a_aux_l);
        draw[->,red] (group_a) -- (group_a_aux_b);
        matrix[group,
        column sep=3em,
        matrix of nodes,
        nodes=element,
        right=of group_a_aux_r
        ] (group_b) dddd &
        ;
        node(aux_b)[above left= of b,draw=blue]Aux B;
        node(aux_c)[below right=of c,draw=blue]Aux C;
        draw[->,blue] (b) -- (aux_b);
        draw[->,blue] (c) -- (aux_c);

        draw[->,green] (c) -- (d);
        endtikzpicture
        enddocument


        enter image description here





        share













        Nesting TikZ pictures is not a good idea. It may give strange effects, as it happened to you.



        You could use a TikZ matrix instead.



        However, it is not clear where you want to position Aux B and Aux C because as they are in your MWE, they overlap with the other nodes.



        documentclassstandalone 
        usepackagetikz
        usetikzlibrarymatrix
        usetikzlibrarypositioning
        begindocument
        begintikzpicture[
        element/.style=draw=black,
        group/.style=draw=black, rounded corners
        ]
        node(main_a)[element]MAIN A;
        matrix[group,
        column sep=3em,
        matrix of nodes,
        nodes=element,
        below=of main_a
        ] (group_a) bb &
        ;
        node(group_a_aux_r)[element,right= of group_a]Aux Group Right;
        node(group_a_aux_l)[element,left= of group_a]Aux Group Left;
        node(group_a_aux_b)[element,below=of group_a]Aux Group Bottom;
        draw[->,red] (main_a) -- (group_a);
        draw[->,red] (group_a) -- (group_a_aux_r);
        draw[->,red] (group_a) -- (group_a_aux_l);
        draw[->,red] (group_a) -- (group_a_aux_b);
        matrix[group,
        column sep=3em,
        matrix of nodes,
        nodes=element,
        right=of group_a_aux_r
        ] (group_b) dddd &
        ;
        node(aux_b)[above left= of b,draw=blue]Aux B;
        node(aux_c)[below right=of c,draw=blue]Aux C;
        draw[->,blue] (b) -- (aux_b);
        draw[->,blue] (c) -- (aux_c);

        draw[->,green] (c) -- (d);
        endtikzpicture
        enddocument


        enter image description here






        share











        share


        share










        answered 1 min ago









        CarLaTeXCarLaTeX

        35.2k554148




        35.2k554148



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f227162%2fhow-to-define-node-blocks-as-composition-from-inside-out%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

            Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

            Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm