Skip to content

Commit 602111e

Browse files
StartAutomatingStartAutomating
authored andcommitted
feat: Turtle.LSystem produces data attributes ( Fixes #87 )
1 parent e12837a commit 602111e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Turtle.types.ps1xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,12 @@ $null = foreach ($character in $finalState.ToCharArray()) {
682682
}
683683
}
684684
}
685+
$this.PathAttribute = [Ordered]@{
686+
"data-l-order" = $N
687+
"data-l-axiom" = $Axiom
688+
"data-l-rules" = ConvertTo-Json $Rule
689+
"data-l-expanded" = $finalState
690+
}
685691
return $this
686692

687693
</Script>

0 commit comments

Comments
 (0)