Project Homepage | Source Code NetworkX
  • Overview
    • Who uses NetworkX?
    • Goals
    • The Python programming language
    • Free software
    • History
  • Download
    • Software
    • Documentation
  • Installing
    • Quick install
    • Installing from source
    • Requirements
    • Optional packages
  • Tutorial
    • Creating a graph
    • Nodes
    • Edges
    • What to use as nodes and edges
    • Accessing edges
    • Adding attributes to graphs, nodes, and edges
    • Directed graphs
    • Multigraphs
    • Graph generators and graph operations
    • Analyzing graphs
    • Drawing graphs
  • Reference
    • Introduction
    • Graph types
    • Algorithms
    • Functions
    • Graph generators
    • Linear algebra
    • Converting to and from other data formats
    • Relabeling nodes
    • Reading and writing graphs
    • Drawing
    • Exceptions
    • Utilities
    • License
    • Citing
    • Credits
    • Glossary
    • Reference
  • Testing
    • Requirements for testing
    • Testing a source distribution
    • Testing an installed package
    • Testing for developers
  • Developer Guide
    • Working with networkx source code
  • History
    • API changes
    • Release Log
  • Bibliography
  • NetworkX Examples
    • 3D_Drawing
    • Advanced
    • Algorithms
    • Basic
    • Drawing
    • Graph
    • Javascript
    • Multigraph
    • Pygraphviz
    • Subclass
 
NetworkX
  • Docs »
  • Reference »
  • Reference »
  • Reading and writing graphs

Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

Reading and writing graphsΒΆ

  • Adjacency List
    • Adjacency List
    • read_adjlist
    • write_adjlist
    • parse_adjlist
    • generate_adjlist
  • Multiline Adjacency List
    • Multi-line Adjacency List
    • read_multiline_adjlist
    • write_multiline_adjlist
    • parse_multiline_adjlist
    • generate_multiline_adjlist
  • Edge List
    • Edge Lists
    • read_edgelist
    • write_edgelist
    • read_weighted_edgelist
    • write_weighted_edgelist
    • generate_edgelist
    • parse_edgelist
  • GEXF
    • GEXF
    • read_gexf
    • write_gexf
    • relabel_gexf_graph
  • GML
    • Format
    • read_gml
    • write_gml
    • parse_gml
    • generate_gml
    • literal_destringizer
    • literal_stringizer
  • Pickle
    • Pickled Graphs
    • read_gpickle
    • write_gpickle
  • GraphML
    • GraphML
    • read_graphml
    • write_graphml
  • JSON
    • JSON data
    • node_link_data
    • node_link_graph
    • adjacency_data
    • adjacency_graph
    • tree_data
    • tree_graph
  • LEDA
    • Format
    • read_leda
    • parse_leda
  • YAML
    • YAML
    • read_yaml
    • write_yaml
  • SparseGraph6
    • Graph6
    • Sparse6
  • Pajek
    • Pajek
    • read_pajek
    • write_pajek
    • parse_pajek
  • GIS Shapefile
    • Shapefile
    • read_shp
    • write_shp
Next Previous

© Copyright 2015, NetworkX Developers. Last updated on Oct 26, 2015.

Built with Sphinx using a theme provided by Read the Docs.