Network Lifecycle
Back to Helios Network Native C API
Allocation, destruction, version, and graph-wide metadata helpers.
function
CXFreeNetwork
Releases all resources owned by a network.
function
CXNetworkBuildFilteredSubgraph
Builds an induced filtered subgraph from optional node/edge filters. - `nodeFilter` / `edgeFilter` may be NULL to indicate "all active". - Node output is always active-only. - Edge output is always active-only and induced by the resulting node set (edges with at least one endpoint outside `outNodeSelector` are removed). - Output order follows native active index order.
function
CXNetworkGenerateBarabasiAlbert
Creates a Barabasi-Albert preferential-attachment graph.
function
CXNetworkGenerateConfigurationModel
Creates a graph with the requested degree sequence using the configuration model.
function
CXNetworkGenerateLattice2D
Creates a two-dimensional lattice graph.
function
CXNetworkGenerateRandomGeometric
Creates a random geometric graph using random 2D positions and a radius cutoff.
function
CXNetworkGenerateStochasticBlockModel
Creates a stochastic block model graph from block sizes and a flattened block-to-block probability matrix.
function
CXNetworkGenerateWattsStrogatz
Creates a Watts-Strogatz small-world graph.
function
CXNetworkGenerateWaxman
Creates a Waxman random graph using distance-weighted edge probabilities.
function
CXNetworkIsDirected
Returns CXTrue when the network treats edges as directed.
function
CXNewNetwork
Allocates a new network with default capacities.
function
CXNewNetworkWithCapacity
Allocates a new network with explicit node/edge capacities.