Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complex diagram like class diagram #92

Closed
georgiuk opened this issue Feb 23, 2020 · 6 comments
Closed

Complex diagram like class diagram #92

georgiuk opened this issue Feb 23, 2020 · 6 comments
Labels

Comments

@georgiuk
Copy link

Hello,
I was wondering if a class diagram editor would be possible with Core2D?
Is there any example of Connectors and complex shapes?
Thank you
Kostas

@wieslawsoltes
Copy link
Owner

Here is example project (please change extension from .zip to .project). You can create complex shapes with connectors.

Class-Diagram-Connectors.project.zip

@georgiuk
Copy link
Author

Seems promising. Thank you.
However I want to do something like that by code. Can you point me to some example for complex shape built in code?

@wieslawsoltes
Copy link
Owner

Look at the ProjectEditor class it has some factories to create all necessary objects.

  • ProjectEditor.ShapeFactory
  • ProjectEditor.ContainerFactory
  • ProjectEditor.Factory

Doing all complex shapes by code is doable, just don't have any complex example, you can maybe look and ProjectEditor.OnDropRecordAsGroup.

@georgiuk
Copy link
Author

OK. I ll check them out.
Thanks a lot.

@wieslawsoltes
Copy link
Owner

You can also play with factories using C# scripts: https://github.com/wieslawsoltes/Core2D/tree/master/scripts

@YBAZAN
Copy link

YBAZAN commented Feb 1, 2021

Here is example project (please change extension from .zip to .project). You can create complex shapes with connectors.

Class-Diagram-Connectors.project.zip

I cannot open it in the latest version (0.10). I'm also interested in doing such a complex diagram (with visual customizations), but I find hard to find good documentation on how to concretely use your library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 participants