I implemented a custom port but the saving and loading of the diagram does not work. How do I save a drawing with custom classes?
Private Sub butSave_Click(sender As Object, e As EventArgs) Handles butSave.Click
pm.SaveDocumentToFile(document,
Private Sub butLoad_Click(sender As Object, e As EventArgs) Handles butLoad.Click
document = pm.LoadDocumentFromFile(
view.Document = document
Public Class DLogicalLinePort
circle.Paint(context)
End