« Return to Thread: Feature Diagrams

Re: Feature Diagrams

by Alain Matthes-2 :: Rate this Message:

Reply to Author | View in Thread


Le 25 juin 09 à 00:05, Werner Grundlingh a écrit :

> I think your best bet here would be to attempt a tree in PStricks.
> Consider viewing the more complex examples contained in the package
> documentation at
>  http://www.dante.de/CTAN/graphics/pstricks/base/doc/pstricks-doc.pdf
> More specifically, view the example tree on page 110. Alternatively,
> the tree examples at
>  http://www.tug.org/PSTricks/main.cgi?file=pst-tree/pst-tree
> also shows some options to follow.

hi,


:)

  it's easy to make this example with tikz.


\documentclass[]{article}
\usepackage{tikz,fullpage}
  \begin{document}

\begin{tikzpicture}

\node[draw](A) at (0,0) {A};
\node[draw](B) at (2,3) {B};
\node[draw](C) at (5,0) {C};
\node[draw](D) at (6,1) {D};
\node[draw](E) at (6,4) {E};
\draw (B.south)--(C.north);
\draw (B.south)--(A.north);
\begin{scope}
        \clip (B.south)--(C.north)--(A.north)--cycle;
        \draw[fill=black](B.south)  circle(0.5cm);
\end{scope}

\draw (B.east)--(D.west);
\draw (B.east)--(E.west);
\begin{scope}
        \clip (B.east)--(D.west)--(E.west)--cycle;
        \draw[](B.east)  circle(0.5cm);
\end{scope}
\end{tikzpicture}

\end{document}

Best Regards

Alain Matthes
------------------------------------------------------------------------------
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

 « Return to Thread: Feature Diagrams