Skip to content

Commit ea8576d

Browse files
committed
updated common library to support DSM export using vega
1 parent 77ccf01 commit ea8576d

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

PSGraph.Common/Interface/IDsmView.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ namespace PSGraph.DesignStructureMatrix
55
public interface IDsmView
66
{
77
public abstract SvgDocument ToSvg();
8+
public abstract string ToSvgString();
89
public abstract void ExportText(string Path);
10+
public abstract string ExportText();
11+
public abstract string ToVegaSpec(VegaExportTypes exportType, string modulePath);
912
public string ExportGraphViz();
1013
}
1114
}

PSGraph.Common/Model/DSMExportTypes.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
{
33
public enum DSMExportTypes
44
{
5-
SVG,
6-
TEXT
5+
//TODO: replaced with Vega as visual was really bad. perhaps need to rewrite it
6+
//SVG,
7+
TEXT,
8+
VEGA_JSON,
9+
VEGA_HTML
710
}
811
}

0 commit comments

Comments
 (0)