grantshandy / fdg

A Force Directed Graph Drawing Library
https://grantshandy.github.io/fdg
MIT License
192 stars 16 forks source link

Allow for adding custom forces #6

Closed djahandarie closed 1 year ago

djahandarie commented 1 year ago

Right now it's hard to define a new Force outside of the crate due to the fields of Force being private. Could they be made public?

grantshandy commented 1 year ago

Sorry for not getting around to this sooner. Sure, I'll make those fields public and push a new minor release to fdg-sim tonight.

grantshandy commented 1 year ago

@djahandarie I've just published a new version 0.9.1 with public fields on Force. 👍🏽