Ecto.ERD.Node (Ecto ERD v0.6.6)
View SourceNode struct.
- If
sourceisnil, thenschema_modulecannot beniland node describes embedded schema. - If
sourceis notnilandschema_moduleis notnil, then the node describes a regular schema. - If
schema_moduleisnil, thensourcecannot benil, and the node describes a source (table) that was automatically inferred from many-to-many relations. - If
clusterisnil, then the node is rendered outside any cluster.
Summary
Functions
Set a cluster for the given node.
Types
@type t() :: %Ecto.ERD.Node{ cluster: nil | String.t(), fields: [Ecto.ERD.Field.t()], schema_module: nil | module(), source: nil | String.t() }