liveBook · Manning

Directed graph

A directed graph is a graph whose edges have an orientation from a source vertex to a destination vertex.

How 3 Manning books explain it

Graph Algorithms for Data Science

A directed network is a network whose relationships have source and target directions that can carry semantic meaning.

How it is used
Uses relationship direction to model follower networks and analyze information distribution and influence.
How deep it goes
Explains direction through traversal rules, Cypher modeling, and follower-network analysis without formal graph notation.
Examples
Uses Twitter-style followers, Kim and Vanessa, and a Cypher FOLLOWS relationship with date properties.
What you can do after
Apply it via Cypher and graph algorithms to model one-way ties and characterize follower-network structure.

Read how Graph Algorithms for Data Science explains directed graph →

Learn Haskell by Example

A directed graph is a graph whose edges have orientations that constrain traversal to one direction.

How it is used
Uses directed graphs to model word ladders and support shortest-path searches.
How deep it goes
Defines orientation and develops polymorphic adjacency-list and map representations with insertion and lookup operations.
Examples
Demonstrates word ladders and GHCi queries over integer nodes and directed edges.
What you can do after
Builds and queries a polymorphic directed graph using Haskell map operations.

Read how Learn Haskell by Example explains directed graph →

Grokking Data Structures

A directed graph is a graph whose edges have orientations that distinguish a source vertex from a destination vertex.

How it is used
Models asymmetric relationships, one-way routes, workflows, processes, and state machines.
How deep it goes
Defines edge direction, compares representations, and explains weak and strong connectivity without detailing traversal implementations.
Examples
Uses social-network follows, one-way roads, workflows, campaign relationships, and connected-component clusters.
What you can do after
Apply directed graphs to relationships where traversal from source to destination is not automatically reversible.

Read how Grokking Data Structures explains directed graph →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.