Edge list

Graph data structure

An edge list is a data structure used to represent a graph as a list of its edges. An (unweighted) edge is defined by its start and end vertex, so each edge may be represented by two numbers.[1] The entire edge list may be represented as a two-column matrix.[2][3] An edge list may be considered a variation on an adjacency list which is represented as a length | V | {\displaystyle |V|} array of lists.[4] Since each edge contains just two or three numbers, the total space for an edge list is Θ ( | E | ) {\displaystyle \Theta (|E|)} .[3]

References

  1. ^ Munagala, Kameshwar; Ranade, Abhiram (1999). "I/O-complexity of Graph Algorithms". Proceedings of the Tenth Annual ACM-SIAM Symposium on Discrete Algorithms. SODA '99. Philadelphia, PA, USA: Society for Industrial and Applied Mathematics: 687–694. ISBN 9780898714340.
  2. ^ "igraph R manual pages". igraph.org. Retrieved 2019-10-16.
  3. ^ a b "Representing graphs". Khan Academy. Retrieved 2019-10-16.
  4. ^ Kolaczyk, Eric D. (2009-04-20). Statistical analysis of network data : methods and models. New York. pp. 22. ISBN 9780387881461. OCLC 405547055.{{cite book}}: CS1 maint: location missing publisher (link)
  • v
  • t
  • e
Graph representations
Data structures
  • Graph (abstract data type)
  • Adjacency list
  • Edge list
  • Adjacency matrix
  • Incidence matrix
XML-based formats
  • DGML
  • DotML
  • GEXF
  • GraphML
  • GXL
  • XGMML
Text-based formats
  • DOT
  • Graph Modelling Language (GML)
  • LCF notation for cubic Hamiltonian graphs
  • Newick format for trees
  • Trivial Graph Format
Related concepts
  • Graph database
  • Graph drawing
  • Linked data