Skip to content

Instantly share code, notes, and snippets.

@Nezteb
Created September 15, 2025 19:24
Show Gist options
  • Save Nezteb/c9c2a92010483cbe3ba85747814dbff9 to your computer and use it in GitHub Desktop.
Save Nezteb/c9c2a92010483cbe3ba85747814dbff9 to your computer and use it in GitHub Desktop.
graph TB
    PG[property graph]
    WG[weighted graph]
    LG[labeled graph]
    SG[semantic graph]
    DG[directed graph]
    RDF[rdf graph]
    MG[multi-graph]
    SIM[simple graph]
    UG[undirected graph]
    
    PG -->|add weight attribute| WG
    PG -->|remove attributes| LG
    PG -->|remove attributes| SG
    PG -->|no op| DG
    LG -->|make labels URIs| RDF
    LG -->|remove edge labels| MG
    LG <-->|no op| SG
    SG -->|remove edge labels| MG
    SG <-->|no op| DG
    DG -->|no op| MG
    DG -->|remove directionality| UG
    MG -->|remove loops, directionality,<br/>and multiple edges| SIM
    SIM -->|no op| UG
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment