« first day (4904 days earlier)      last day (50 days later) » 

1:32 PM
Hi pls can I have help with this question: stackoverflow.com/questions/78193254/… Thanks in advance
 
 
4 hours later…
5:31 PM
 
AAB
6:08 PM
Hi all,
any recommendation for a library that allow a resizable graph(nodes, edges) to be displayed
I see vis.js and d3 are recommendations any opther recommendations
 
 
2 hours later…
7:54 PM
@IsraelObanijesu i ran this code in a docker container and it worked for me
console.clear();
console.log('puppeteer test');


        var puppeteer               = require("puppeteer");

        var server    = require('http').createServer(onreq);
        server.listen(4000);

        async function onreq(req,res){console.log(req.url);

          const browser = await puppeteer.launch({
            args: ["--no-sandbox", "--disable-setuid-sandbox"],
          });

          const page = await browser.newPage();
          await page.setContent(html);

          const result = await page.pdf({
i had to follow the advice from this question/answer stackoverflow.com/a/71128432/10360966
to get puppeteer working
try disabling any file monitoring software in case that is messing with your error messages
 
8:44 PM
@AAB, this Cytoscape.js seems popular, Created at the University of Toronto and published in Oxford Bioinformatics (2016, 2023). if its good enough for them ...
<div id=cy></div>

<script type=module>


      import cytoscape from 'https://cdn.jsdelivr.net/npm/cytoscape/+esm';

      var cy = cytoscape({

            container   : document.getElementById('cy'),

            elements    : [
                  {data:{id:'a'}},
                  {data:{id:'b'}},
                  {data:{id:'c'}},

                  {data:{id:'ab',source:'a',target:'b'}},
                  {data:{id:'ac',source:'a',target:'c'}},
                  {data:{id:'bc',source:'b',target:'c'}},
 

« first day (4904 days earlier)      last day (50 days later) »