Segment config...

Explanation of them different configuration modes. "⮽" is the symbol used for LEDs, everything else is just wire.

Straight:
Everything is in a stright line, or the cable is looped around.
└⮽─⮽─⮽─⮽─⮽─⮽─⮽─⮽┐

└⮽─⮽─⮽─⮽┐
┌────────┘
└⮽─⮽─⮽─⮽┐
                            
Snake:
The diodes are in a "snake"-pattern.
└⮽─⮽─⮽─⮽┐
┌⮽─⮽─⮽─⮽┘
└⮽─⮽─⮽─⮽┐
                            
Crazy:

This will just assume you have no idea what you are doing, and make a random configuration for you. based purely on the number of LEDs you have.
└⮽─⮽x⮽─⮽
   └─┐
┌⮽─⮽x⮽─⮽┐
└⮽─⮽─⮽─⮽┘