vhood / php-graph

Object-oriented Adjacency lists, Materialized paths, Nested sets and Hash tables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Object-oriented Adjacency lists, Materialized paths, Nested sets and Hash tables

License:Mozilla Public License 2.0


Languages

Language:PHP 95.2%Language:Makefile 2.9%Language:Dockerfile 2.0%