Skip to content

Latest commit

 

History

History
62 lines (53 loc) · 1.79 KB

README.md

File metadata and controls

62 lines (53 loc) · 1.79 KB

PHP Graph

This project matches elegant-php/doctrine

This package provides graph data structure features:

  • Adjacency list
    • Initializing with objects
    • Initializing from a php array
    • Initializing from the Materialized Path
    • Initializing from the Nested Set
    • Initializing from the Hash Table
    • Converting a collection of objects into a php array
    • Adding nodes
    • Removing nodes
    • Renaming and deleting node fields
  • Materialized path
    • Initializing with objects
    • Initializing from a php array
    • Initializing from the Adjacency List
    • Initializing from the Nested Set
    • Initializing from the Hash Table
    • Converting a collection of objects into a php array
    • Adding nodes
    • Removing nodes
    • Renaming and deleting node fields
    • Nodes level calculation
    • Nodes identification
  • Nested set
    • Initializing with objects
    • Initializing from a php array
    • Initializing from the Adjacency List
    • Initializing from the Materialized Path
    • Initializing from the Hash Table
    • Converting a collection of objects into a php array
    • Adding nodes
    • Removing nodes
    • Renaming and deleting node fields
    • Nodes identification
  • Hash table
    • Initializing with objects
    • Initializing from a php array
    • Initializing from the Adjacency List
    • Initializing from the Materialized Path
    • Initializing from the Nested Set
    • Converting a collection of objects into a php array
    • Adding nodes
    • Removing nodes
    • Renaming and deleting node fields
    • Nodes identification

Installation

Not available yet

Requirements

  • php >=8.1

Usage

TODO