-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #368 from NeoKaios/feat/cobol-cfg
Support for COBOL CFG display with `graphviz` and `d3`
- Loading branch information
Showing
45 changed files
with
2,753 additions
and
22 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!-- ----------------------------------------------------------------------- --> | ||
<!-- --> | ||
<!-- SuperBOL OSS Studio --> | ||
<!-- --> | ||
<!-- --> | ||
<!-- Copyright (c) 2024 OCamlPro SAS --> | ||
<!-- --> | ||
<!-- All rights reserved. --> | ||
<!-- This source code is licensed under the MIT license found in the --> | ||
<!-- LICENSE.md file in the root directory of this source tree. --> | ||
<!-- --> | ||
<!-- ----------------------------------------------------------------------- --> | ||
|
||
<!-- Base html file used to render arc cfg variant --> | ||
<!DOCTYPE html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<script src="https://d3js.org/d3.v7.min.js"></script> | ||
</head> | ||
<body> | ||
<h2 id="title">Title</h2> | ||
<div id="buttons"> | ||
<button onclick="toggleLegend()">Toggle Legend</button> | ||
</div> | ||
<div id="legend" class="hidden"></div> | ||
<div id="graph"></div> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* ----------------------------------------------------------------------- | ||
* | ||
* SuperBOL OSS Studio | ||
* | ||
* | ||
* Copyright (c) 2024 OCamlPro SAS | ||
* | ||
* All rights reserved. | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE.md file in the root directory of this source tree. | ||
* | ||
* ----------------------------------------------------------------------- | ||
*/ | ||
|
||
html, body { | ||
height: 100%; | ||
} | ||
text { | ||
font: 12px monospace; | ||
pointer-events: none; | ||
} | ||
svg { | ||
background-color: white; | ||
} | ||
path { | ||
animation: dash 1.5s linear infinite; | ||
animation-play-state: paused; | ||
} | ||
.animated { | ||
animation-play-state: running; | ||
} | ||
|
||
@keyframes dash { | ||
to { | ||
stroke-dashoffset: -51; // lcm of sum of dasharray values to avoid flicker | ||
} | ||
} | ||
.hidden { | ||
display: none !important; | ||
} | ||
#title { | ||
margin-block: .2em; | ||
} |
Oops, something went wrong.