# Tag Info

7

With \SetUpEdge you could adapt the answers given in the question you mention. For example: \pgfarrowsdeclare{biggertip}{biggertip}{% \setlength{\arrowsize}{1pt} \addtolength{\arrowsize}{.5\pgflinewidth} \pgfarrowsrightextend{0} \pgfarrowsleftextend{-5\arrowsize} }{% \setlength{\arrowsize}{1pt} \addtolength{\arrowsize}{.5\pgflinewidth} ...

6

Use the L= option for \Vertex to have a different label: \documentclass{article} \usepackage{tkz-berge} \usepackage{lipsum} \begin{document} \begin{figure} \centering \begin{tikzpicture}[scale=0.75,transform shape] \tikzstyle{LabelStyle}=[fill=white,sloped] \Vertex[x=0,y=0]{A} \Vertex[x=-2,y=-1]{B} \Vertex[x=2,y=-1,L=B]{C} ...

5

Multi-dominance "trees" are not really trees, but graphs, and the standard tree drawing packages are really not designed to handle them. Depending on the complexity of the tree, it's possible to draw these trees, however, but it requires some manual intervention. I would use one of the TikZ based tree drawing packages for this rather than qtree. The two ...

5

Sorry I'm guilty. I have not taken sufficient precautions. The problem comes from : \newcommand*{\Edge}[1][]{\@edge[#1]}% because tikz-qtree defines \@edge too :( A better way was to use \tkz@edge instead of \@edge. In the next version with pgfkeys, I'll be more careful. Actually you can save the next file with the name : patch-tkz-graph.tex ...

4

As, to be honest, I didn't feel like reading the tkz-berge manual, I threw together this example. The pgfonlayer is for drawing the edges in the background, thus behind the labels: \documentclass{article} \usepackage{tikz} \pgfdeclarelayer{background} \pgfsetlayers{background,main} \newcommand{\Vertex}[2]% pos, name { \node[circle,draw,minimum ...

3

You have an old version of tkz-graph.sty in some directory searched by the TeX programs. You can find it by asking kpsewhich tkz-graph.sty which will return the file that's found first in the trees. Remove it: it is certainly outdated, as \listfiles tells, because the correct line should be tkz-graph.sty 2011/06/01 ctan v 1.00 base for graphs After ...

3

Sorry I need to translate the documentation of tkz-graph. First hte main idea of this package is to provide useful and simple macros and styles to the users. Finally you have two style to know : VertexStyle and EdgeStyle. When you want to draw a graph, you can choice a "general" style with \GraphInit[vstyle=Classic]. This is useful if all your graphs have ...

3

You can add labels to \Edges by adding e.g. label={Stuff} in the \Edge options. By default the label is placed on top of the arrow, you can shift it by changing the style of the label with e.g. labelstyle={above left}, which moves the label up and to the left. To get a more automatic label placement you can use the auto key, mentioned by Qrrbrbirlbel in a ...

2

You need to include \usepackage{tkz-graph} in the preamble, after which you get: \documentclass{article} \usepackage{tkz-graph} \begin{document} \begin{tikzpicture} \GraphInit[vstyle=Classic] \Vertices[Lpos=90,unit=2]{circle}{A,B,C,D,E,F} \end{tikzpicture} \end{document}

2

I assume you're using TikZ and tkz-graph … You can use the decoration.markings library to set a marking at the middle position. To the human eye this does not look like the middle, though, because only the tip of the arrow is halfway between (1) and (2). But you can use arbitrary TikZ code in the with {<code goes here>} part. I cloned the first ...

1

There is a \Loop command for this, see the example on page 25 of the manual. The syntax is \Loop[<options>](<vertex>) without any spaces before/after brackets/parens. In the options one can specify dir - the possible values are WE, EA, NO, SO, NOWE, NOEA, SOWE, SOEA for west, east, north, south, north west etc., e.g. dir=NO. dist - ...

Only top voted, non community-wiki answers of a minimum length are eligible