Commit 6683cbc7 authored by Maxime Perrotin's avatar Maxime Perrotin

Improve neato backend for postprocessed iv

parent f4e25422
......@@ -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]
......
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment