Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
buildsupport
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
buildsupport
Commits
6683cbc7
Commit
6683cbc7
authored
Sep 06, 2018
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve neato backend for postprocessed iv
parent
f4e25422
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
misc/iv_stg.py
misc/iv_stg.py
+6
-1
misc/test.sh
misc/test.sh
+8
-0
No files found.
misc/iv_stg.py
View file @
6683cbc7
...
...
@@ -3,6 +3,7 @@
from
collections
import
defaultdict
import
stringtemplate3
import
iv
import
sys
STG
=
None
...
...
@@ -19,7 +20,11 @@ initialize_stg()
tpl
=
new
(
"interface_view"
)
tpl
[
'arrsFunctNames'
]
=
iv
.
functions
.
keys
()
#tpl['arrsFunctNames'] = iv.functions.keys()
# allow user to filter out function names
# they will still appear, but as bubbles
tpl
[
'arrsFunctNames'
]
=
[
fName
for
fName
in
iv
.
functions
.
keys
()
if
fName
.
lower
()
not
in
sys
.
argv
[
1
:]]
connections
=
[]
# type: List[str]
...
...
misc/test.sh
0 → 100755
View file @
6683cbc7
#!/bin/bash
# template test case to transform post-processed IV to png
buildsupport
-test
-o
out
-glue
-gw
-i
InterfaceView.aadl
-c
DeploymentView.aadl
-d
DataView.aadl ./TASTE_IV_Properties.aadl ocarina_components.aadl TASTE_DV_Properties.aadl
cp
out/iv2.py ./iv.py
# parameters of iv_stg are filtered as nodes from the redered graph
./iv_stg.py x86_partition_taste_api
>
file.dot
neato file.dot
-Tpng
-o
iv.png
xdg-open iv.png
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment