Skip to content

CXNetworkWriteXNet

function

Back to Helios Network Native C API

Kind
function
Source
src/native/include/helios/CXNetworkXNet.h:31

Description

Serializes a network using the XNET 1.0.0 human-readable container. Performs compaction to ensure contiguous node and edge indices before writing. Adds the _original_ids_ vertex attribute to preserve the original node identifiers. @param network Network to serialize. @param path Output path for the .xnet file. @return CXTrue on success, CXFalse on failure.

Signature

CX_EXTERN CXBool CXNetworkWriteXNet(struct CXNetwork *network, const char *path);