Hot answers tagged

4 votes
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:/...
user avatar
  • 2,400
4 votes
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. ...
user avatar
  • 19.9k
3 votes
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 ...
user avatar
  • 19.9k
2 votes

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[->, ...
user avatar
  • 19.9k
2 votes

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). \...
user avatar
  • 270
2 votes
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 ...
user avatar
  • 35.6k
2 votes

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/...
user avatar
  • 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 ...
user avatar
  • 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. ...
user avatar
  • 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 ...
user avatar
  • 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, ...
user avatar
  • 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 ...
user avatar
  • 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) [] {...
user avatar
  • 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, ...
user avatar
  • 95

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