我在健康表现方面做了类似的工作。 我实际上对数据物体作了说明,并将其国家推向“SVG”号案,但机器应当大致上得到同样的纠正。
福利:
- Makes complex, dynamic diagrams insanely easy to render.
- Diagram maintenance is a breeze compared to everything else I ve ever used.
- Ability to target a web app either directly via SVG or an indirectly via server-rendered images delivered to the client.
陷阱:
- Data binding can be painful depending on how complex you want your visualization to be. If you want to annotate the SVG to pull data into itself, this will probably end up being the hard part.
- You ll need a good grasp of XPath to do anything even slightly tricky. It s never hard but is often tedious to debug XPath expressions.
Editors:
Inkscape. There s a few other vector graphics editors out there that can do SVG, either directly or as an export target, but none of the ones I ve seen come close to Inkscape. It doesn t support every feature in the current SVG spec but it sounds like it ll be enough for most if not all of what you want. It s also pretty good about not blasting hand-edits to SVG files for when you need to something it doesn t support.