TikZ how to make supply and demand arrows for nodes?How to define the default vertical distance between nodes?Changing Size of Arrows, Labels, Loops in Diagrams and Directed GraphsTikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?Half arrows in graph using TikZTikZ: Drawing an arc from an intersection to an intersectionWhy does my arrow head size decrease?Parallel arrows between nodes of varying sizeTransform a shape based on existing coordinatesAdding nodes through a TikZ style, using double dash lines ``--``

Providence Pentominoes Puzzle By Andrew Bradburn (Jigsaw)

Short story about a planet with two sentient species

Why the difference in metal between 銀行 and お金?

Trainer for recumbent bikes

How to interact with ERC20 interface?

Rivers without rain

How to set the font color of quantity objects (Version 11.3 vs version 12)

Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?

Why do 401k up to company match, then fill Roth IRA, then finish filling 401k?

Phrase for the opposite of "foolproof"

What is the strongest case that can be made in favour of the UK regaining some control over fishing policy after Brexit?

A Strange Latex Symbol

Packing rectangles: Does rotation ever help?

Do I have an "anti-research" personality?

What is the point of Germany's 299 "party seats" in the Bundestag?

How to back up a running remote server?

Alternatives to Overleaf

Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?

Please, smoke with good manners

Why does nature favour the Laplacian?

"The cow" OR "a cow" OR "cows" in this context

How could Tony Stark make this in Endgame?

Is it possible to dynamically set properties of an `Object` using Apex?

Minimum value of 4 digit number divided by sum of its digits



TikZ how to make supply and demand arrows for nodes?


How to define the default vertical distance between nodes?Changing Size of Arrows, Labels, Loops in Diagrams and Directed GraphsTikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?Half arrows in graph using TikZTikZ: Drawing an arc from an intersection to an intersectionWhy does my arrow head size decrease?Parallel arrows between nodes of varying sizeTransform a shape based on existing coordinatesAdding nodes through a TikZ style, using double dash lines ``--``













1















I have the nodes and arcs modeled in TikZ, but I'm scratching my head about how to draw the 'supply' and 'demand' double arrows (e.g. demand of 2 on node 1, supply of 2 on node 3). Can anybody help? Thanks



what I want



current code, which produces the nodes and arcs (ignoring dashed lines), the demand nodes, but not the double-tailed supply and demand arrows:



documentclass[]article

usepackagepgf, tikz
usetikzlibraryarrows, automata, positioning

begindocument
begintikzpicture
[roundnode/.style=circle,draw=black!50,thick,
supplynode/.style=circle,
> = stealth, % arrow head style
shorten > = 1pt, % don't touch arrow head to node
auto,
node distance = 3cm, % distance between nodes
semithick % line style
]
node at (0,0) [roundnode] (n1) 1;
node at (2.5,2.5) [roundnode] (n2) 2;
node at (0.0,5.0) [roundnode] (n3) 3;
node at (5.0,0.0) [roundnode] (n4) 4;
node at (5.0,4.0) [roundnode] (n5) 5;
node at (10.0,5.0) [roundnode] (n6) 6;
node at (10.0,0.0) [roundnode] (n7) 7;
node at (7.5,2.5) [roundnode] (n8) 8;

node at (-1.0, -1.0) [supplynode] (s1) 2;
node at (2.5, 3.5) [supplynode] (s2) 1;
node at (-1.0, 6.0) [supplynode] (s3) 2;
node at (5.0,-1.0) [supplynode] (s4) 6;
node at (6.0,4.0) [supplynode] (s5) 2;
node at (11.0,0.0) [supplynode] (s7) 5;

path[->] (n1) edge node 0 (n3);
path[->] (n2) edge node 3 (n1);
path[->] (n2) edge node 2 (n5);
path[->] (n3) edge node 0 (n2);
path[->] (n3) edge node 1 (n6);
path[->] (n4) edge node 1 (n1);
path[->] (n5) edge node 2 (n4);
path[->] (n6) edge node 1 (n8);
path[->] (n7) edge node 1 (n6);
path[->] (n7) edge node 4 (n4);
path[->] (n8) edge node 3 (n5);
path[->] (n8) edge node 0 (n7);



endtikzpicture
enddocument



what the above code produces:
enter image description here










share|improve this question









New contributor




user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 2





    Welcome to Stackexchange! According to our guidelines, it would be appreciated to see some MWE to help you based on your current code. Thanks a lot!

    – Dave
    1 hour ago











  • with Implies[] from arrows.meta library?

    – Zarko
    1 hour ago











  • Thanks @Dave, what is MWE?

    – user1757226
    1 hour ago











  • @user1757226 see tex.meta.stackexchange.com/q/228/63847.

    – LarrySnyder610
    1 hour ago











  • well, this is only code snippet :-). *mwe*(minimal working example) is complete document beginning with documentclass with needed packages and your definitions in preamble following with document body with your code snippet and with enddocument on the end.

    – Zarko
    1 hour ago















1















I have the nodes and arcs modeled in TikZ, but I'm scratching my head about how to draw the 'supply' and 'demand' double arrows (e.g. demand of 2 on node 1, supply of 2 on node 3). Can anybody help? Thanks



what I want



current code, which produces the nodes and arcs (ignoring dashed lines), the demand nodes, but not the double-tailed supply and demand arrows:



documentclass[]article

usepackagepgf, tikz
usetikzlibraryarrows, automata, positioning

begindocument
begintikzpicture
[roundnode/.style=circle,draw=black!50,thick,
supplynode/.style=circle,
> = stealth, % arrow head style
shorten > = 1pt, % don't touch arrow head to node
auto,
node distance = 3cm, % distance between nodes
semithick % line style
]
node at (0,0) [roundnode] (n1) 1;
node at (2.5,2.5) [roundnode] (n2) 2;
node at (0.0,5.0) [roundnode] (n3) 3;
node at (5.0,0.0) [roundnode] (n4) 4;
node at (5.0,4.0) [roundnode] (n5) 5;
node at (10.0,5.0) [roundnode] (n6) 6;
node at (10.0,0.0) [roundnode] (n7) 7;
node at (7.5,2.5) [roundnode] (n8) 8;

node at (-1.0, -1.0) [supplynode] (s1) 2;
node at (2.5, 3.5) [supplynode] (s2) 1;
node at (-1.0, 6.0) [supplynode] (s3) 2;
node at (5.0,-1.0) [supplynode] (s4) 6;
node at (6.0,4.0) [supplynode] (s5) 2;
node at (11.0,0.0) [supplynode] (s7) 5;

path[->] (n1) edge node 0 (n3);
path[->] (n2) edge node 3 (n1);
path[->] (n2) edge node 2 (n5);
path[->] (n3) edge node 0 (n2);
path[->] (n3) edge node 1 (n6);
path[->] (n4) edge node 1 (n1);
path[->] (n5) edge node 2 (n4);
path[->] (n6) edge node 1 (n8);
path[->] (n7) edge node 1 (n6);
path[->] (n7) edge node 4 (n4);
path[->] (n8) edge node 3 (n5);
path[->] (n8) edge node 0 (n7);



endtikzpicture
enddocument



what the above code produces:
enter image description here










share|improve this question









New contributor




user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 2





    Welcome to Stackexchange! According to our guidelines, it would be appreciated to see some MWE to help you based on your current code. Thanks a lot!

    – Dave
    1 hour ago











  • with Implies[] from arrows.meta library?

    – Zarko
    1 hour ago











  • Thanks @Dave, what is MWE?

    – user1757226
    1 hour ago











  • @user1757226 see tex.meta.stackexchange.com/q/228/63847.

    – LarrySnyder610
    1 hour ago











  • well, this is only code snippet :-). *mwe*(minimal working example) is complete document beginning with documentclass with needed packages and your definitions in preamble following with document body with your code snippet and with enddocument on the end.

    – Zarko
    1 hour ago













1












1








1


0






I have the nodes and arcs modeled in TikZ, but I'm scratching my head about how to draw the 'supply' and 'demand' double arrows (e.g. demand of 2 on node 1, supply of 2 on node 3). Can anybody help? Thanks



what I want



current code, which produces the nodes and arcs (ignoring dashed lines), the demand nodes, but not the double-tailed supply and demand arrows:



documentclass[]article

usepackagepgf, tikz
usetikzlibraryarrows, automata, positioning

