colony
colony copied to clipboard
can't see edges
running standard setup, this is what I see of the network :
$ colony index.js -m && serve colony
seems like the connecting lines have a style which is opacity 0.3
not sure if there's a command i'm missing
love the package, great to use
Same problem. Also, the lines don't seem to have a stroke and therefore won't show. It should be easy to fix by someone familiar with the project.
This hack in the console helps a bit:
var links = document.getElementsByClassName('link'); for(var i = 0; i < links.length; i++) { var link = links[i]; link.setAttribute('stroke', 'white'); link.setAttribute('style', 'opacity: 1'); }
nice :) I just did something similar by editing the colony.js then copying that over the minified js that was being served.
On 11 January 2015 at 00:37, Sven Neumann [email protected] wrote:
Same problem. Also, the lines don't seem to have a stroke and therefore won't show. It should be easy to fix by someone familiar with the project.
This hack in the console helps a bit:
var links = document.getElementsByClassName('link'); for(var i = 0; i < links.length; i++) { var link = links[i]; link.setAttribute('stroke', 'white'); link.setAttribute('style', 'opacity: 1'); }
— Reply to this email directly or view it on GitHub https://github.com/hughsk/colony/issues/9#issuecomment-69452876.
Hi, had the same problem, my solution was adding the following style to 'node_modules/colony/public/css/colony.css' and rebuild the colony page of course :)
.link { stroke:white; }