jnavila / graffle2svg Goto Github PK
View Code? Open in Web Editor NEWThis project forked from schuyler1d/graffle2svg
convert .graffle files to SVG and import into Inkscape
This project forked from schuyler1d/graffle2svg
convert .graffle files to SVG and import into Inkscape
Scaling of start and end markers of paths
when trying to use it, the console returns
graffle2svg ../diagrams/en/action-layout.graffle ../diagrams_svg/en/action-layout.graffle
Traceback (most recent call last):
File "/usr/local/bin/graffle2svg", line 4, in <module>
__import__('pkg_resources').run_script('graffle2svg==0.4.dev0', 'graffle2svg')
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 667, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1470, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python3.8/dist-packages/graffle2svg-0.4.dev0-py3.8.egg/EGG-INFO/scripts/graffle2svg", line 19, in <module>
File "<frozen zipimport>", line 259, in load_module
File "/usr/local/lib/python3.8/dist-packages/graffle2svg-0.4.dev0-py3.8.egg/graffle2svg/main.py", line 16, in <module>
ModuleNotFoundError: No module named 'rtf'
As of now, the generated svg renders badly in firefox.
Maybe switching from a big style attribute to some individualized attributes may do the trick.
As of now, font color management is not handled properly : font stroking and filling are not generated as matching the original graffle rendering
This will enable better handling of multiline text and hopefully better user of translation tools. Inkscape seems to be quite correctly the new element (SVG 1.2)
AdjustableArrow is not converted in SVG
graffle files are Apple standard's plist files. Better use a quick parser provided by plistlib.
This option of LineGraphic is used to create paths with orthogonal links, from only the two endpoints. The logic behind the path generation is not known yet.
Encountered while extracting graphic 60 from progit.graffle
This is well known limitation of SVG 1.1. The workaround is to programmatically generate markers with correct color to link with each parent path.
There is not sufficient information extracted from RTF to calculate correctly the position of text inside a rectangle
Don't know how to display Shape Bezier
Don't know how to display Shape FlattenedRectangle
Don't know how to display Shape Cloud
Don't know how to display Class "PolygonGraphic"
Don't know how to display Shape Diamond
Don't know how to display Shape Trapazoid
Don't know how to display Shape NoteShape
An original Graffle file may have to be exported into two svg. Selection is based on inclusion in a bounding box.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.