szydan / eeg Goto Github PK
View Code? Open in Web Editor NEWLibrary to create simple force directed graphs
Home Page: http://szydan.github.io/eeg/
License: MIT License
Library to create simple force directed graphs
Home Page: http://szydan.github.io/eeg/
License: MIT License
The method should destroy the hidden div
and empty the container passed via selector
Probably due to this one
https://bugzilla.mozilla.org/show_bug.cgi?id=612118
This does not work
var n1 = {id: "article", label: "article", nodeType: "article"};
minNodeSize: 30
nodeIcons: {
article: "newspaper.png"
}
While this does
var n1 = {id: "article", label: "article", nodeType: "article", size: 30};
minNodeSize: 30
nodeIcons: {
article: "newspaper.png"
}
Error: Invalid value for <path> attribute d="M NaN,NaNL NaN,NaN"
attrFunction @ d3.js:601
(anonymous function) @ d3.js:884
d3_selection_each @ d3.js:890
d3_selectionPrototype.each @ d3.js:883
d3_selectionPrototype.attr @ d3.js:583
(anonymous function) @ eeg.js:1549
event @ d3.js:437force.tick @ d3.js:6162
d3_timer_mark @ d3.js:2076
d3_timer_step @ d3.js:2056
The line in question is:
// depends on link.no property draw either straight line or curve
link.attr('d', function (d) {
...
})
instead of
var linkTextEl2 = document.getElementById("label-"+d.source.id + "-" + d.target.id+"-"+d.no);
use:
var linkTextEl = self.vis.select("#label-"+d.source.id + "-" + d.target.id+"-"+d.no)[0][0];
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.