Need to address the current limitation of svg handling
[x] the app assumes that there will be a viewBox attribute.. This shouldn't be necessary. If the width and height are available, we can assume that the reference coordinate is 0,0 and use the width and height provided
[x] the style parsing should handle white space in the style property. You can do this by just getting rid of spaces.
[x] properly handle group level styling. The leaf element should inherit the style set at the group level and overwrite it with its own style attribute.
[x] Support ID (as well as Name) attribute for Anatomical name and ID. We should be able to support both <ID>,<Name> e.g. "EMAPA:1234,kidney" and <Name> (<ID>) e.g. "kidney (EMAPA:1234)'
Need to address the current limitation of svg handling
ID
(as well asName
) attribute for Anatomical name and ID. We should be able to support both<ID>,<Name>
e.g. "EMAPA:1234,kidney" and<Name> (<ID>)
e.g. "kidney (EMAPA:1234)'