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 ``--``

How to stop co-workers from teasing me because I know Russian?

Can solid acids and bases have pH values? If not, how are they classified as acids or bases?

Will this character get back his Infinity Stone?

Sci-fi novel series with instant travel between planets through gates. A river runs through the gates

How to figure out whether the data is sample data or population data apart from the client's information?

Help to reproduce a tcolorbox with a decoration

Stop and Take a Breath!

How to interact with ERC20 interface?

Fizzy, soft, pop and still drinks

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

Why does nature favour the Laplacian?

What does KSP mean?

Can someone publish a story that happened to you?

Confused by notation of atomic number Z and mass number A on periodic table of elements

What is the difference between `a[bc]d` (brackets) and `ab,cd` (braces)?

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

Providence Pentominoes Puzzle By Andrew Bradburn (Jigsaw)

With a Canadian student visa, can I spend a night at Vancouver before continuing to Toronto?

Do I have to worry about players making “bad” choices on level up?

Is this a realistic set of world maps?

Can not tell colimits from limits

How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?

How can I use Monero RPC via Python

Trainer for recumbent bikes



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 49 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










2 Answers
2






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.



























    0














    let me convert my comments to the answer ... with some off-topic sugestion :-) :



    documentclass[tikz, margin=3mm]standalone
    usetikzlibraryarrows.meta, automata,
    positioning,
    quotes

    begindocument
    begintikzpicture[auto=left,
    % node distance = 15mm and 15mm, % distance between nodes
    roundnode/.style = circle,draw=black!50,thick,
    every edge/.style = draw, semithick, -Stealth, shorten > = 1pt,
    imp/.style = -Implies[], semithick, double distance=1pt
    ]
    beginscope[every node/.style=roundnode]
    node at ( 0.0,0) (n1) 1;
    node at ( 2.5,2.5) (n2) 2;
    node at ( 0.0,5.0) (n3) 3;
    node at ( 5.0,0.0) (n4) 4;
    node at ( 5.0,4.0) (n5) 5;
    node at (10.0,5.0) (n6) 6;
    node at (10.0,0.0) (n7) 7;
    node at ( 7.5,2.5) (n8) 8;
    endscope
    beginscope[every node/.style=circle]
    node at (-1.0,-1.0) (s1) 2;
    node at ( 2.5, 4.0) (s2) 1;
    node at (-1.0, 6.0) (d3) 2;
    node at ( 5.0,-1.5) (s4) 6;
    node at ( 6.5, 4.0) (d5) 2;
    node at (11.5, 0.0) (d7) 5;
    endscope
    path (n1) edge ["0"] (n3)
    (n2) edge ["3"] (n1)
    (n2) edge ["2"] (n5)
    (n3) edge ["0"] (n2)
    (n3) edge ["1"] (n6)
    (n4) edge ["1"] (n1)
    (n5) edge ["2"] (n4)
    (n6) edge ["1"] (n8)
    (n7) edge ["1"] (n6)
    (n7) edge ["4"] (n4)
    (n8) edge ["3"] (n5)
    (n8) edge ["0"] (n7);
    beginscope[every edge/.style = draw,imp]
    path (n1) edge (s1)
    (n2) edge (s2)
    (d3) edge (n3)
    (n4) edge (s4)
    (d5) edge (n5)
    (d7) edge (n7);
    endscope
    endtikzpicture
    enddocument


    above mwe gives:



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



      );






      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

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      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 30 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.





















              0














              let me convert my comments to the answer ... with some off-topic sugestion :-) :



              documentclass[tikz, margin=3mm]standalone
              usetikzlibraryarrows.meta, automata,
              positioning,
              quotes

              begindocument
              begintikzpicture[auto=left,
              % node distance = 15mm and 15mm, % distance between nodes
              roundnode/.style = circle,draw=black!50,thick,
              every edge/.style = draw, semithick, -Stealth, shorten > = 1pt,
              imp/.style = -Implies[], semithick, double distance=1pt
              ]
              beginscope[every node/.style=roundnode]
              node at ( 0.0,0) (n1) 1;
              node at ( 2.5,2.5) (n2) 2;
              node at ( 0.0,5.0) (n3) 3;
              node at ( 5.0,0.0) (n4) 4;
              node at ( 5.0,4.0) (n5) 5;
              node at (10.0,5.0) (n6) 6;
              node at (10.0,0.0) (n7) 7;
              node at ( 7.5,2.5) (n8) 8;
              endscope
              beginscope[every node/.style=circle]
              node at (-1.0,-1.0) (s1) 2;
              node at ( 2.5, 4.0) (s2) 1;
              node at (-1.0, 6.0) (d3) 2;
              node at ( 5.0,-1.5) (s4) 6;
              node at ( 6.5, 4.0) (d5) 2;
              node at (11.5, 0.0) (d7) 5;
              endscope
              path (n1) edge ["0"] (n3)
              (n2) edge ["3"] (n1)
              (n2) edge ["2"] (n5)
              (n3) edge ["0"] (n2)
              (n3) edge ["1"] (n6)
              (n4) edge ["1"] (n1)
              (n5) edge ["2"] (n4)
              (n6) edge ["1"] (n8)
              (n7) edge ["1"] (n6)
              (n7) edge ["4"] (n4)
              (n8) edge ["3"] (n5)
              (n8) edge ["0"] (n7);
              beginscope[every edge/.style = draw,imp]
              path (n1) edge (s1)
              (n2) edge (s2)
              (d3) edge (n3)
              (n4) edge (s4)
              (d5) edge (n5)
              (d7) edge (n7);
              endscope
              endtikzpicture
              enddocument


              above mwe gives:



              enter image description here





              share



























                0














                let me convert my comments to the answer ... with some off-topic sugestion :-) :



                documentclass[tikz, margin=3mm]standalone
                usetikzlibraryarrows.meta, automata,
                positioning,
                quotes

                begindocument
                begintikzpicture[auto=left,
                % node distance = 15mm and 15mm, % distance between nodes
                roundnode/.style = circle,draw=black!50,thick,
                every edge/.style = draw, semithick, -Stealth, shorten > = 1pt,
                imp/.style = -Implies[], semithick, double distance=1pt
                ]
                beginscope[every node/.style=roundnode]
                node at ( 0.0,0) (n1) 1;
                node at ( 2.5,2.5) (n2) 2;
                node at ( 0.0,5.0) (n3) 3;
                node at ( 5.0,0.0) (n4) 4;
                node at ( 5.0,4.0) (n5) 5;
                node at (10.0,5.0) (n6) 6;
                node at (10.0,0.0) (n7) 7;
                node at ( 7.5,2.5) (n8) 8;
                endscope
                beginscope[every node/.style=circle]
                node at (-1.0,-1.0) (s1) 2;
                node at ( 2.5, 4.0) (s2) 1;
                node at (-1.0, 6.0) (d3) 2;
                node at ( 5.0,-1.5) (s4) 6;
                node at ( 6.5, 4.0) (d5) 2;
                node at (11.5, 0.0) (d7) 5;
                endscope
                path (n1) edge ["0"] (n3)
                (n2) edge ["3"] (n1)
                (n2) edge ["2"] (n5)
                (n3) edge ["0"] (n2)
                (n3) edge ["1"] (n6)
                (n4) edge ["1"] (n1)
                (n5) edge ["2"] (n4)
                (n6) edge ["1"] (n8)
                (n7) edge ["1"] (n6)
                (n7) edge ["4"] (n4)
                (n8) edge ["3"] (n5)
                (n8) edge ["0"] (n7);
                beginscope[every edge/.style = draw,imp]
                path (n1) edge (s1)
                (n2) edge (s2)
                (d3) edge (n3)
                (n4) edge (s4)
                (d5) edge (n5)
                (d7) edge (n7);
                endscope
                endtikzpicture
                enddocument


                above mwe gives:



                enter image description here





                share

























                  0












                  0








                  0







                  let me convert my comments to the answer ... with some off-topic sugestion :-) :



                  documentclass[tikz, margin=3mm]standalone
                  usetikzlibraryarrows.meta, automata,
                  positioning,
                  quotes

                  begindocument
                  begintikzpicture[auto=left,
                  % node distance = 15mm and 15mm, % distance between nodes
                  roundnode/.style = circle,draw=black!50,thick,
                  every edge/.style = draw, semithick, -Stealth, shorten > = 1pt,
                  imp/.style = -Implies[], semithick, double distance=1pt
                  ]
                  beginscope[every node/.style=roundnode]
                  node at ( 0.0,0) (n1) 1;
                  node at ( 2.5,2.5) (n2) 2;
                  node at ( 0.0,5.0) (n3) 3;
                  node at ( 5.0,0.0) (n4) 4;
                  node at ( 5.0,4.0) (n5) 5;
                  node at (10.0,5.0) (n6) 6;
                  node at (10.0,0.0) (n7) 7;
                  node at ( 7.5,2.5) (n8) 8;
                  endscope
                  beginscope[every node/.style=circle]
                  node at (-1.0,-1.0) (s1) 2;
                  node at ( 2.5, 4.0) (s2) 1;
                  node at (-1.0, 6.0) (d3) 2;
                  node at ( 5.0,-1.5) (s4) 6;
                  node at ( 6.5, 4.0) (d5) 2;
                  node at (11.5, 0.0) (d7) 5;
                  endscope
                  path (n1) edge ["0"] (n3)
                  (n2) edge ["3"] (n1)
                  (n2) edge ["2"] (n5)
                  (n3) edge ["0"] (n2)
                  (n3) edge ["1"] (n6)
                  (n4) edge ["1"] (n1)
                  (n5) edge ["2"] (n4)
                  (n6) edge ["1"] (n8)
                  (n7) edge ["1"] (n6)
                  (n7) edge ["4"] (n4)
                  (n8) edge ["3"] (n5)
                  (n8) edge ["0"] (n7);
                  beginscope[every edge/.style = draw,imp]
                  path (n1) edge (s1)
                  (n2) edge (s2)
                  (d3) edge (n3)
                  (n4) edge (s4)
                  (d5) edge (n5)
                  (d7) edge (n7);
                  endscope
                  endtikzpicture
                  enddocument


                  above mwe gives:



                  enter image description here





                  share













                  let me convert my comments to the answer ... with some off-topic sugestion :-) :



                  documentclass[tikz, margin=3mm]standalone
                  usetikzlibraryarrows.meta, automata,
                  positioning,
                  quotes

                  begindocument
                  begintikzpicture[auto=left,
                  % node distance = 15mm and 15mm, % distance between nodes
                  roundnode/.style = circle,draw=black!50,thick,
                  every edge/.style = draw, semithick, -Stealth, shorten > = 1pt,
                  imp/.style = -Implies[], semithick, double distance=1pt
                  ]
                  beginscope[every node/.style=roundnode]
                  node at ( 0.0,0) (n1) 1;
                  node at ( 2.5,2.5) (n2) 2;
                  node at ( 0.0,5.0) (n3) 3;
                  node at ( 5.0,0.0) (n4) 4;
                  node at ( 5.0,4.0) (n5) 5;
                  node at (10.0,5.0) (n6) 6;
                  node at (10.0,0.0) (n7) 7;
                  node at ( 7.5,2.5) (n8) 8;
                  endscope
                  beginscope[every node/.style=circle]
                  node at (-1.0,-1.0) (s1) 2;
                  node at ( 2.5, 4.0) (s2) 1;
                  node at (-1.0, 6.0) (d3) 2;
                  node at ( 5.0,-1.5) (s4) 6;
                  node at ( 6.5, 4.0) (d5) 2;
                  node at (11.5, 0.0) (d7) 5;
                  endscope
                  path (n1) edge ["0"] (n3)
                  (n2) edge ["3"] (n1)
                  (n2) edge ["2"] (n5)
                  (n3) edge ["0"] (n2)
                  (n3) edge ["1"] (n6)
                  (n4) edge ["1"] (n1)
                  (n5) edge ["2"] (n4)
                  (n6) edge ["1"] (n8)
                  (n7) edge ["1"] (n6)
                  (n7) edge ["4"] (n4)
                  (n8) edge ["3"] (n5)
                  (n8) edge ["0"] (n7);
                  beginscope[every edge/.style = draw,imp]
                  path (n1) edge (s1)
                  (n2) edge (s2)
                  (d3) edge (n3)
                  (n4) edge (s4)
                  (d5) edge (n5)
                  (d7) edge (n7);
                  endscope
                  endtikzpicture
                  enddocument


                  above mwe gives:



                  enter image description here






                  share











                  share


                  share










                  answered 4 mins ago









                  ZarkoZarko

                  131k870170




                  131k870170




















                      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

                      Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                      How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2

                      Nissan Patrol Зміст Перше покоління — 4W60 (1951-1960) | Друге покоління — 60 series (1960-1980) | Третє покоління (1980–2002) | Четверте покоління — Y60 (1987–1998) | П'яте покоління — Y61 (1997–2013) | Шосте покоління — Y62 (2010- ) | Посилання | Зноски | Навігаційне менюОфіційний український сайтТест-драйв Nissan Patrol 2010 7-го поколінняNissan PatrolКак мы тестировали Nissan Patrol 2016рвиправивши або дописавши її