From d7f5f4deb01230d2194f9f19a961b19055dfd152 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Mon, 9 Jan 2017 21:27:40 +0100 Subject: More accurate dimensions for figure --- part2.tex | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'part2.tex') diff --git a/part2.tex b/part2.tex index b7d340b..14b98f7 100644 --- a/part2.tex +++ b/part2.tex @@ -41,21 +41,21 @@ store food packages: for A this capacity is 120, for B and D it is 160, and for C it is 100. Initially, the truck is in S and is fully loaded, and in each of the four villages there are 80 food packages. -\begin{tikzpicture} -\node[circle,draw] (A) at (1,2) {A}; -\node[circle,draw] (B) at (5,2) {B}; -\node[circle,draw] (C) at (3,0.5) {C}; -\node[circle,draw] (D) at (7,0) {D}; -\node[circle,draw] (S) at (0,0) {S}; +\begin{tikzpicture}[scale=.2] +\node[circle,draw] (A) at (0,0) {A}; +\node[circle,draw] (B) at (17,0) {B}; +\node[circle,draw] (C) at (9.794,-6.934) {C}; +\node[circle,draw] (D) at (26.824,-17.421) {D}; +\node[circle,draw] (S) at (-3.046,-14.687) {S}; \draw (A) edge node[above] {17} (B) (A) edge node[above left] {15} (S) (A) edge node[above right] {12} (C) - (S) edge node[above] {15} (C) + (S) edge node[below right] {15} (C) (B) edge node[above left] {10} (C) (B) edge node[above right] {20} (D) - (C) edge node[above] {20} (D) + (C) edge node[below left] {20} (D) ; \end{tikzpicture} -- cgit v1.2.1