어떻게 하면 다이어그램 트리를 더욱 완벽하게 만들 수 있나요?

어떻게 하면 다이어그램 트리를 더욱 완벽하게 만들 수 있나요?

여기에 이미지 설명을 입력하세요

저는 이 다이어그램을 비머에서 더욱 완벽하게 만들고 싶습니다.

나도 이런 스타일을 닮고 싶다

여기에 이미지 설명을 입력하세요

누군가 나를 도와줄 수 있나요?

나는 이것을 사용하여 이 다이어그램을 만들었습니다.

\forestset{
    L1/.style={fill=blue!20,},
    L2/.style={fill=blue!20,edge={black,line width=1pt}},
    L3/.style={fill=blue!20,edge={black,line width=1pt}},
    L4/.style={fill=blue!20,edge={black,line width=1pt}},
}


     \begin{forest}
     for tree={
        grow=0,reversed, % tree direction
        parent anchor=east,child anchor=west, % edge anchors
        edge={line cap=round},outer sep=+2pt, % edge/node connection
        rounded corners,minimum width=15mm,minimum height=8mm, % node shape
        l sep=18mm % level distance
     }
     [Association Scheme,L1
     [Bose and Nair,L2
     [1939,L3
     ]]
    [Bose and Shimamoto,L2
    [1952,L3
    ]]
     ]
    \end{forest}


\
   \begin{forest}
    for tree={
        grow=0,reversed, % tree direction
        parent anchor=east,child anchor=west, % edge anchors
        edge={line cap=round},outer sep=+2pt, % edge/node connection
        rounded corners,minimum width=15mm,minimum height=8mm, % node shape
        l sep=20mm % level distance
    }
    [Bose-Mesner algebra,L1
    [Bose  and Mesner,L2
    [1959,L3
    ]]
    ]
   \end{forest}

   \forestset{
    L1/.style={fill=blue!20,},
    L2/.style={fill=blue!20,edge={black,line width=1pt}},
    L3/.style={fill=blue!20,edge={black,line width=1pt}},
    L4/.style={fill=blue!20,edge={black,line width=1pt}},
   }
   \begin{forest}
    for tree={
        grow=0,reversed, % tree direction
        parent anchor=east,child anchor=west, % edge anchors
        edge={line cap=round},outer sep=+2pt, % edge/node connection
        rounded corners,minimum width=15mm,minimum height=8mm, % node shape
        l sep=20mm % level distance
    }
    [Coherent Configuration,L1
    [D. G. Higman,L2
    [1967,L3
    ]]
    ]
   \end{forest}

답변1

구조를 에뮬레이트하려면 다이어그램의 콘텐츠가 해당 구조에 어떻게 매핑되어야 하는지 설명해야 합니다. 이 경우 숲은 아마도 좋은 선택이 아닐 것입니다.

노드와 화살표 등이 이미지의 것과 더 유사하게 보이도록 하려면 다음과 같이 시도해 볼 수 있습니다.

\documentclass[dvipsnames,svgnames,x11names]{beamer}
\usepackage[edges]{forest}
\usetikzlibrary{shadows,arrows.meta}
\begin{document}
\forestset{
  my tree/.style={
    forked edges,
    for tree={
      grow'=0,
      fork sep=5mm,
      drop shadow,
      anchor=parent,
      edge={draw=DarkOrchid3, -Latex, thick},
      l sep'=7.5mm,
    },
    before typesetting nodes={
      tempcounta/.max={level()-1}{tree},
      for tree={
        top color/.wrap pgfmath arg={blue!##1!WildStrawberry!50}{((level()-1)/(tempcounta))*100)},
        bottom color/.wrap pgfmath arg={blue!##1!WildStrawberry}{((level()-1)/(tempcounta))*100)},
        draw/.wrap pgfmath arg={blue!##1!WildStrawberry}{((level()-1)/(tempcounta))*100)},
        text=white,
        tier/.wrap pgfmath arg={tier ##1}{level()},
        content/.wrap value={\strut ##1},
      }
    },
    where level=0{phantom}{},
  }
}

\begin{frame}
\begin{forest}
  my tree
  [
   [Association Scheme
   [Bose and Nair
   [1939
   ]]
  [Bose and Shimamoto
  [1952
  ]]
   ]
  [Bose-Mesner algebra
  [Bose  and Mesner
  [1959
  ]]
  ]
  [Coherent Configuration
  [D. G. Higman
  [1967
  ]]
  ]]
\end{forest}
\end{frame}

\end{document}

더 멋진 노드와 물건

관련 정보