javascript - graph.hasEdge function in dagre-d3/graphlib -



javascript - graph.hasEdge function in dagre-d3/graphlib -

has used graph.hasedge function in dagre-d3/graphlib see if border exists between 2 nodes. i'm talking api takes in 2 arguments 2 nodes , checks if border exists between two.

my problem me, function returns false. tried giving 2 nodes have border between two, , still gives me false.(note that, works when give 1 argument, border id had defined @ time of doing graph.addedge(edgeid, source, destination);

please see link api rerference

would reply question here, dagre-d3 working on previous version of graphlib - http://cpettitt.github.io/project/graphlib/latest/doc/index.html

so, moment, prepare check non-empty array outedges using 2-arg variant:http://cpettitt.github.io/project/graphlib/latest/doc/index.html#digraph-outedges

(quoted cpettitt : link issues page - https://github.com/cpettitt/dagre-d3/issues/91)

javascript d3.js dagre-d3

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -