# `AshNeo4j.DataLayer.Domain`
[🔗](https://github.com/diffo-dev/ash_neo4j/blob/v0.6.0/lib/data_layer/domain.ex#L17)

Domain-level DSL extension for AshNeo4j.

Attach to an Ash domain (directly or via a domain fragment) to write an additional
label on every node in that domain.

    defmodule Telco do
      use Spark.Dsl.Fragment,
        of: Ash.Domain,
        extensions: [AshNeo4j.DataLayer.Domain]

      neo4j do
        label :Telco
      end
    end

    defmodule Provider do
      use Ash.Domain, fragments: [Telco]
    end

Nodes for resources in `Provider` will have `:Telco` written as an additional
label on CREATE, giving the graph a semantically navigable axis.

# `neo4j`
*macro* 

---

*Consult [api-reference.md](api-reference.md) for complete listing*
