Igor a610223309 Improve student view | 5 роки тому | |
---|---|---|
.. | ||
README.md | 5 роки тому | |
sigma.canvas.edgehovers.dashed.js | 5 роки тому | |
sigma.canvas.edgehovers.dotted.js | 5 роки тому | |
sigma.canvas.edgehovers.parallel.js | 5 роки тому | |
sigma.canvas.edgehovers.tapered.js | 5 роки тому | |
sigma.canvas.edges.dashed.js | 5 роки тому | |
sigma.canvas.edges.dotted.js | 5 роки тому | |
sigma.canvas.edges.parallel.js | 5 роки тому | |
sigma.canvas.edges.tapered.js | 5 роки тому |
Plugin developed by Sébastien Heymann for Linkurious.
Contact: seb@linkurio.us
This plugin registers custom edge shape renderers. See the following example code for full usage.
To use, include all .js files under this folder.
The plugin implements the following shapes:
dashed
dotted
parallel
: two solid parallel lines representing an edge aggregating multiple edges in the original graph.tapered
(see Danny Holten, Petra Isenberg, Jean-Daniel Fekete, and J. Van Wijk (2010) Performance Evaluation of Tapered, Curved, and Animated Directed-Edge Representations in Node-Link Graphs. Research Report, Sep 2010.)To assign a shape renderer to an edge, simply set edge.type='shape-name'
e.g. edge.type='dotted'
. The default renderer implemented by sigma.js is named def
(alias line
) - see also generic custom edge renderer example.