@paulv The diagram-js library is MIT licensed and can be used without restrictions, as long as you do not reuse substantial portions of bpmn-js (bpmn.io license).
I assume more people will ask this in the future. Because of that I updated your initial post with the common questions (and related answers); all taken from the discussion in this thread.