Igor a610223309 Improve student view há 5 anos atrás
..
README.md a610223309 Improve student view há 5 anos atrás
sigma.canvas.edgehovers.dashed.js a610223309 Improve student view há 5 anos atrás
sigma.canvas.edgehovers.dotted.js a610223309 Improve student view há 5 anos atrás
sigma.canvas.edgehovers.parallel.js a610223309 Improve student view há 5 anos atrás
sigma.canvas.edgehovers.tapered.js a610223309 Improve student view há 5 anos atrás
sigma.canvas.edges.dashed.js a610223309 Improve student view há 5 anos atrás
sigma.canvas.edges.dotted.js a610223309 Improve student view há 5 anos atrás
sigma.canvas.edges.parallel.js a610223309 Improve student view há 5 anos atrás
sigma.canvas.edges.tapered.js a610223309 Improve student view há 5 anos atrás

README.md

sigma.renderers.customEdgeShapes

Plugin developed by Sébastien Heymann for Linkurious.

Contact: seb@linkurio.us


General

This plugin registers custom edge shape renderers. See the following example code for full usage.

To use, include all .js files under this folder.

Shapes

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.