Log in
Enquire now
Directed acyclic graph

Directed acyclic graph

A graph data structure that uses topological ordering, meaning that the graph flows in only one direction, and it never goes in circles.

OverviewStructured DataIssuesContributors

All edits by  Sinclair Chen 

Edits on 9 May, 2019
"Not true. Consider a singly linked list (aka think of a bunch of nodes standing in a line for the movie theater, and each one points to the node in front of them.) Starting from back, It is possible to traverse the entire graph but it's still a DAG."
Sinclair Chen profile picture
Sinclair Chen
edited on 9 May, 2019
Edits made to:
Description (+19/-61 characters)
Article (+99/-205 characters)
Topic thumbnail

Directed acyclic graph

A graph data structure that uses topological ordering, meaning that the graph flows in only one direction, and it's impossible to traverse the entire graph by startingnever atgoes anin edgecircles.

Article

A Directed Acyclic Graph (DAG) is a type of graph structure in which it's impossible to movecome acrossback to the entiresame graphnode by starting attraversing onethe edgeedges.

...

In graph theory, a graph is a structure consisting of nodes that are connected by edges. You can think of the nodes as point on the graphpoints and the edges as lines. Or in terms of a spreadsheet, the nodes would be the cells, with the edges being thedrawn outlinesfrom ofpoint theto cellspoint.

...

'Acyclic' means that it is impossible to start at one point, or edge, of the graph and thecome traverseback theto entireit graphby following the edges. Whereas a cycle comes back around to it's original starting point like a circle, an acyclic graph continues moving in a linear direction and never does circle back to the starting point. To continue with the earlier example of chicken and rice dinner, you can't move on the graph from buying the rice to preparing the food to buying the chicken, as that would require moving backwards across the graph. It's impossible to prepare the chicken if you haven't yet purchased it.

Find more entities like Directed acyclic graph

Use the Golden Query Tool to find similar entities by any field in the Knowledge Graph, including industry, location, and more.
Open Query Tool
Access by API
Golden Query Tool
Golden logo

Company

  • Home
  • Press & Media
  • Blog
  • Careers
  • WE'RE HIRING

Products

  • Knowledge Graph
  • Query Tool
  • Data Requests
  • Knowledge Storage
  • API
  • Pricing
  • Enterprise
  • ChatGPT Plugin

Legal

  • Terms of Service
  • Enterprise Terms of Service
  • Privacy Policy

Help

  • Help center
  • API Documentation
  • Contact Us
By using this site, you agree to our Terms of Service.