Skip to content

outlinks

Syntax

outlinks(network_name, id)

Parameters

network_name
A valid directed network name.
id
The ID of the node in the network to use as an origin.

Returns

Returns a list of node IDs. The list may be empty.

Description

Returns a list of node IDs that are destinations of outlinks from a given source node ID.

An outlink is defined as an edge that originates from the specified node and points to another node. In undirected networks, all edges are both inlinks and outlinks to the nodes that they connect.

Examples

my_customers = outlinks(my_supply_chain_network, id())

See Also