What causes helicoidal flowchart

Flowchart example (combinatorics) for TikZ.de - how to remove warnings?

Hello! I wanted to post this example on TikZ.de. However, it contains 3 warnings.

Open in online editor
122 Overfull \ hbox (5.11084pt too wide) in paragraph at lines 122--122 [] [] [] [] $ [] $ 136 Overfull \ hbox (6.42406pt too wide) in paragraph at lines 136--136 [] [] [] [] $ [] $ 163 Overfull \ hbox (108.88939pt too wide) in paragraph at lines 163--164 [] []

Does anyone have any idea how I can get rid of this?

Open in online editor
% \ documentclass [varwidth, tikz, border = 2mm] {standalone} \ documentclass [paper = a4] {scrbook}% \ usepackage [left = 1cm, right = 1cm] {geometry} \ usepackage {selinput} \ SelectInputMappings {adieresis = {ä}, germandbls = {ß}} \ usepackage [ngerman] {babel} \ usepackage {bera} \ renewcommand {\ familydefault} {\ sfdefault} \ usepackage {amsmath} \ usepackage {tikz} \ usepackage {pgfplots} \ usetikzlibrary {shapes, arrows, positioning} \ setlength \ arrayrulewidth {0.905pt} \ begin {document}% formulas \ def \ KomMWdh {$ \ displaystyle \! \! \ binom {n + k-1} {k} $} \ def \ KomOWdh {$ \ displaystyle \ binom {n} {k} $} \ def \ VarMWdh {$ \ displaystyle n ^ k $} \ def \ VarOWdh {$ \ displaystyle \ frac {n!} {(Nk)!} $ } \ def \ PerMWdh {$ \ displaystyle \ frac {n!} {k_1! k_2! \ dots k_s!} $} \ def \ PerOWdh {$ \ displaystyle n! $}% Define common style \ tikzstyle {common} = [inner sep = 1.5pt, outer sep = 0pt, line width = \ arrayrulewidth, font = \ footnotesize,]% Define block styles \ tikzstyle {start} = [common, rectangle, draw, rounded corners = 10pt, minimum width = 15em, minimum height = 2em,% text width = 5em, text centered,] \ tikzstyle { decision} = [common, diamond, draw, aspect = 3.5,% reduce height minimum width = 5em, text width = 8.5em, text badly centered, node distance = 1.5cm, inner sep = 0pt] \ tikzstyle {block} = [ common, rectangle, draw, minimum width = 10em, minimum height = 2em,% rounded corners,% text width = 5em, text centered, font = \ bfseries] \ tikzstyle {block2} = [block, minimum width = 0.5em, minimum height = 4em, text width = 4.5em, font = \ footnotesize \ bfseries] \ tikzstyle {block3} = [block2, draw = none] \ tikzstyle {line} = [common, ->, draw, font = \ tiny,% text = red,% Test align = center,] \ tikzstyle {cloud} = [common, draw, ellipse , fill = red! 20, node distance = 3cm, minimum height = 2em] \ tikzstyle {YesNo} = [near start, above]% NodeStyle \ centering \ begin {tikzpicture} [node distance = 1.0cm,> = latex,% xshift = -2cm, transform shape]% blocks% Start \ node [start] (Start) {Given a $ n $ amount}; \ node [decision, below = 0.5cm of Start] (selection) {Is there a $ k $ selection?}; \ node [below = 1.25cm of selection] (empty selection) {}; % Sequence \ node [decision, left = 1.5cm of LeerAuswahl] (sequence) {Is the sequence to be considered?}; \ node [below = 1.25cm of sequence] (empty sequence) {}; \ node [block, right = 1.25cm of empty sequence] (variation) {variation}; \ def \ Distinguishable {Elements distinguishable (multiple)?} \ node [decision, below = 1.0cm of Variation, aspect = 1.5, text width = 6em] (VariationDecision) {\ Distinguishable}; % Combination \ def \ MWdh {\ emph {with} \ repetition} \ def \ OWdh {\ emph {without} \ repetition} \ node [block, left = 1.25cm of empty sequence] (Combination) {combination}; \ node [decision, below = 1.0cm of combination, aspect = 1.5, text width = 6em] (combination decision) {\ distinguishable}; \ node [below = 1cm of Combination Decision] (Empty Combination) {}; \ node [block2, left = 1.25cm of empty combination] (combination MWdh) {\ MWdh}; \ node [block3, below = 0.25cm of CombinationMWdh] {\ KomMWdh}; \ node [block2, right = 1.25cm of LeerKombination] (combinationOWdh) {\ OWdh}; \ node [block3, below = 0.25cm of combinationOWdh] {\ KomOWdh}; % Variation \ node [below = 1cm of VariationDecision] (LeerVariation) {}; \ node [block2, left = 1.25cm of LeerVariation] (VariationMWdh) {\ MWdh}; \ node [block3, below = 0.25cm of VariationMWdh] {\ VarMWdh}; \ node [block2, right = 1.25cm of LeerVariation] (VariationOWdh) {\ OWdh}; \ node [block3, below = 0.25cm of VariationOWdh] (VariationOWdhFormel) {\ VarOWdh}; % Permutation \ node [block, right = 2.75cm of Variation] (Permutation) {Permutation}; \ node [decision, below = 1.0cm of Permutation, aspect = 1.5, text width = 6em] (PermutationDecision) {\ Distinguishable}; \ node [below = 1cm of PermutationDecision] (LeerPermutation) {}; \ node [block2, left = 1.25cm of LeerPermutation] (PermutationMWdh) {\ MWdh}; \ node [block3, below = 0.25cm of PermutationMWdh] {\ PerMWdh}; \ node [block2, right = 1.25cm of LeerPermutation] (PermutationOWdh) {\ OWdh}; \ node [block3, below = 0.25cm of PermutationOWdh] (PermutationOWdhFormel) {\ PerOWdh}; % Special case k = n \ node [block2, below = 3.75cm of PermutationEntigung, text width = 8em, minimum height = 2.75em, xshift = -0.75cm, font = \ footnotesize] (special case) {special case $ k = n $ \ \ (where $ 0!: = 1 $)}; % Lines% start \ path [line] (start) - (selection); % Order \ path [line] (selection) - | (Order) node [YesNo] {yes}; % Combination \ path [line] (order) - | (Combination) node [JaNein] {yes} node [near end, left] {\ emph {with} \ rows - \ follow}; \ path [line] (combination) - (combinationDecision); \ path [line] (CombinationDecision) - | (CombinationMWdh) node [JaNein] {yes}; \ path [line] (combination decision) - | (CombinationOWdh) node [JaNein] {no}; % Variation \ path [line] (order) - | (Variation) node [JaNein] {no} node [near end, right] {\ emph {without} \ rows - \ sequence}; \ path [line] (Variation) - (VariationDecision); \ path [line] (VariationDecision) - | (VariationMWdh) node [YesNo] {yes}; \ path [line] (VariationDecision) - | (VariationOWdh) node [YesNo] {no}; % Permutation \ path [line] (selection.east) - | (Permutation) node [YesNo] {no}; \ path [line] (Permutation) - (PermutationDecision); \ path [line] (permutation decision) - | (PermutationMWdh) node [YesNo] {yes}; \ path [line] (permutation decision) - | (PermutationOWdh) node [YesNo] {no}; % Special case k = n \ path [line] (VariationOWdhFormel) | - (special case) - | (PermutationOWdhFormula); \ end {tikzpicture} \ end {document}

asked 01 Feb '16, 20:20

cis
9.4k ● 34 ● 322 ● 483
Accepted Rate: 29%