begindocument
begintikzpicture
[roundnode/.style=circle,draw=black!50,thick,
supplynode/.style=circle,
> = stealth, % arrow head style
shorten > = 1pt, % don't touch arrow head to node
auto,
node distance = 3cm, % distance between nodes
semithick % line style
]
node at (0,0) [roundnode] (n1) 1;
node at (2.5,2.5) [roundnode] (n2) 2;
node at (0.0,5.0) [roundnode] (n3) 3;
node at (5.0,0.0) [roundnode] (n4) 4;
node at (5.0,4.0) [roundnode] (n5) 5;
node at (10.0,5.0) [roundnode] (n6) 6;
node at (10.0,0.0) [roundnode] (n7) 7;
node at (7.5,2.5) [roundnode] (n8) 8;

node at (-1.0, -1.0) [supplynode] (s1) 2;
node at (2.5, 3.5) [supplynode] (s2) 1;
node at (-1.0, 6.0) [supplynode] (s3) 2;
node at (5.0,-1.0) [supplynode] (s4) 6;
node at (6.0,4.0) [supplynode] (s5) 2;
node at (11.0,0.0) [supplynode] (s7) 5;

path[->] (n1) edge node 0 (n3);
path[->] (n2) edge node 3 (n1);
path[->] (n2) edge node 2 (n5);
path[->] (n3) edge node 0 (n2);
path[->] (n3) edge node 1 (n6);
path[->] (n4) edge node 1 (n1);
path[->] (n5) edge node 2 (n4);
path[->] (n6) edge node 1 (n8);
path[->] (n7) edge node 1 (n6);
path[->] (n7) edge node 4 (n4);
path[->] (n8) edge node 3 (n5);
path[->] (n8) edge node 0 (n7);



endtikzpicture
enddocument



what the above code produces:
enter image description here










share|improve this question









New contributor




user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I have the nodes and arcs modeled in TikZ, but I'm scratching my head about how to draw the 'supply' and 'demand' double arrows (e.g. demand of 2 on node 1, supply of 2 on node 3). Can anybody help? Thanks



what I want



current code, which produces the nodes and arcs (ignoring dashed lines), the demand nodes, but not the double-tailed supply and demand arrows:



documentclass[]article

usepackagepgf, tikz
usetikzlibraryarrows, automata, positioning

begindocument
begintikzpicture
[roundnode/.style=circle,draw=black!50,thick,
supplynode/.style=circle,
> = stealth, % arrow head style
shorten > = 1pt, % don't touch arrow head to node
auto,
node distance = 3cm, % distance between nodes
semithick % line style
]
node at (0,0) [roundnode] (n1) 1;
node at (2.5,2.5) [roundnode] (n2) 2;
node at (0.0,5.0) [roundnode] (n3) 3;
node at (5.0,0.0) [roundnode] (n4) 4;
node at (5.0,4.0) [roundnode] (n5) 5;
node at (10.0,5.0) [roundnode] (n6) 6;
node at (10.0,0.0) [roundnode] (n7) 7;
node at (7.5,2.5) [roundnode] (n8) 8;

node at (-1.0, -1.0) [supplynode] (s1) 2;
node at (2.5, 3.5) [supplynode] (s2) 1;
node at (-1.0, 6.0) [supplynode] (s3) 2;
node at (5.0,-1.0) [supplynode] (s4) 6;
node at (6.0,4.0) [supplynode] (s5) 2;
node at (11.0,0.0) [supplynode] (s7) 5;

path[->] (n1) edge node 0 (n3);
path[->] (n2) edge node 3 (n1);
path[->] (n2) edge node 2 (n5);
path[->] (n3) edge node 0 (n2);
path[->] (n3) edge node 1 (n6);
path[->] (n4) edge node 1 (n1);
path[->] (n5) edge node 2 (n4);
path[->] (n6) edge node 1 (n8);
path[->] (n7) edge node 1 (n6);
path[->] (n7) edge node 4 (n4);
path[->] (n8) edge node 3 (n5);
path[->] (n8) edge node 0 (n7);



endtikzpicture
enddocument



what the above code produces:
enter image description here







tikz-pgf






share|improve this question









New contributor




user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 44 mins ago







user1757226













New contributor




user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 1 hour ago









user1757226user1757226

263




263




New contributor




