vasturiano / 3d-force-graph

3D force-directed graph component using ThreeJS/WebGL
https://vasturiano.github.io/3d-force-graph/example/large-graph/
MIT License
4.49k stars 803 forks source link

Mixed mode #275

Open cmdares opened 4 years ago

cmdares commented 4 years ago

Can such a layout be supported through this software? mixin There are unidirectional, bidirectional and undirected connections on the same graph and many arrow styles : thick or thin, different colors, arrow styles (dotted line, solid line, etc.) Can you write a demo to show this requirement? thanks! regard.

vasturiano commented 4 years ago

@cmdares you can implement all of this custom link modes appropriate to your use case using the following three methods:

The specific implementation of the links is up to you and your use case.

The unidirectional arrow links are also simply achievable using the linkDirectionalArrow methods, like in this example: https://vasturiano.github.io/3d-force-graph/example/directional-links-arrows/

JonThom commented 4 years ago

@cmdares please close the issue if solved, thanks!