-
Notifications
You must be signed in to change notification settings - Fork 34
[FEAT] render user task #210
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
Conversation
|
SVG icon transformation notice I have decided to fork it (see mxgraph-svg2shape) because
I still hope being to contribute some stuffs back to the upstream if it is still supported and accept contributions Issues faced Notice that the original file doesn't display correctly with Putting explicit leading 0 (
The In the file, we found 'c' command with 12 arguments
Example
This leads to the following parsing for the line with 's'
The 5th argument is a letter, Splitting the 12 arguments 'c' command into 2 'c' commands with 6 arguments each made <path fill-rule="evenodd" d="
M 12 14.002
a 0.998 0.998 0 0 1 -0.998 0.998
H 1.001
A 1 1 0 0 1 0 13.999
V 13
c 0 -2.633 4 -4 4 -4
s 0.229 -0.409 0 -1
c -0.841 -0.62 -0.944 -1.59 -1 -4
c 0.173 -2.413 1.867 -3 3 -3
s 2.827 0.586 3 3
c -0.056 2.41 -0.159 3.38 -1 4
c -0.229 0.59 0 1 0 1
s 4 1.367 4 4
v 1.002
z"/> |
534b637 to
6855607
Compare
6855607 to
da38d9e
Compare



This PR introduces the rendering of the
User Taskand add an icon based on the person octicons. Please note that this icon may not be the final one and may be replaced in the future.In addition, the following internals are updated or added as part of this PR:
Closes #143