83. Diagrams - JulTob/Mathematics GitHub Wiki

Arrow Diagrams

A diagram using arrows to show a relation (or connection) between one thing and another.

Relations in one set of numbers

flowchart LR

 M1[6] 
 M2[10]
 M3[20]
 M4[30]

 M1 -->|Less than| M2
 M1 --> M3
 M1 --> M4

 M2 --> M3
 M2 --> M4

 M3 --> M4

Relationships between two sets

flowchart LR
 A1[John]
 A2[Mary]
 A3[Paul]

 B1[Cat]
 B2[Dog]
 B3[Mouse]

 A1-->B2
 A1-->B3

 A2-->B1
 A2-->B2

 A3-->B1
 A3-->B3