Click or drag to resize

D3ExtensionsSaveD3DendrogramFileTInstance Method

Namespace:  Aglomera.D3
Assembly:  Aglomera.D3 (in Aglomera.D3.dll) Version: 1.1.0
Syntax
C#
public static void SaveD3DendrogramFile<TInstance>(
	this ClusteringResult<TInstance> clustering,
	string filePath,
	bool printNames = true,
	Formatting formatting = Formatting.None
)
where TInstance : Object, IComparable<TInstance>
Request Example View Source

Parameters

clustering
Type: AglomeraClusteringResultTInstance
The clustering result to be saved to a dendrogram file.
filePath
Type: SystemString
The path to the file in which to save the clustering dendrogram.
printNames (Optional)
Type: SystemBoolean
Whether to include clusters' string representation in their nodes.
formatting (Optional)
Type: Formatting
The Json file formatting.

Type Parameters

TInstance
The type of instance considered.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ClusteringResultTInstance. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also