# LibGraph-2.0 — licensing

This package contains three bodies of work under three different sets of terms.
Read all three before redistributing or reusing any part of it.

--------------------------------------------------------------------------------
## 1. The original LibGraph-2.0 — All Rights Reserved

Copyright (c) Cryect (cryect@gmail.com)
Copyright (c) Xinhuan (xinhuan AT gmail DOT com)

`LibGraph-2.0/LibGraph-2.0.lua` and the accompanying textures (`1-*.tga`,
`line.tga`, `sline.tga`, `triangle.tga`) originate from GraphLib / LibGraph-2.0,
published on WowAce (SVN r68). No licence grant accompanies that source as it is
vendored here, so all rights in the original work are reserved to its authors.

The original authors retain full rights to the original work. Nothing in
section 2 below grants any right over their code; it applies only to the changes
listed there.

--------------------------------------------------------------------------------
## 2. Modifications from 2026-08-25 onward — MIT

Copyright (c) 2026 Pimptasty

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

--------------------------------------------------------------------------------
## 3. LibStub — Public Domain

`LibStub.lua` is hereby placed in the Public Domain by its authors.
Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke.

--------------------------------------------------------------------------------
## What this means in practice

The MIT grant in section 2 stands on its own for the changes it names. It does
not, and cannot, relicense the original code in section 1 — so a redistribution
of the whole package still depends on the original authors' terms, and the file
as shipped is a combined work. Reuse the section 2 changes freely; treat the
package as a whole as reserved.
