The three components are connected through ports that correspond electrical pins. The source and the resistor each have both a positive and a negative pin, whereas the ground has only one positive pin. Electrical energy (carried by electric charge) is transmitted between components through the pins. The image below contains the Block Definition Diagram (BDD) that illustrates this. 

A new abstract block TwoPinComponent is created to illustrate abstract components that have two ports (pins). These two ports are named p  and n, and they are both of the ChargeFlowElement type. ChargeFlowElement belongs to the simulation library (SysPhSLibrary.mdzip), and it can be selected by unchecking Apply Filter  in the type list. 

The p and n ports typed by ChargeFlow Element Interface Block.