Force Directed Diagram

What's new in update 1.2.0:

  • Fix oscillation issues in the Force Directed Diagram where nodes would not stabilize at lower framerates or with certain physics parameters, by introducing velocity damping. ⚠️ For existing projects : please consider updating your scenes' Force Directed Diagram physics settings to avoid unwanted behaviours.
  • Add support for directional and bidirectional links, with example scene (DirectionalLinks)
  • Add nodes expansion example scene (NodesExpansion) : clicking on a node will pop neighbouring nodes and create appropriate links.

1.1.2:

  • Implement Force Directed Diagram gameobject transform : scale, rotation, position of all nodes and links.
  • Implement Force Directed Diagram physics update mode selection (Update or FixedUpdate).
  • Fix bug where nodes would reset to zero position when forces applied were close to zero.
  • Fix bug where tooltip panel was left open when no node was hovered in 2DDiagram scene.
  • Update package manifest for lower Unity version compatibility.

1.1.1 :

  • Fix jittering at low framerates
  • Add diagram loading at runtime with example scene
  • Improved code architecture with more extensibility and assembly definitions
  • Add random seed control to allow consistent nodes positioning and diagram display

1.1.0 :

  • WebGL compatibility + example scene
  • Selectable links + example scene
  • Keyboard and touch interactivity for 3D and 2D cameras
  • Improved overall code architecture
  • Fix MacOS compatibility issue
  • Fix minor issues

⚠️ Warning ⚠️ : the new update may contain breaking changes, please back up your project before updating from an older version.


---


This package provides components and tools to display link/node data in the form of a Force Directed graph drawing.


This type of layout is commonly used in a variety of application areas: network visualization, large graph visualization, knowledge representation, system management, or mesh visualization.


It is used to visualize the connections between objects in a network. By grouping the objects connected to each other in a natural way, a Force-Directed Graph is visually interesting and also makes it possible to discover subtle relationships between groups.


The current implemented features are :

  • Diagram loading at runtime
  • Drag and drop
  • Fixed nodes
  • Camera focus on specific node
  • Physics parameters real-time tweaking
  • Image nodes
  • Text nodes
  • Grouping nodes by data values
  • Full node and link customization with node and link factories
  • Diagram editor
  • Export/import as json
  • GPU computed diagram layout (over 5000 nodes and links at over 30 fps)
  • Full 2D support with pan and zoom
  • Business cases for trading data visualization, fault detection, isolation and recovery, and organization management
  • Directional and bidirectional links
  • Nodes expansion

See the demo video for a few examples of what can be achieved with this package.


Download the Force Directed Diagram Editor example for Windows.