Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
834cd2b4
Commit
834cd2b4
authored
Oct 30, 2015
by
Maxime Perrotin
Browse files
Render basic statecharts by default (no diamonds)
parent
39242a27
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/opengeode.py
View file @
834cd2b4
...
...
@@ -884,7 +884,7 @@ class SDL_Scene(QtGui.QGraphicsScene, object):
self
.
refresh
()
def
sdl_to_statechart
(
self
,
basic
=
Fals
e
):
def
sdl_to_statechart
(
self
,
basic
=
Tru
e
):
''' Create a graphviz representation of the SDL model '''
pr_raw
=
Pr
.
parse_scene
(
self
)
pr_data
=
unicode
(
'
\n
'
.
join
(
pr_raw
))
...
...
@@ -1949,13 +1949,10 @@ class OG_MainWindow(QtGui.QMainWindow, object):
self
.
scene
.
messages_window
=
messages
messages
.
itemClicked
.
connect
(
self
.
view
.
show_item
)
#statechart_dock = self.findChild(QtGui.QDockWidget, 'statechart_dock')
if
graphviz
:
self
.
statechart_view
=
self
.
findChild
(
SDL_View
,
'statechart_view'
)
self
.
statechart_scene
=
SDL_Scene
(
context
=
'statechart'
)
self
.
statechart_view
.
setScene
(
self
.
statechart_scene
)
#else:
# statechart_dock.hide()
# Set up the dock area to display the ASN.1 Data model
#asn1_dock = self.findChild(QtGui.QDockWidget, 'datatypes_dock')
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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