# Tag Info

## Hot answers tagged graphs

Accepted

### Tikz Graph with disappearing edges

This could serve as a starting point. (With the help of https://tex.stackexchange.com/a/6155/263192) \documentclass{beamer} \usepackage{tikz} \tikzset{onslide/.code args={<#1>#2}{% from https:/...
• 2,400
Accepted

### How to create a node in the center of a edge with bend

You don't need to define the coordinates of the node separately from the node. Just use \node[pointblue] at (-0.5,0) (x){}; The red nodes can be defined using midway as part of the \draw statement. ...
• 19.9k
Accepted

### how to change the angle between the edges of the automaton/graph

You can add a yshift to the appropriate nodes: \node (d) [above right=of c, yshift=-.375cm] {}; ... \node (h) [below right=of c, yshift=.375cm] {}; Here is an alternative using forest, which ...
• 19.9k

### How to position the edges of the automaton\graph

I would just \draw them separately: ... (p) edge node [itslabel] {$$1$$} (q) (q) edge node [itslabel] {$$\varepsilon$$} (r) (r) edge [shorten >=1em] node [itslabel] {$$0$$} (s); \draw[->, ...
• 19.9k

### how to change the angle between the edges of the automaton/graph

You can just use normal Tikz drawing commands to draw the lines in different places. Here's an MWE (note the inclusion of preamble materials to make it easier for others to run this code). \...
• 270
Accepted

### How can I replicate this question in Latex?

You might want to look into the pgfplots package for the curve. I don't actually know that much about the package or using it; I'm neither a mathematician nor a math teacher nor a skilled pgf/tikz ...
• 35.6k

### Tikz: Standard subgraph with n=5 without all edges

Here is a macro \incomplete that will do the work for you. The syntax is \incomplete[<radius>]{<num vertices>}{<edge list>} The two examples above are created with \incomplete{5}{1/...
• 19.9k
1 vote

### How can I replicate this question in Latex?

Welcome to tex.stackexchange! I present here a couple of options: \begin{myquestion}...\quess...\end{myquestion} and \begin{myquestionalt}...\quess...\end{myquestionalt} The first uses TikZ while the ...
• 7,683
1 vote
Accepted

### Smooth curve with tikz

While you are waiting for Tikz-specific help, here is an alternative in Metapost, wrapped up in luamplib. I believe you can use the same approach to defining a path in Tikz with the hobby package. ...
• 35.8k
1 vote

### Change the style of graph vertex

I didn't want to do too many changes to your code, so I let it like that, not using chains. I defined endnode differently, and since your request for the normal nodes is not clear enough to me, I ...
• 16.3k
1 vote
Accepted

### How to position the edges of the automaton\graph

With use of the chains, fit, positioning and \quotes` libraries, most of nodes are positioned in loop: \documentclass{article} \usepackage{geometry} \usepackage{tikz} \usetikzlibrary{arrows.meta, ...
• 250k
1 vote
Accepted

### How can I draw this Automata with Tikz?

You can use below right, above right etc. in order to position nodes in those directions, relative to the current node. It requires the positioning library to access the extra options. Also, you could ...
• 495
1 vote
Accepted

### How to draw Automata/graph

Here is a solution using plain tikz: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[node distance=1.5cm] % position the nodes a..d \node (a) [] {...
• 165
1 vote

### How do I develop a complex time line?

I drew this timeline using TikZ: Here is the code: \documentclass{standalone} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{tikz} \usetikzlibrary{calc, arrows.meta, intersections, patterns, ...
• 95

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