All Projects → jgraph → svg2xml

jgraph / svg2xml

Licence: Apache-2.0 license
SVG to XML mxGraph stencil definition translation tool

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to svg2xml

Stencil Store
Store is a lightweight shared state library by the StencilJS core team. Implements a simple key/value map that efficiently re-renders components when necessary.
Stars: ✭ 107 (+127.66%)
Mutual labels:  stencil
capacitor-site
Capacitor website
Stars: ✭ 0 (-100%)
Mutual labels:  stencil
stencil-lerna
A starter kit for developing PWAs in a lerna monorepo including a web-component design-system in Typescript.
Stars: ✭ 47 (+0%)
Mutual labels:  stencil
Stencil Router
A simple router for Stencil apps and sites
Stars: ✭ 157 (+234.04%)
Mutual labels:  stencil
activiti-examples
Alfresco Process Services powered by Activiti Examples.
Stars: ✭ 58 (+23.4%)
Mutual labels:  stencil
web-photo-filter
A Web Component to apply Instagram-like WebGL filters to photos
Stars: ✭ 105 (+123.4%)
Mutual labels:  stencil
Stencil
A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
Stars: ✭ 9,880 (+20921.28%)
Mutual labels:  stencil
generator-stencil
Scaffolding tool 🔨 for Stencil js applications
Stars: ✭ 16 (-65.96%)
Mutual labels:  stencil
stencil-boilerplate
A Stencil app boilerplate including routing, Redux etc.
Stars: ✭ 51 (+8.51%)
Mutual labels:  stencil
stencil-helmet
Declaratively update the <head> from a Stencil app.
Stars: ✭ 22 (-53.19%)
Mutual labels:  stencil
Animatable Component
Animate once, use Everywhere! 💫
Stars: ✭ 188 (+300%)
Mutual labels:  stencil
block-photos
A photos app built with Ionic and Blockstack as backend.
Stars: ✭ 24 (-48.94%)
Mutual labels:  stencil
d3-stencil
Charts built with D3 and Stencil. Framework-agnostic, simple.
Stars: ✭ 65 (+38.3%)
Mutual labels:  stencil
Atoms
Atoms for Blaze UI
Stars: ✭ 1,505 (+3102.13%)
Mutual labels:  stencil
IonicMadrid
Charlas Ionic Madrid
Stars: ✭ 14 (-70.21%)
Mutual labels:  stencil
Ionic Framework
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
Stars: ✭ 45,802 (+97351.06%)
Mutual labels:  stencil
cncf-stencils
Graffles stencils for CNCF projects.
Stars: ✭ 74 (+57.45%)
Mutual labels:  stencil
visioStencils
My 2,700 visio 🎨 shapes, stencils, symbols, and icons collection to visually represent IT infrastructure
Stars: ✭ 43 (-8.51%)
Mutual labels:  stencil
xlayers-lite
🦋 xLayers' viewer as a Web Component 🦋
Stars: ✭ 22 (-53.19%)
Mutual labels:  stencil
open-earth-compiler
development repository for the open earth compiler
Stars: ✭ 50 (+6.38%)
Mutual labels:  stencil

svg2xml

SVG to XML mxGraph stencil definition translation tool. This was created for internal use, so there are lots of things unfinished.

To compile and run this, use ant or the commands below.

Compile

mkdir classes
javac -d classes -classpath lib/mxgraph-core.jar -sourcepath src src/com/mxgraph/svg2xml/Svg2XmlGui.java

Run

java -classpath lib/mxgraph-core.jar:classes com.mxgraph.svg2xml.Svg2XmlGui

Quick start quide

Run Svg2XmlGui. The left file system defines what files or folders you want to convert. The right one, defines the destination.

If you select one file, a single stencil XML file will be generated for just that one stencil.

If you select multiple files, a single stencil XML file will be generated for the selected stencils. So those stencils will be one library.

If you select a folder, all the files in the folder and all subfolders will be processed. Every folder will get one library created. So at the destination, all folders from the source path will be recreated and libraries will be named after folder names.

Options

NOTE: most of the options aren't implemented yet (as noted in the UI). Also some of the options are not thorougly tested.

Calculate border

If checked, stencil borders will be calculated based on content. If unchecked, the borders or viewpoint defined in the SVG will be used.

Use relative scaling

If other than 1.00, the resulting stencils will be bigger or smaller compared to the source.

Round coordinates

If you want to reduce the size, with some compromise to precision, use rounding. For stencils bigger than 100x100 rounding to 2 decimal points is usually a decent choice.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].