Questions tagged [graphdracula]

Dracula.js is a set of tools to display and layout interactive connected graphs and networks, along with various related algorithms from the field of graph theory.

Just plain JavaScript and SVG. The code is released under the MIT license, so commercial use is totally fine.

Reference https://www.graphdracula.net/

4 questions
3
votes
1 answer

How can I handle click event on a node in dracula graph library?

Given a simple node, I'd like to handle click event on a node. For example when you click on "cherry" on the page http://www.graphdracula.net/, an alert should popup. ps: need new tag "dracula" but I don't have enough reputation to create it...
pihentagy
  • 5,975
  • 9
  • 39
  • 58
3
votes
1 answer

What can I do about this error with Dracula Graph Library "SVG container not found."?

I am trying to make a simple web page with the Dracula Graph Libary, and I keep getting the error "SVG container not found." in the Chrome console. I am using code from the Dracula homepage (https://www.graphdracula.net/) Please let me know how I…
2
votes
1 answer

D3.js - Directed Acyclic Graph : how to rearrange the nodes and edges to avoid intersection of edges

I have to create the nodes and edges, having interconnections. I am using d3 js for the same. Now the problem is that the graphs look so much messy. I tried using quadratic bezier curves to draw the edges between the nodes. I want that If a press a…
1
vote
2 answers

How to use Dracula graph library in Angular?

I came across JS library which seems to be perfect for me https://www.graphdracula.net/ I installed needed libraries using npm - npm i raphael graphdracula. It created folders in node_modules and also updated package.json as expected Now when I try…
Joe Bauner
  • 31
  • 4