Skip to content
monomonPublic

About

A semantic graph editing tool

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

54 Commits

Folders and files

Repository files navigation

semexp

A semantic graph editing tool

screenshot live demo

#Usage#

var explorer = Object.create(window.semexp);
explorer.init({
	width : 800,
	height : 600
});

explorer.load(data);

explorer.addNode('harp');
explorer.addLink('harp', 'isA', 'chordophone');

###AJAX example###

var explorer = Object.create(window.semexp)...
function getData(config)
{
	var xhr = new XMLHttpRequest();
	xhr.addEventListener('load', function (evt) {
		try {
			explorer.load(JSON.parse(evt.target.responseText));
		} catch (e) {
			console.log(e);
		}
	});

	xhr.open(
		config.method,
		config.url,
		true
	);
	
	xhr.send();
}

getData({
	method : 'GET',
	url : 'localhost'
});

#Dependencies#

  • semnet semantic network implementation
  • d3 visualization library

About

A semantic graph editing tool

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages