View Source Ecto.ERD.Node (Ecto ERD v0.6.2)
Node struct
- If
sourceisnil, thenschema_modulecannot beniland node describes embedded schema. - If
sourceis notnilandschema_moduleis notnil, then node describes regular schema. - If
schema_moduleisnil, thensourcecannot beniland node describes a source (table) which was automatically inferred from many-to-many relations. - If
clusterisnil, then the node will be rendered outside any cluster..
Summary
Functions
Set a cluster for a 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() }
Functions
Set a cluster for a given node.
Cluster is a group of nodes which are displayed together.