vasturiano/force-graph

Different layouts for different categorie of nodes

nicola-attico opened this issue · 1 comments

Hi,
is it possible to have different layouts for different category of nodes?
I have different types of nodes like:

  • HR or Customer service cases
  • Business services they are related to
    I want to show these two categories for different shapes. A circular layout for cases and a linear layout for services.

What I can think of is:

  • using different forces for the two categories
  • and/or using some kind of constraints for nodes (but I don't know if this can be implemented)

I'd appreciate your advice
thanks,
Nicola

@nicola-attico if your data is acyclic you can try playing with the different DAG layouts, using dagMode.