patrickfuller / jgraph

An embeddable webGL graph visualization library.
http://patrickfuller.github.io/jgraph
MIT License
133 stars 31 forks source link

Edge properties #4

Closed patrickfuller closed 9 years ago

patrickfuller commented 9 years ago

From Uros Platise:

I have one Q related to properties: would it be somehow possible to change individually arrow widths between nodes, in my case to represent the 'channel bandwidth' and colors, to depict some other properties of the channel (as missed slots, effective rates, etc.)

platise commented 9 years ago

Thanks for quick implementation.

Only the arrowSize parameter seems to confuse the draw():

"edges": [ {"source": "chandler", "target": "ross", "color" : 0x2222ff, "size": 0.2}, {"source": "monica", "target": "ross", "arrowSize": 1}, ....

patrickfuller commented 9 years ago

9dea4e253355c4737c69352d50959252839af9c4 should fix the arrowSize.

platise commented 9 years ago

Super, it works now.

On 29/06/15 15:38, Patrick Fuller wrote:

9dea4e2 https://github.com/patrickfuller/igraph/commit/9dea4e253355c4737c69352d50959252839af9c4 should fix the |arrowSize|.

— Reply to this email directly or view it on GitHub https://github.com/patrickfuller/igraph/issues/4#issuecomment-116662687.Web Bug from https://github.com/notifications/beacon/AHnOzWEFCRgxrXLGxx4t2VGcacdasJAPks5oYUHrgaJpZM4FNojh.gif