A new way to create images
<!DOCTYPE graphml SYSTEM "doctype/graphml0.0.1.dtd">
<graphml>
<img w="400" h="400">
<paint color="rgb(0,0,0)" />
<rect x="10%" y="10%" w="80%" h="80%">
<fill color="rgb(50, 120, 255)"/>
<arc center="90%,90%" radius="60%"
begin="0" end="rad(360)">
<fill color="rgb(255,255,255)"/>
</arc>
</rect>
<export filename="image.png"/>
</img>
</graphml>
- install clang, gnu make, libxml2 and libcairo (doxygen is optional).
- (optional) create an alias or symbolic link to "libxml2/libxml" named "libxml" at the include directory ("usr/include/" on most linux distros, by using "ln -s libxml2/libxml libxml") in case of having libxml2 header file errors...
- compile by running make at the project's root folder.
The graphml binary wil be compiled and saved to the build/ folder.
cheat sheet (https://github.com/renemuala/graphml-cheat-sheet)