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

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