When no lines are attached, make class dashed