mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
docs: refactor diagram, fix doc typos and formatting (#419)
This commit is contained in:
parent
6751afc683
commit
bb86a13323
1 changed files with 7 additions and 5 deletions
|
@ -6,8 +6,8 @@ defmodule Ash.Api.Info.Diagram do
|
|||
|
||||
We can't easily model Ash relationships with Mermaid diagrams
|
||||
because they are unidirectional and could be asymmetric.
|
||||
Mermaid assumes symmetrical, biredirectional relationships.
|
||||
If we try to model all unidirectional realtionships as separate
|
||||
Mermaid assumes symmetrical, bidirectional relationships.
|
||||
If we try to model all unidirectional relationships as separate
|
||||
lines in the diagram it gets very hard to read very quickly.
|
||||
"""
|
||||
|
||||
|
@ -82,9 +82,11 @@ defmodule Ash.Api.Info.Diagram do
|
|||
Ash.Resource.Info.aggregates(resource)
|
||||
}
|
||||
else
|
||||
{Ash.Resource.Info.public_attributes(resource),
|
||||
{
|
||||
Ash.Resource.Info.public_attributes(resource),
|
||||
Ash.Resource.Info.public_calculations(resource),
|
||||
Ash.Resource.Info.public_aggregates(resource)}
|
||||
Ash.Resource.Info.public_aggregates(resource)
|
||||
}
|
||||
end
|
||||
|
||||
contents =
|
Loading…
Reference in a new issue