TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When node/child style is used, it is possible to achieve fork down edge style picured here: enter image description here

What would be the syntax for the similar edge style, but using graph?

The below MWE produces sloped edges:


\usetikzlibrary{graphs, graphdrawing}
\usegdlibrary{trees, layered}


\graph [
    binary tree layout,
    sibling distance=4mm,
    level distance=8mm,
    components go right top aligned,
    component sep=1pt,
    -- Current Employee
        -- {
            Subordinate 1--{Worker 01,Worker 02},
            Subordinate 2--{SubSubordinate 21--{Worker 21,Worker 22,Worker 23}
        Subordinate 3-- SubSubordinate01--{Worker 11,Worker 12}
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.