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

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}
	}
}