mooigraph 925b16bbb3 added javascript dot and gml graph language parsers 3 anni fa
..
test 925b16bbb3 added javascript dot and gml graph language parsers 3 anni fa
.gitignore 925b16bbb3 added javascript dot and gml graph language parsers 3 anni fa
.npmignore 925b16bbb3 added javascript dot and gml graph language parsers 3 anni fa
LICENSE 925b16bbb3 added javascript dot and gml graph language parsers 3 anni fa
README.md 925b16bbb3 added javascript dot and gml graph language parsers 3 anni fa
index.js 925b16bbb3 added javascript dot and gml graph language parsers 3 anni fa
package.json 925b16bbb3 added javascript dot and gml graph language parsers 3 anni fa

README.md

GML

GML (Graph Modelling Language) parser and stringifier.

Stringify options (yEd)

graphAttributes

{
	hierarchic: {Boolean}
}

nodeAttributes

{
	graphics: {
		x: {Number},
		y: {Number},
		w: {Number},
		h: {Number},
		type: {String},
		fill: {String}, // #RRGGBB
		outline: {String} // #RRGGBB
	},

	LabelGraphics: {
		text: {String},
		color: {String}, // #RRGGBB
		fontSize: {Number},
		fontStyle: {String},
		fontName: {String},
		underlineText: {Boolean},
		visible: {Boolean}
	}
}

edgeAttributes

{
	graphics: {
		style: {String},
		fill: {String}, // #RRGGBB
		targetArrow: {string}
	},
	LabelGraphics: {
		text: {String},
		fontSize: {Number},
		fontName: {String}
	}
}