# Tag Info

## New answers tagged tikz-graphdrawing

1

This behaviour is documented in section 28.5 of the PGF manual: Just as a graph drawing algorithm cannot know where a graph should be placed on a page, it is also often unclear which orientation it should have. Some graphs, like trees, have a natural direction in which they “grow”, but for an “arbitrary” graph the “natural orientation” is, well, ...

2

An exercise, using @Black Mild answer as OP's MWE: \documentclass[tikz,border=5mm]{standalone} \usetikzlibrary{arrows.meta, chains, positioning} \begin{document} \begin{tikzpicture}[ node distance = 12mm and 9mm, start chain = A going below, dot/.style = {circle, fill=#1, inner sep=2pt, outer sep=0pt}, cn/.style ...

3

You should provide a MWE! Anyway, below is my code. \documentclass[tikz,border=5mm]{standalone} \begin{document} \begin{tikzpicture}[line width=1.2pt, n/.style={circle,draw=#1,text=#1,font=\bfseries\sffamily}, arr/.style={-latex,shorten >=1pt,#1}] \path (0,0) node[n=black] (L1) {2} +(0:1) node[n=black] (R1) {1} ++(-90:1.5) node[n=blue] (L2) {...

Top 50 recent answers are included