From 3a060e1dc4b3d39145322ef8905783f47467ae61 Mon Sep 17 00:00:00 2001 From: Krzysztof Wojtas Date: Fri, 11 Oct 2024 17:36:47 +0200 Subject: [PATCH] #236 simplify TikZ code --- chapter6/sections/4/figures/1/a.tikz | 5 +---- chapter6/sections/4/figures/1/b.tikz | 5 +---- chapter6/sections/4/figures/1/c.tikz | 5 +---- chapter6/sections/4/figures/1/d.tikz | 5 +---- chapter6/sections/4/figures/1/e.tikz | 5 +---- chapter6/sections/4/figures/1/f.tikz | 5 +---- chapter6/sections/4/figures/1/g.tikz | 5 +---- chapter6/sections/4/figures/1/h.tikz | 5 +---- chapter6/sections/4/figures/1/i.tikz | 5 +---- 9 files changed, 9 insertions(+), 36 deletions(-) diff --git a/chapter6/sections/4/figures/1/a.tikz b/chapter6/sections/4/figures/1/a.tikz index ceb8acd..2871490 100644 --- a/chapter6/sections/4/figures/1/a.tikz +++ b/chapter6/sections/4/figures/1/a.tikz @@ -10,9 +10,6 @@ } child {node {20} child {node {17}} - child {node {2} - child[missing] - child {node[draw=none, fill=none] {} edge from parent[draw=none]} - } + child {node {2}} }; \end{tikzpicture} diff --git a/chapter6/sections/4/figures/1/b.tikz b/chapter6/sections/4/figures/1/b.tikz index fa99be0..3a7c950 100644 --- a/chapter6/sections/4/figures/1/b.tikz +++ b/chapter6/sections/4/figures/1/b.tikz @@ -10,9 +10,6 @@ } child {node {17} child {node {4}} - child {node {2} - child[missing] - child {node[draw=none, fill=none] {} edge from parent[draw=none]} - } + child {node {2}} }; \end{tikzpicture} diff --git a/chapter6/sections/4/figures/1/c.tikz b/chapter6/sections/4/figures/1/c.tikz index 91db196..14a2ff5 100644 --- a/chapter6/sections/4/figures/1/c.tikz +++ b/chapter6/sections/4/figures/1/c.tikz @@ -10,9 +10,6 @@ } child {node {5} child {node {4}} - child {node {2} - child[missing] - child {node[draw=none, fill=none, label=right:{}] {} edge from parent[draw=none]} - } + child {node {2}} }; \end{tikzpicture} diff --git a/chapter6/sections/4/figures/1/d.tikz b/chapter6/sections/4/figures/1/d.tikz index 35a06b6..2d98b12 100644 --- a/chapter6/sections/4/figures/1/d.tikz +++ b/chapter6/sections/4/figures/1/d.tikz @@ -10,9 +10,6 @@ } child {node {5} child {node {4}} - child {node[discarded, label=left:{$i$}] {17} edge from parent[draw=none] - child[missing] - child {node[draw=none, fill=none] {} edge from parent[draw=none]} - } + child {node[discarded, label=left:{$i$}] {17} edge from parent[draw=none]} }; \end{tikzpicture} diff --git a/chapter6/sections/4/figures/1/e.tikz b/chapter6/sections/4/figures/1/e.tikz index bab86f9..633232e 100644 --- a/chapter6/sections/4/figures/1/e.tikz +++ b/chapter6/sections/4/figures/1/e.tikz @@ -10,9 +10,6 @@ } child {node {5} child {node[discarded, label=left:{$i$}] {13} edge from parent[draw=none]} - child {node[discarded] {17} edge from parent[draw=none] - child[missing] - child {node[draw=none, fill=none] {} edge from parent[draw=none]} - } + child {node[discarded] {17} edge from parent[draw=none]} }; \end{tikzpicture} diff --git a/chapter6/sections/4/figures/1/f.tikz b/chapter6/sections/4/figures/1/f.tikz index 2cca989..e1af811 100644 --- a/chapter6/sections/4/figures/1/f.tikz +++ b/chapter6/sections/4/figures/1/f.tikz @@ -10,9 +10,6 @@ } child {node {5} child {node[discarded] {13} edge from parent[draw=none]} - child {node[discarded] {17} edge from parent[draw=none] - child[missing] - child {node[draw=none, fill=none] {} edge from parent[draw=none]} - } + child {node[discarded] {17} edge from parent[draw=none]} }; \end{tikzpicture} diff --git a/chapter6/sections/4/figures/1/g.tikz b/chapter6/sections/4/figures/1/g.tikz index 097c45e..ab8f87f 100644 --- a/chapter6/sections/4/figures/1/g.tikz +++ b/chapter6/sections/4/figures/1/g.tikz @@ -10,9 +10,6 @@ } child {node {2} child {node[discarded] {13} edge from parent[draw=none]} - child {node[discarded] {17} edge from parent[draw=none] - child[missing] - child {node[draw=none, fill=none] {} edge from parent[draw=none]} - } + child {node[discarded] {17} edge from parent[draw=none]} }; \end{tikzpicture} diff --git a/chapter6/sections/4/figures/1/h.tikz b/chapter6/sections/4/figures/1/h.tikz index c6499c5..9a403e0 100644 --- a/chapter6/sections/4/figures/1/h.tikz +++ b/chapter6/sections/4/figures/1/h.tikz @@ -10,9 +10,6 @@ } child {node[discarded, label=left:{$i$}] {5} edge from parent[draw=none] child {node[discarded] {13} edge from parent[draw=none]} - child {node[discarded] {17} edge from parent[draw=none] - child[missing] - child {node[draw=none, fill=none] {} edge from parent[draw=none]} - } + child {node[discarded] {17} edge from parent[draw=none]} }; \end{tikzpicture} diff --git a/chapter6/sections/4/figures/1/i.tikz b/chapter6/sections/4/figures/1/i.tikz index ec4b070..b23593c 100644 --- a/chapter6/sections/4/figures/1/i.tikz +++ b/chapter6/sections/4/figures/1/i.tikz @@ -10,9 +10,6 @@ } child {node[discarded] {5} edge from parent[draw=none] child {node[discarded] {13} edge from parent[draw=none]} - child {node[discarded] {17} edge from parent[draw=none] - child[missing] - child {node[draw=none, fill=none] {} edge from parent[draw=none]} - } + child {node[discarded] {17} edge from parent[draw=none]} }; \end{tikzpicture}