Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7408903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:59:29+00:00 2026-05-29T05:59:29+00:00

I have adapted the state example (code below). What I would like to know

  • 0

I have adapted the state example (code below). What I would like to know is how to get the X to fall on the loop over node A, or by some other method to show that this path is precluded by being “exed” out. Thank you.

\begin{figure}[ht!]
\centering
\tikzpicture[->,>=stealth',shorten >=1pt,auto,node distance=2.8cm,semithick]
\tikzstyle{every state}={fill=black!30, draw = none, text = white]

\node[state] (A) {$N_1$};
\node[state] (B) [right of = A] {$N_2$};
\node[state] (C) [below of = B] {$N_3$};
\node[state] (D) [left of  = C] {$N_4$};

\path (A) edge [anchor=center,loop above] node {x} (A)
edge node {} (B)
edge node {} (C)
edge node {} (D);

\path (B) edge node {} (C)
edge node {} (D)
edge node {} (A);

\path (C) edge node {} (D)
edge node {} (A)
edge node {} (B);

\path (D) edge node {} (A)
edge node {} (B)
edge node {} (C);

\endtikzpicture
\caption{\label{fig:hop} Here is caption.}
\end{figure}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:59:32+00:00Added an answer on May 29, 2026 at 5:59 am

    If you change loop above to loop that works for me, although it gives a much bigger loop. You can adjust the size of the loop, and IMHO the loop was too small if you wanted it x’ed out anyway. I’m not sure what size you were seeing however since you didn’t include your preamble etc.

    Another, rather ugly, way is to use something like node[above=-7pt] but that would require a lot of fiddling to get a good looking distance.

    You might also consider using $\times$ instead of x since it looks more like an x.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an example code below where if you click the links, then use
I have the below mentioned code in a seperate class file for establishing connection
I am using RabbitMQ to have worker processes encode video files. I would like
I have a reasonably simple split view application adapted from iPhone code. The main
So: I have the following function, adapted from a formula found online, which takes
Have you guys had any experiences (positive or negative) by placing your source code/solution
In my schema I have some types that simply extend a simple XSD type
I have found this example Lazy load of images in ListView from Fedor which
I want to save the state of a multiple choice listview checkbox's. I have
I have a program using QtScript for some automation. I have added a bunch

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.