Optional
direction?: stringDirection "up" or "down" or null if on the same Floor
Optional
icon?: stringIcon to use for the Connection, can be wrapped in SVG and
<svg height="16" viewBox="0 0 36 36" width="16">
<g fill="white">
${icon}
</g>
</svg>
Optional
isWhether the user is entering or exiting the Connection
Optional
toDepending on the direction of the journey, the map name of the destination map or where a Connection enters the map
Connection type, "escalator", "elevator", etc
Represent a result of a connectionTemplate function.