Permanent magnets retain substantial magnetisation, temporary magnetic materials lose much of it after the magnetising influence is removed, and electromagnets use electric current to produce a controllable field. A soft-iron core can strengthen a coil’s field while allowing easy switching.
What gives field direction on a diagram? The tangent to the field line.
Why can field lines not cross? A point cannot have two different resultant field directions.