dracula-js-fork icon indicating copy to clipboard operation
dracula-js-fork copied to clipboard

Added ability to set styles for Edge Labels

Open wowstrongdrink opened this issue 14 years ago • 1 comments

Can now pass attributes for a label on an edge. Also, enabled style callbacks for edges.

Example: addEdge(n1, n2, { label: "label text", "label-style" : { "font-size": 10 } });

wowstrongdrink avatar Dec 06 '10 21:12 wowstrongdrink

I'll check out the pull in the next day or so.

grigoryk avatar Dec 07 '10 05:12 grigoryk