473,395 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Is there a graphing library I can use?

hsn
237 100+
hello every one
we all have taken graphs in our algorithm sumbject in the begining of our computer life.

i was reading a question on the inernet and it was really intresting. so i started working on it.
after a while i found that if i used a graph it will be very easy
the problem i didn't ever used graphes 9in programming and i was woundering if there is a class that is ready to do it.

for my code i need to give two nodes (which are connected) over and over
so after the input is finished i want to see how many nodes are connected to each other .

thank you for reading my question and plz reply

hsn
Dec 12 '07 #1
4 1173
RRick
463 Expert 256MB
There are plenty of graphics libraries, but be ready to change you idea of programming. The minute you say "graphs" or drawings you need to select a gui to do this within. In windows, there is a class of programs for this and it has no relation to the "Hello World" program we started with. Unix has a similar gui based on X-Windows.

Once you pick a gui, you can start looking at packages/toolkits that support what you're looking for. Unless you are bound to C/C++ I would suggest looking at other programming environments. Tcl/Tk is one, but I haven't used it personally.

In the world of C/C++, Qt is a toolkit that might have what you need.
Dec 14 '07 #2
Laharl
849 Expert 512MB
If you just want code that allows you to work with graphs, without a GUI, the Boost library has several graph headers/algorithms/classes/etc.
Dec 14 '07 #3
hsn
237 100+
guys u don't understand what i am asking for

what i want is to create a program to add two nodes(which are connected) in a for loop. and after the end of the for loop i want to see an output that will show the nodes' names that create the largest connected graph
that is it.
i don't need a gui or anything that is too complex
no adding new toolkits and nothing like that
because i am enroled to a programming contest and no such extra tools are available.
thank you


hsn
Dec 14 '07 #4
Laharl
849 Expert 512MB
Then you should write your own graph classes. There are two common methods, adjacency lists and adjacency matrices. Wikipedia has good articles about both.
Dec 14 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Michael T. Peterson | last post by:
Would anyone care to recommend a good graphing package (commercial or otherwise)? I've looked at some of the PEAR Image packages - The only graphing package is still alpha quality. One...
4
by: FGO | last post by:
Hi all, I use jpgraph as a graphing tool and it is very slow. Is there a solution to tune it or will I have to use another graphing solution, and which one? (My graphs are simple line stocks...
22
by: Kenneth Miller | last post by:
Hello All, I am new to Python and i was wondering what graphing utlities would be available to me. I have already tried BLT and after weeks of unsuccesful installs i'd like to find something...
6
by: Michael Hill | last post by:
Hello, all. I am considering writing an online graphing utility. I plan it to be of good quality, such that an undergraduate university student can print it out and include it with a lab report....
1
by: Jon Davis | last post by:
Does Crystal Reports (built in w/ vs.net) include graphing?
2
by: Brad Markisohn | last post by:
I need to graphically display data retrieved from a device connected to the serial port. Is there a way to do this in .Net or do I need to purchase a 3rd party tool? Thanks Brad
1
by: robby.walker | last post by:
Hi, I've just released a full-featured online graphing calculator at http://www.e-tutor.com/et2/graphing/ It requires no downloads or plugins - just JavaScript. You can track points on the...
0
by: Dexter | last post by:
GraphEasyRect was previously available as an applet. Now we have converted it to a desktop standalone application that runs on multiple platforms Windows, Mac, and Linux This tool allows...
2
by: sydneytroz | last post by:
I am writing a program to simulate a double displacement reaction getting to equilibrium, but I am having some trouble graphing the particles' concentrations. It seems that it's only possible to pan...
1
by: skeates | last post by:
Hey all - I'm attempting to write a program that accesses a database, runs some calculations according to user input, and then creates some graphs from the results. The first two steps were pretty...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.