Yed is the "demo product" for their java library which you can integrate into products to get diagram drawing and editing functionality. I know of a few enterprise products that use it.
I have worked for the professor where yworks was started and we got to use the generous academic license for the library.