D3Extensions.ToD3GraphFile Method
From Comuna.NET
Comuna.NET - A community analysis, tracking and graphing library for social networks written in C#
![]() | D3ExtensionsToD3GraphFile Method |
Saves the network of the given CommunityAlgorithm to a d3.js graph file.
Namespace: Comuna.D3
Assembly: Comuna.D3 (in Comuna.D3.dll) Version: 1.0.0
C#
public static void ToD3GraphFile( this CommunityAlgorithm communityAlg, string filePath, Formatting formatting = Formatting.None )
Parameters
- communityAlg
- Type: ComunaCommunityAlgorithm
The network to be saved to a graph file. - filePath
- Type: SystemString
The path to the file in which to save the network graph. - formatting (Optional)
- Type: Formatting
The Json file formatting.