user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 2





    Welcome to Stackexchange! According to our guidelines, it would be appreciated to see some MWE to help you based on your current code. Thanks a lot!

    – Dave
    1 hour ago











  • with Implies[] from arrows.meta library?

    – Zarko
    1 hour ago











  • Thanks @Dave, what is MWE?

    – user1757226
    1 hour ago











  • @user1757226 see tex.meta.stackexchange.com/q/228/63847.

    – LarrySnyder610
    1 hour ago











  • well, this is only code snippet :-). *mwe*(minimal working example) is complete document beginning with documentclass with needed packages and your definitions in preamble following with document body with your code snippet and with enddocument on the end.

    – Zarko
    1 hour ago












  • 2





    Welcome to Stackexchange! According to our guidelines, it would be appreciated to see some MWE to help you based on your current code. Thanks a lot!

    – Dave
    1 hour ago











  • with Implies[] from arrows.meta library?

    – Zarko
    1 hour ago











  • Thanks @Dave, what is MWE?

    – user1757226
    1 hour ago











  • @user1757226 see tex.meta.stackexchange.com/q/228/63847.

    – LarrySnyder610
    1 hour ago











  • well, this is only code snippet :-). *mwe*(minimal working example) is complete document beginning with documentclass with needed packages and your definitions in preamble following with document body with your code snippet and with enddocument on the end.

    – Zarko
    1 hour ago







2




2





Welcome to Stackexchange! According to our guidelines, it would be appreciated to see some MWE to help you based on your current code. Thanks a lot!

– Dave
1 hour ago





Welcome to Stackexchange! According to our guidelines, it would be appreciated to see some MWE to help you based on your current code. Thanks a lot!

– Dave
1 hour ago













with Implies[] from arrows.meta library?

– Zarko
1 hour ago





with Implies[] from arrows.meta library?

– Zarko
1 hour ago













Thanks @Dave, what is MWE?

– user1757226
1 hour ago





Thanks @Dave, what is MWE?

– user1757226
1 hour ago













@user1757226 see tex.meta.stackexchange.com/q/228/63847.

– LarrySnyder610
1 hour ago





@user1757226 see tex.meta.stackexchange.com/q/228/63847.

– LarrySnyder610
1 hour ago













well, this is only code snippet :-). *mwe*(minimal working example) is complete document beginning with documentclass with needed packages and your definitions in preamble following with document body with your code snippet and with enddocument on the end.

– Zarko
1 hour ago





well, this is only code snippet :-). *mwe*(minimal working example) is complete document beginning with documentclass with needed packages and your definitions in preamble following with document body with your code snippet and with enddocument on the end.

– Zarko
1 hour ago










1 Answer
1






active

oldest

votes


















2














OK, I'm sure there's a better way to organize things inside the Tikz, but I have found a sufficient answer to my question myself. Posting here for posterity.



documentclass[]article

usepackagepgf, tikz
usetikzlibraryarrows, automata, positioning, arrows.meta

begindocument
begintikzpicture
[roundnode/.style=circle,draw=black!50,thick,
supplynode/.style=circle ,
> = stealth, % arrow head style
shorten > = 1pt, % don't touch arrow head to node
auto,
node distance = 3cm, % distance between nodes
semithick % line style
]
node at (0,0) [roundnode] (n1) 1;
node at (2.5,2.5) [roundnode] (n2) 2;
node at (0.0,5.0) [roundnode] (n3) 3;
node at (5.0,0.0) [roundnode] (n4) 4;
node at (5.0,4.0) [roundnode] (n5) 5;
node at (10.0,5.0) [roundnode] (n6) 6;
node at (10.0,0.0) [roundnode] (n7) 7;
node at (7.5,2.5) [roundnode] (n8) 8;

node at (-1.0, -1.0) [supplynode] (s1) 2;
node at (2.5, 4.0) [supplynode] (s2) 1;
node at (-1.0, 6.0) [supplynode] (d3) 2;
node at (5.0,-1.5) [supplynode] (s4) 6;
node at (6.5,4.0) [supplynode] (d5) 2;
node at (11.5,0.0) [supplynode] (d7) 5;

path[->] (n1) edge node 0 (n3);
path[->] (n2) edge node 3 (n1);
path[->] (n2) edge node 2 (n5);
path[->] (n3) edge node 0 (n2);
path[->] (n3) edge node 1 (n6);
path[->] (n4) edge node 1 (n1);
path[->] (n5) edge node 2 (n4);
path[->] (n6) edge node 1 (n8);
path[->] (n7) edge node 1 (n6);
path[->] (n7) edge node 4 (n4);
path[->] (n8) edge node 3 (n5);
path[->] (n8) edge node 0 (n7);

