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

  • SEARCH
  • Home
  • 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 839909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:32:19+00:00 2026-05-15T05:32:19+00:00

First of all, let me say I’m using LyX, though I have no problem

  • 0

First of all, let me say I’m using LyX, though I have no problem using ERT.

Secondly, what is the most simplest way to draw a simple graph like this in Latex?
alt text

I’ve seen some documents with graphs and I’ve seen some examples, but I couldn’t figure out how to just draw a simple graph – what packages do I need, etc?

  • 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-15T05:32:20+00:00Added an answer on May 15, 2026 at 5:32 am

    TikZ can do this.

    A quick demo:

    \documentclass{article}
    
    \usepackage{tikz}
    
    \begin{document}
    
    \begin{tikzpicture}
      [scale=.8,auto=left,every node/.style={circle,fill=blue!20}]
      \node (n6) at (1,10) {6};
      \node (n4) at (4,8)  {4};
      \node (n5) at (8,9)  {5};
      \node (n1) at (11,8) {1};
      \node (n2) at (9,6)  {2};
      \node (n3) at (5,5)  {3};
    
      \foreach \from/\to in {n6/n4,n4/n5,n5/n1,n1/n2,n2/n5,n2/n3,n3/n4}
        \draw (\from) -- (\to);
    
    \end{tikzpicture}
    
    \end{document}
    

    produces:

    enter image description here

    More examples @ http://www.texample.net/tikz/examples/tag/graphs/

    More information about TikZ: http://sourceforge.net/projects/pgf/ where I guess an installation guide will also be present.

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

Sidebar

Related Questions

First of all, let me say I am very new to rails, have been
First of all let me say I'm not much of a design guy. Most
First of all let me say thank you to everyone that offered answers...I have
first of all let me say that I know about dynamic, no PIA, named
First of all let me just say that I am new to nHibernate so
first of all please let me say that I am quite new to objective
First of all, I want to know if this is possible: let's say I
First of all let me say that this questions is slightly connected to another
Let's say you have some time-consuming work to do when a module/class is first
Let's say, that I have the following source output: <p>This is first paragraph</p> <p>This

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.