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

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