draw[-Implies,line width=1pt,double distance=2pt] (n1) -- (s1);
draw[-Implies,line width=1pt,double distance=2pt] (n2) -- (s2);
draw[-Implies,line width=1pt,double distance=2pt] (d3) -- (n3);
draw[-Implies,line width=1pt,double distance=2pt] (n4) -- (s4);
draw[-Implies,line width=1pt,double distance=2pt] (d5) -- (n5);
draw[-Implies,line width=1pt,double distance=2pt] (d7) -- (n7);
endtikzpicture
enddocument


produces this, which is sufficient for my needs. Thanks @Zarko for the tip.
enter image description here






share|improve this answer








New contributor




user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    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
    );



    );






    user1757226 is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f488072%2ftikz-how-to-make-supply-and-demand-arrows-for-nodes%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









    2














    OK, I'm sure there's a better way to organize things inside the Tikz, but I have found a sufficient answer to my question myself. Posting here for posterity.



    documentclass[]article

    usepackagepgf, tikz
    usetikzlibraryarrows, automata, positioning, arrows.meta

    begindocument
    begintikzpicture
    [roundnode/.style=circle,draw=black!50,thick,
    supplynode/.style=circle ,
    > = stealth, % arrow head style
    shorten > = 1pt, % don't touch arrow head to node
    auto,
    node distance = 3cm, % distance between nodes
    semithick % line style
    ]
    node at (0,0) [roundnode] (n1) 1;
    node at (2.5,2.5) [roundnode] (n2) 2;
    node at (0.0,5.0) [roundnode] (n3) 3;
    node at (5.0,0.0) [roundnode] (n4) 4;
    node at (5.0,4.0) [roundnode] (n5) 5;
    node at (10.0,5.0) [roundnode] (n6) 6;
    node at (10.0,0.0) [roundnode] (n7) 7;
    node at (7.5,2.5) [roundnode] (n8) 8;

    node at (-1.0, -1.0) [supplynode] (s1) 2;
    node at (2.5, 4.0) [supplynode] (s2) 1;
    node at (-1.0, 6.0) [supplynode] (d3) 2;
    node at (5.0,-1.5) [supplynode] (s4) 6;
    node at (6.5,4.0) [supplynode] (d5) 2;
    node at (11.5,0.0) [supplynode] (d7) 5;

    path[->] (n1) edge node 0 (n3);
    path[->] (n2) edge node 3 (n1);
    path[->] (n2) edge node 2 (n5);
    path[->] (n3) edge node 0 (n2);
    path[->] (n3) edge node 1 (n6);
    path[->] (n4) edge node 1 (n1);
    path[->] (n5) edge node 2 (n4);
    path[->] (n6) edge node 1 (n8);
    path[->] (n7) edge node 1 (n6);
    path[->] (n7) edge node 4 (n4);
    path[->] (n8) edge node 3 (n5);
    path[->] (n8) edge node 0 (n7);

    draw[-Implies,line width=1pt,double distance=2pt] (n1) -- (s1);
    draw[-Implies,line width=1pt,double distance=2pt] (n2) -- (s2);
    draw[-Implies,line width=1pt,double distance=2pt] (d3) -- (n3);
    draw[-Implies,line width=1pt,double distance=2pt] (n4) -- (s4);
    draw[-Implies,line width=1pt,double distance=2pt] (d5) -- (n5);
    draw[-Implies,line width=1pt,double distance=2pt] (d7) -- (n7);
    endtikzpicture
    enddocument


    produces this, which is sufficient for my needs. Thanks @Zarko for the tip.
    enter image description here






    share|improve this answer








    New contributor




    user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      2














      OK, I'm sure there's a better way to organize things inside the Tikz, but I have found a sufficient answer to my question myself. Posting here for posterity.



      documentclass[]article

      usepackagepgf, tikz
      usetikzlibraryarrows, automata, positioning, arrows.meta

      begindocument
      begintikzpicture
      [roundnode/.style=circle,draw=black!50,thick,
      supplynode/.style=circle ,
      > = stealth, % arrow head style
      shorten > = 1pt, % don't touch arrow head to node
      auto,
      node distance = 3cm, % distance between nodes
      semithick % line style
      ]
      node at (0,0) [roundnode] (n1) 1;
      node at (2.5,2.5) [roundnode] (n2) 2;
      node at (0.0,5.0) [roundnode] (n3) 3;
      node at (5.0,0.0) [roundnode] (n4) 4;
      node at (5.0,4.0) [roundnode] (n5) 5;
      node at (10.0,5.0) [roundnode] (n6) 6;
      node at (10.0,0.0) [roundnode] (n7) 7;
      node at (7.5,2.5) [roundnode] (n8) 8;

      node at (-1.0, -1.0) [supplynode] (s1) 2;
      node at (2.5, 4.0) [supplynode] (s2) 1;
      node at (-1.0, 6.0) [supplynode] (d3) 2;
      node at (5.0,-1.5) [supplynode] (s4) 6;
      node at (6.5,4.0) [supplynode] (d5) 2;
      node at (11.5,0.0) [supplynode] (d7) 5;

      path[->] (n1) edge node 0 (n3);
      path[->] (n2) edge node 3 (n1);
      path[->] (n2) edge node 2 (n5);
      path[->] (n3) edge node 0 (n2);
      path[->] (n3) edge node 1 (n6);
      path[->] (n4) edge node 1 (n1);
      path[->] (n5) edge node 2 (n4);
      path[->] (n6) edge node 1 (n8);
      path[->] (n7) edge node 1 (n6);
      path[->] (n7) edge node 4 (n4);
      path[->] (n8) edge node 3 (n5);
      path[->] (n8) edge node 0 (n7);

      draw[-Implies,line width=1pt,double distance=2pt] (n1) -- (s1);
      draw[-Implies,line width=1pt,double distance=2pt] (n2) -- (s2);
      draw[-Implies,line width=1pt,double distance=2pt] (d3) -- (n3);
      draw[-Implies,line width=1pt,double distance=2pt] (n4) -- (s4);
      draw[-Implies,line width=1pt,double distance=2pt] (d5) -- (n5);
      draw[-Implies,line width=1pt,double distance=2pt] (d7) -- (n7);
      endtikzpicture
      enddocument


      produces this, which is sufficient for my needs. Thanks @Zarko for the tip.
      enter image description here






      share|improve this answer








      New contributor




      user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        2












        2








        2







        OK, I'm sure there's a better way to organize things inside the Tikz, but I have found a sufficient answer to my question myself. Posting here for posterity.



        documentclass[]article

        usepackagepgf, tikz
        usetikzlibraryarrows, automata, positioning, arrows.meta

        begindocument
        begintikzpicture
        [roundnode/.style=circle,draw=black!50,thick,
        supplynode/.style=circle ,
        > = stealth, % arrow head style
        shorten > = 1pt, % don't touch arrow head to node
        auto,
        node distance = 3cm, % distance between nodes
        semithick % line style
        ]
        node at (0,0) [roundnode] (n1) 1;
        node at (2.5,2.5) [roundnode] (n2) 2;
        node at (0.0,5.0) [roundnode] (n3) 3;
        node at (5.0,0.0) [roundnode] (n4) 4;
        node at (5.0,4.0) [roundnode] (n5) 5;
        node at (10.0,5.0) [roundnode] (n6) 6;
        node at (10.0,0.0) [roundnode] (n7) 7;
        node at (7.5,2.5) [roundnode] (n8) 8;

        node at (-1.0, -1.0) [supplynode] (s1) 2;
        node at (2.5, 4.0) [supplynode] (s2) 1;
        node at (-1.0, 6.0) [supplynode] (d3) 2;
        node at (5.0,-1.5) [supplynode] (s4) 6;
        node at (6.5,4.0) [supplynode] (d5) 2;
        node at (11.5,0.0) [supplynode] (d7) 5;

        path[->] (n1) edge node 0 (n3);
        path[->] (n2) edge node 3 (n1);
        path[->] (n2) edge node 2 (n5);
        path[->] (n3) edge node 0 (n2);
        path[->] (n3) edge node 1 (n6);
        path[->] (n4) edge node 1 (n1);
        path[->] (n5) edge node 2 (n4);
        path[->] (n6) edge node 1 (n8);
        path[->] (n7) edge node 1 (n6);
        path[->] (n7) edge node 4 (n4);
        path[->] (n8) edge node 3 (n5);
        path[->] (n8) edge node 0 (n7);

        draw[-Implies,line width=1pt,double distance=2pt] (n1) -- (s1);
        draw[-Implies,line width=1pt,double distance=2pt] (n2) -- (s2);
        draw[-Implies,line width=1pt,double distance=2pt] (d3) -- (n3);
        draw[-Implies,line width=1pt,double distance=2pt] (n4) -- (s4);
        draw[-Implies,line width=1pt,double distance=2pt] (d5) -- (n5);
        draw[-Implies,line width=1pt,double distance=2pt] (d7) -- (n7);
        endtikzpicture
        enddocument


        produces this, which is sufficient for my needs. Thanks @Zarko for the tip.
        enter image description here






        share|improve this answer








        New contributor




        user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        OK, I'm sure there's a better way to organize things inside the Tikz, but I have found a sufficient answer to my question myself. Posting here for posterity.



        documentclass[]article

        usepackagepgf, tikz
        usetikzlibraryarrows, automata, positioning, arrows.meta

        begindocument
        begintikzpicture
        [roundnode/.style=circle,draw=black!50,thick,
        supplynode/.style=circle ,
        > = stealth, % arrow head style
        shorten > = 1pt, % don't touch arrow head to node
        auto,
        node distance = 3cm, % distance between nodes
        semithick % line style
        ]
        node at (0,0) [roundnode] (n1) 1;
        node at (2.5,2.5) [roundnode] (n2) 2;
        node at (0.0,5.0) [roundnode] (n3) 3;
        node at (5.0,0.0) [roundnode] (n4) 4;
        node at (5.0,4.0) [roundnode] (n5) 5;
        node at (10.0,5.0) [roundnode] (n6) 6;
        node at (10.0,0.0) [roundnode] (n7) 7;
        node at (7.5,2.5) [roundnode] (n8) 8;

        node at (-1.0, -1.0) [supplynode] (s1) 2;
        node at (2.5, 4.0) [supplynode] (s2) 1;
        node at (-1.0, 6.0) [supplynode] (d3) 2;
        node at (5.0,-1.5) [supplynode] (s4) 6;
        node at (6.5,4.0) [supplynode] (d5) 2;
        node at (11.5,0.0) [supplynode] (d7) 5;

        path[->] (n1) edge node 0 (n3);
        path[->] (n2) edge node 3 (n1);
        path[->] (n2) edge node 2 (n5);
        path[->] (n3) edge node 0 (n2);
        path[->] (n3) edge node 1 (n6);
        path[->] (n4) edge node 1 (n1);
        path[->] (n5) edge node 2 (n4);
        path[->] (n6) edge node 1 (n8);
        path[->] (n7) edge node 1 (n6);
        path[->] (n7) edge node 4 (n4);
        path[->] (n8) edge node 3 (n5);
        path[->] (n8) edge node 0 (n7);

        draw[-Implies,line width=1pt,double distance=2pt] (n1) -- (s1);
        draw[-Implies,line width=1pt,double distance=2pt] (n2) -- (s2);
        draw[-Implies,line width=1pt,double distance=2pt] (d3) -- (n3);
        draw[-Implies,line width=1pt,double distance=2pt] (n4) -- (s4);
        draw[-Implies,line width=1pt,double distance=2pt] (d5) -- (n5);
        draw[-Implies,line width=1pt,double distance=2pt] (d7) -- (n7);
        endtikzpicture
        enddocument


        produces this, which is sufficient for my needs. Thanks @Zarko for the tip.
        enter image description here







        share|improve this answer








        New contributor




        user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 25 mins ago









        user1757226user1757226

        263




        263




        New contributor




        user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        user1757226 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.




















            user1757226 is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            user1757226 is a new contributor. Be nice, and check out our Code of Conduct.












            user1757226 is a new contributor. Be nice, and check out our Code of Conduct.











            user1757226 is a new contributor. Be nice, and check out our Code of Conduct.














            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%2f488072%2ftikz-how-to-make-supply-and-demand-arrows-for-nodes%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

            Which organization defines CJK Unified Ideographs? The Next CEO of Stack OverflowCharacters which have several different shapesHow useful are the kanji in reading Chinese?Can Chinese readers scan large amounts of text faster/more accurately than their alphabet-using counterparts?丼: why is “well” also “bowl of food”?What Does Unicode 8.0 Mean For Chinese?How are blanks indicated for placeholders in Chinese (like ???)Is there a dictionary of standard character variants?How to display CJK Extension F?How is it decided as to which character is used on the tech terminology?How does 子 come to mean 'midnight'?

            When We Were Young (canção de Adele) Índice Antecedentes e lançamento | Faixas e formatos | Performances e covers | Desempenho nas tabelas musicais | Créditos | Histórico de lançamento | Referências Menu de navegação«Best albums of 2015»«Adele - When We Were Young (Radio Date: 22-01-2016)»«When We Were Young - Single by Adele»«Adele: Inside Her Private Life and Triumphant Return»«adele interview: world exclusive first interview in three years»«Tobias Jesso Jr: since Adele tweeted his song, he's even bigger than his dad»«Adele interviews Tobias Jesso Jr: 'I think that a couple of the ideas we had could be rap songs'»«Adele on Her Return: 'I Was So Frightened That No One Cared'»«Tobias Jesso Jr. on working with Adele: 'I was as nervous as shit'»«How Ariel Rechtshaid Pushed Adele To Her Limit»«Adele Previews 'When We Were Young' on '60 Minutes' Teaser, Tops Trending 140»«Adele Performs New '25' Ballad, "When We Were Young" Live: Watch»«Which '25' Song Should Be Adele's Next Single?»«Adele's 'When We Were Young' Confirmed As Second Single From '25'»«Adele's new single artwork for 'When We Were Young' is perfectly adorable»«Adele at the BBC review: honest, funny and spectacular – Celebrity News News»«'Saturday Night Live': Adele Sings 'Hello' and 'When We Were Young'»«'Adele: Live in New York City' NBC Special – Set List Revealed!»«Adele Closes Out the 2016 Brit Awards With 'When We Were Young'»«What Is The Adele Live Tour Set List? There's No Way She'd Leave Out These 8 Songs»«See Demi Lovato's Soaring Cover of Adele's 'When We Were Young'»«'The Voice': 5 Best Moments From Week 1 Blind Auditions»«Adele – When We Were Young (Media Control Charts)»«Adele – When We Were Young (Entertainment Monitoring Africa)»«Adele – When We Were Young (ARIA Charts)»«Adele – When We Were Young (Ö3 Austria Top 40)»«Adele – When We Were Young (Ultratop 50)»«Adele – When We Were Young (Ultratop 40)»«Adele – When We Were Young (Canadian Hot 100)»«Adele – When We Were Young (Tracklisten)»«Adele – When We Were Young (The Official Charts Company)»«Adele – Hello (IFPI Slovenská Republika)»«Adele – When We Were Young (Productores de Música de España)»«Adele – When We Were Young (Billboard Hot 100)»«Adele – When We Were Young (Pop Songs)»«Adele – When We Were Young (Adult Pop Songs)»«Adele – When We Were Young (Hot Adult Contemporary Charts)»«Adele – When We Were Young (Hot Dance Club Songs)»«Adele – When We Were Young (Rock Airplay)»«Adele – When We Were Young (IFPI Finlândia)»«Adele – When We Were Young (Syndicat National de l'Éditon Phonographique)»«Adele – When We Were Young (Magyar Hanglemezkiadók Szövetsége)»«Adele – When We Were Young (Irish Recorded Music Association)»«Adele – When We Were Young (Mexico Airplay)»«Adele – When We Were Young (VG-lista)»«Adele – When We Were Young (NZ Top 40 Singles)»«Adele – When We Were Young (MegaCharts)»«Adele – When We Were Young (Związek Producentów Audio Video)»«Adele – When We Were Young (Portugal Digital Songs)»«Adele – When We Were Young (UK Indie Singles Chart)»«Adele – When We Were Young (UK Singles Chart)»«Adele – When We Were Young (Sverigetopplistan)»«Adele – When We Were Young (Schweizer Hitparade)»«Adele – When We Were Young (Portugal Digital Songs)»«Music Canada – Gold/Platinum – When We Were Young»«NZ Top 40 Singles Chart»«Certified Awards»e

            Shenzhen Football Club Índice Elenco atual | Títulos | Referências Ligações externas | Menu de navegaçãoGooglenotíciaslivrosacadêmicoeditar«"Elenco"»Site oficialexpandindo-oeee