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

Suppose I have the following graph:

 \documentclass[]{article}
 \usepackage[utf8]{inputenc}

 \usepackage[usenames,dvipsnames]{xcolor}
 \usepackage{fullpage}
 \usepackage[upright]{fourier}
 \usepackage{tkz-graph}
 \usetikzlibrary{arrows}
 \thispagestyle{empty}
 \begin{document}
 \SetVertexNormal[Shape      = circle,
             LineWidth  = 1pt]
  \SetUpEdge[lw         = 1pt,
       color      = black,
       labelcolor = white,
     labelstyle = {sloped,text=black}]

 \begin{center}
  \begin{tikzpicture}
  \Vertex[x=0 ,y=0]{A}
  \Vertex[x=3 ,y=3]{B}
  \tikzset{EdgeStyle/.style={->}}
  \Edge[label = $1$](A)(B)
  \end{tikzpicture}
  \end{center}
  \end{document} 

I know how to change the vertex fill color and the vertex text color, but I'd like to be able to change the color of the actual outline of the vertex--i.e., the vertices in this code should have a red outline. Any ideas?

share|improve this question
up vote 2 down vote accepted

You should add the option LineColor=red in \SetVertexNormal command.

share|improve this answer
    
That did it. Thanks :-) – Renklauf Aug 18 '13 at 0:59

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.