Class SvgHtmlWrapper
Helpers to related to SVG and HTML.
Inheritance
System.Object
SvgHtmlWrapper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: QuikGraph.Graphviz
Assembly: QuikGraph.Graphviz.dll
Syntax
public static class SvgHtmlWrapper
Methods
| Improve this Doc View SourceDumpHtml(GraphvizSize, String)
Creates an HTML file containing the given svgFilePath
.
Declaration
public static string DumpHtml(GraphvizSize size, string svgFilePath)
Parameters
Type | Name | Description |
---|---|---|
GraphvizSize | size | Image size. |
System.String | svgFilePath | SVG file path. |
Returns
Type | Description |
---|---|
System.String | Dumped HTML file path. |
ParseSize(String)
Parses the size of an SVG.
Declaration
public static GraphvizSize ParseSize(string svg)
Parameters
Type | Name | Description |
---|---|---|
System.String | svg | SVG content. |
Returns
Type | Description |
---|---|
GraphvizSize | SVG size. |
WrapSvg(String)
Creates an HTML file that wraps the given svgFilePath
.
Declaration
public static string WrapSvg(string svgFilePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | svgFilePath | SVG file path. |
Returns
Type | Description |
---|---|
System.String | HTML file path. |