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

Add DrawIO Capability #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

garynthompson
Copy link

Hi @ezradevs,

Here is a PR for a DrawIO Library. The SVG isn't playing well with DrawIO, but that is not uncommon (so many programs do strange things with SVG).

Also, since the fonts in the SVG aren't implemented as text but instead as paths, I didn't take the time to scale them appropriately at this stage as compiling a library took long enough.

This is what it looks like (only works with DrawIO Light mode, not dark mode).

image

The connection points are dynamic, so if I move a symbol around:

image

And finally, you can still zoom in and see the text for the lines. I implemented the cables as all being a 40x40 icon with the text, and then am using dynamic connectors in DrawIO to connect the cable element to the symbol. This should keep flexibility for the minimal amount of effort.

image

Let me know what you think.

Cheers,

Gary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant