mooigraph 925b16bbb3 added javascript dot and gml graph language parsers 3 yıl önce
..
test 925b16bbb3 added javascript dot and gml graph language parsers 3 yıl önce
.gitignore 925b16bbb3 added javascript dot and gml graph language parsers 3 yıl önce
.npmignore 925b16bbb3 added javascript dot and gml graph language parsers 3 yıl önce
LICENSE 925b16bbb3 added javascript dot and gml graph language parsers 3 yıl önce
README.md 925b16bbb3 added javascript dot and gml graph language parsers 3 yıl önce
index.js 925b16bbb3 added javascript dot and gml graph language parsers 3 yıl önce
package.json 925b16bbb3 added javascript dot and gml graph language parsers 3 yıl önce

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