Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: string SvgEdgesPath(IEnumerable<Link<Vertex>>, Func<Vertex, PointD>, Func<double, string>)

Declaration

public static string SvgEdgesPath(
    IEnumerable<Link<Vertex>> edges,
    Func<Vertex, PointD> getVertexPoint = null,
    Func<double, string> r = null
)

Summary

Returns an SVG path string (usable in the d attribute of a <path> element) that draws all of the specified edges.

Parameters

IEnumerable<Link<Vertex>>edges A set of edges to render.
Func<Vertex, PointD>getVertexPoint An optional function that can customize the coordinates of each vertex.
Func<double, string>r Provides a means to turn floating-point values into strings. Structure<TCell>.Svg(SvgInstructions) uses this to respect the user’s SvgInstructions.Precision instruction.