IntelliJ IDEA demo plugin showing how to deal with diagrams