Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 2.29 KB

cx2.rst

File metadata and controls

77 lines (57 loc) · 2.29 KB

CX2Network

The ~ndex2.cx2.CX2Network provides a data model for the CX2 format

The class provides structured access, manipulation, reading, processing, and writing of network data elements including nodes, edges, attributes, visual properties, and other features of the network.

The introduction of the CX2 format represents a significant revision over its predecessor with several key goals:

  • Simplicity: The CX2 data model is designed to be more straightforward and user-friendly, enabling easier understanding and utilization by developers.
  • Streaming Efficiency: CX2 enhances support for streaming network processing. This includes operations like filtering nodes and edges based on properties, and converting CX networks to other formats, with a significantly reduced memory footprint.
  • Compactness: The format aims to make CX networks more compact, improving data transfer speeds and efficiency.

3.6.0

Methods

ndex2.cx2.CX2Network

CX2NetworkFactory classes and methods

ndex2.cx2.CX2NetworkFactory

ndex2.cx2.NoStyleCXToCX2NetworkFactory

ndex2.cx2.RawCX2NetworkFactory

ndex2.cx2.NetworkXToCX2NetworkFactory

ndex2.cx2.PandasDataFrameToCX2NetworkFactory

CX2Network conversion classes

ndex2.cx2.CX2NetworkXFactory

ndex2.cx2.CX2NetworkPandasDataFrameFactory

Supported data types

The following Attribute Declaration Data Types are supported under the d attribute:

  • string
  • double
  • boolean
  • integer
  • long
  • list_of_string
  • list_of_double
  • list_of_boolean
  • list_of_integer
  • list_of_long