Website review
This review may include AI-generated content and is not individually verified. Domain, certificate and other facts come from the observed data on this page.
What is Graph Online?
Graph Online is a browser-based tool for building graphs and running graph algorithms without installing anything. You draw or import a network, then use it to find shortest paths, compute an adjacency or incidence matrix, locate connected components, check for an Eulerian cycle, or build a minimum spanning tree. It's aimed at students, teachers, and anyone who needs a quick visual answer rather than a programming environment.
How you get a graph in
You can start from scratch or bring in existing data:
- Draw vertices and edges directly on the workspace
- Paste an adjacency matrix (comma-separated)
- Paste an incidence matrix
- Paste an edge list
- Load a built-in example graph
What you can do with it
The main draw is the algorithm set. After building a graph you can run shortest-path searches, matrix generation, connected-component detection, Eulerian cycle checks, and minimum spanning tree construction. Results can be saved as an image, exported as SVG, or written to a file for reuse.
Practical trade-offs
- Good fit: quick homework checks, teaching demonstrations, verifying a hand-computed shortest path, converting between matrix and edge-list representations.
- Weaker fit: very large graphs. The tool itself warns that some algorithms reject graphs beyond a size limit, so it suits small to medium examples rather than production-scale networks.
- Input format matters: matrices must be square and comma-separated, and malformed input triggers a fix-matrix prompt rather than silent correction.
If you're deciding whether to use it, ask what you need next: a visual answer you can screenshot and submit, or a reproducible script. For the former, this works well; for the latter, a code library is the better route. A useful first step is to load one of the built-in examples, run a shortest-path search, and export the result to see whether the output format matches what you need.
How do I create a graph online using an adjacency matrix?
On Graph Online, switch the input method to the adjacency matrix, paste or type the matrix, and press the button that builds the graph from it. The site accepts comma-separated values, expects a square matrix, and offers a “fix matrix” button plus a help page when the format is wrong.
Practical steps
- Open Graph Online and choose the adjacency-matrix input option.
- Enter the matrix with commas between numbers. For a simple graph, use 1 for an edge and 0 for no edge; row i, column j describes the connection from vertex i to vertex j.
- Keep the matrix square: the number of rows must equal the number of columns, and each row should have the same number of entries.
- Build the graph, then use the algorithm panel to run shortest path, minimum spanning tree, connected components, Eulerian cycle, or matrix views such as the distance matrix.
- Save or export the result as an image, SVG, or file if you need it outside the browser.
Example
For three vertices where vertex 1 connects to 2 and 3, and 2 connects to 3:
0,1,1
1,0,1
1,1,0
This produces an undirected triangle. For a directed graph, the matrix does not need to be symmetric: a 1 only in row 1, column 2 means an edge from 1 to 2 but not back.
What to watch for
- The site treats the adjacency matrix as the main input for weighted graphs too; edge weights go in the matrix cells instead of 1.
- For multigraphs, the site notes that the matrix contains the weight of the minimum edge between vertices, so parallel edges are not fully represented by an adjacency matrix alone.
- Very large graphs may exceed the size supported by a chosen algorithm, so start with a small test matrix before scaling up.
If your data is already an edge list or incidence matrix, those formats may be faster to paste; the adjacency matrix is best when you have a complete vertex-by-vertex table or want to inspect the graph’s structure directly.
How can I find the shortest path between two vertices in a graph?
Use Graph Online's Find shortest path workspace: draw or import your graph, select the two vertices, then run the shortest-path algorithm. The tool is built specifically around this task, so you do not need to install anything or write code for a simple two-vertex query.
A typical workflow
- Open Graph Online and choose how to build the graph:
- Create graph for clicking vertices and connecting edges manually.
- Using adjacency matrix if you already have a matrix.
- Using incidence matrix for edge–vertex relationships.
- Using edge list for a simple list of connections.
- Using graph example to test the algorithm before entering your own data.
- Set edge weights where the route has costs, distances or times. Unweighted edges are treated as having no weight, so for a genuine shortest-path result you usually want to edit the weight.
- Select the start and end vertices, then run the shortest-path algorithm from the Algorithms menu.
- Read the highlighted route and, if you need it, export the result as an image or SVG, or save the graph for later.
What to watch for
- The tool supports several input formats, but each has a strict format. Matrices must be square and comma-separated; if a matrix is rejected, use the fix matrix or help option rather than re-entering everything.
- Shortest path is only one of the available algorithms. The same workspace also handles adjacency and incidence matrices, connected components, Eulerian cycles and minimum spanning trees, so it can serve as a general graph playground.
- Very large graphs may exceed the size limit for a given algorithm, so a dense network can fail even when a small example works.
Choosing between this and alternatives
| Situation | Reasonable choice |
|---|---|
| You want a quick browser-based shortest path with visual output | Graph Online |
| You need to paste an existing adjacency or incidence matrix | Graph Online's matrix import |
| You need to run the algorithm inside a script or notebook | A programming library, not a visual tool |
| You want to teach or demonstrate graph concepts interactively | Graph Online's example graphs and visual workspace |
Next step: start with the Using graph example option, run shortest path on the sample, then replace it with your own edge list. That separates "does the tool work for me?" from "is my data formatted correctly?" and saves time when your real graph is larger.
What algorithms are available for graph analysis on this site?
The site centers on classic graph-analysis algorithms rather than a large library of specialized ones. From the page evidence, the headline capability is finding the shortest path, and the listed features also cover the adjacency matrix, incidence matrix, minimum spanning tree, connected components and Eulerian cycle.
H3 What you can do
- Find shortest path — the main algorithm highlighted on the page.
- Minimum spanning tree — for connecting all vertices at minimum total edge weight.
- Search connected component — to identify which vertices are reachable from each other.
- Eulerian cycle — to find a route that traverses every edge exactly once.
- Adjacency matrix — build a graph from a matrix or view its matrix.
- Incidence matrix — build a graph from an incidence matrix.
- Distance matrix — view a matrix of minimal distances between vertices.
- Edge list — create a graph by entering edges directly.
H3 How to choose
- If you need the cheapest route between two points, start with shortest path.
- If you need to connect all nodes with minimum total cost, use minimum spanning tree.
- If you are checking whether a network is fully connected, use connected component search.
- If you need a route that covers every edge once — for example, a snowplow or inspection route — use Eulerian cycle.
- If you already have matrix data, enter it via adjacency matrix or incidence matrix rather than drawing manually.
The page also notes a size limit: some algorithms support graphs no larger than a certain number of vertices and edges, so very large graphs may not run.
A practical next step: open Graph Online, create a small test graph, then run the algorithm that matches your task. For example, paste an adjacency matrix for a five-node network and run shortest path first; if the result looks right, you can then try minimum spanning tree on the same graph.
How do I visualize a graph from an edge list or incidence matrix?
Use the Create graph panel: pick the input format, paste your data, then press the button that builds the graph in the workspace. Graph Online accepts three text formats — adjacency matrix, incidence matrix and edge list — and the format selector determines which one it expects.
Graph Online
Edge list
- Choose the edge-list option, then paste one edge per line, e.g.
1,2orA,B. - Separators are commas, so keep vertex labels free of commas.
- If you need weights, add them in the format the page's help describes; unweighted edges are shown as having no weight.
- This is the fastest route when you already have pairs of connected nodes.
Incidence matrix
- Choose the incidence-matrix option. Rows are vertices, columns are edges, and each column normally has a 1 (or 2 for a loop) marking which vertices that edge touches.
- The matrix must be square only for adjacency input; an incidence matrix is rectangular, so don't worry if rows and columns differ.
- Use commas as separators. If the page reports a format error, use the fix matrix button before rebuilding.
Next step if nothing appears
- Check the format radio button matches your pasted text.
- Look for stray spaces, semicolons or tabs; replace them with commas.
- If the graph is very large, the chosen algorithm may refuse it — building the picture can still work, but some algorithms cap the vertex or edge count.
Once the graph is drawn you can rename vertices, drag them, add or remove edges, and export the workspace as an image or SVG. That makes the tool handy for a student checking a homework graph, a developer sketching a network before coding it, or anyone who wants to see a structure rather than read a matrix.
Can I export my graph as an image or SVG file?
Yes. Graph Online lets you save your graph as an image, and it also offers an SVG export option alongside that.
What you can do on the page
- Save a graph image (the standard raster image option).
- Save a printed image of the graph in black and white.
- Save the graph to SVG for a scalable vector version.
- Export the graph to a file and import it back later.
- Take a workspace screenshot.
Which format to pick
| Goal | Better choice | Why |
|---|---|---|
| Quick sharing in a chat or document | Standard image | Simple to paste anywhere, no special handling |
| Printing on paper, especially without color | Black-and-white image | Designed for clean printed output |
| Slides, posters, or further editing | SVG | Vector format stays sharp when resized and can be edited in vector tools |
Practical scenario
If you are building a graph for a report, create it, run your algorithm (for example, finding the shortest path), then save the SVG so the diagram stays crisp when scaled. If you just need to show a colleague the result quickly, the standard image is faster.
Next step
Use the save controls in the graph workspace: choose the image option for a quick copy, the black-and-white option for printing, or SVG when you need scalability or later editing. If you plan to keep working on the graph, also export it to a file so you can reimport it.
For reference, the tool is available at Create Graph online and find shortest path or use other algorithm.
User reviews (0)