Adding libraries? #45
|
I need to use shapes from the "basic" library, which doesn't seem to be supported. Is it pretty straightforward for me to add this? |
Answered by
MerrimanInd
Sep 24, 2024
Replies: 1 comment
|
Yeah I think that should be straightforward. The documentation has some explanation of how it works at this page. Taking a quick look at the styles for some of the shapes in that library I don't see any attributes that would cause issues. Just have to do the legwork copying it into a TOML file. You can also use the apply_style_string() function documented on this page if it's easier. Just copy the style string from the basic objects you want and you can apply that string directly to an object. |
0 replies
Answer selected by
MerrimanInd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah I think that should be straightforward. The documentation has some explanation of how it works at this page. Taking a quick look at the styles for some of the shapes in that library I don't see any attributes that would cause issues. Just have to do the legwork copying it into a TOML file.
You can also use the apply_style_string() function documented on this page if it's easier. Just copy the style string from the basic objects you want and you can apply that string directly to an object.