Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6969

Displaying SVG with multiple paths in diagram

$
0
0

@dsirmans wrote:

I need to display an SVG in my diagram that is stored in a json file with numerous other SVG's. The SVG's are not saved in a .svg file independently. We use icomoon, so I have a single json file that stores hundreds of SVG's. Each of the SVG's can have multiple paths and fill colors.

Is it possible to build out the SVG using go.Shape's geometryString? I am currently using that with displaying an svg that only has a single path and fill color, but I wasn't sure how that might work with multiple paths. Is there a better way? Are there any examples for something like this?

Thanks!

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles