GenogramMaker.Bond (GenogramMaker v0.1.0)

Copy Markdown

An emotional relationship line between two people.

Fields:

  • :pair — a {id_a, id_b} tuple of the two people the bond connects.
  • :type — one of :close, :distant, :conflict, :hostile, :cutoff, :fused.

Bonds are drawn as non-structural lines (they never change the generational layout) and are coloured and styled by :type: closeness in green, distance and cutoff dashed, conflict and hostility in red.

Summary

Types

t()

@type t() :: %GenogramMaker.Bond{pair: {String.t(), String.t()}, type: type()}

type()

@type type() :: :close | :distant | :conflict | :hostile | :cutoff | :fused