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? |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
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.