Skip to content

Commit

Permalink
style: use standard value for node separation to reduce graph height
Browse files Browse the repository at this point in the history
  • Loading branch information
xndlnk committed Dec 19, 2018
1 parent 6ad428d commit d2991fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/microservice-system-viewer/src/domain/systemToDot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface Options {
}

export class SystemToDotConverter {
constructor(private options?: Options) {}
constructor(private options?: Options) { }

convertSystemToDot(system: Node): string {
let dotNodes: string = this.convertNodesToDot(this.getNonSubSystemNodes(system), 1)
Expand All @@ -22,7 +22,7 @@ export class SystemToDotConverter {
// INFO: don't change indentation below. it is important!
let dotGraph: string = `strict digraph {
size="40"
ranksep=2;
ranksep=1;
newrank=true;
splines=polyline;
edge[dir=both, arrowhead="normal", arrowtail="dot"];
Expand Down

0 comments on commit d2991fb

Please sign in to comment.