Comments (8)
Original comment by fmorbini
on 27 Jul 2010 at 2:53
- Changed state: Accepted
from scxmlgui.
committed a quick fix to eliminate the null pointer exception.
however the layout is not correct. opening the top-level will not display the
complete graph (the 3rd level is missing). Opening the second level instead
displays correctly also the third level.
Original comment by fmorbini
on 27 Jul 2010 at 3:05
from scxmlgui.
Note also that opening the top level does not present state B_AAAAAAAA_CCCC,
which is part of the 2nd level, and detailed in the 3rd level.
Original comment by [email protected]
on 28 Jul 2010 at 7:58
from scxmlgui.
the problem seems to be caused by level 3 redefining a node already defined in
level 2.
the problematic node is the top level node in level 3: B_AAAAAAAA_CCCC
Original comment by fmorbini
on 28 Jul 2010 at 7:01
from scxmlgui.
fixed in revision 61 by notifying the user when a child node is the same as its
parent.
Original comment by fmorbini
on 28 Jul 2010 at 7:16
- Changed state: Fixed
from scxmlgui.
Note that before this fix, level 2 was also redefining a node (the top level
node in level 2: "2nd_level"), but there was no problem displaying level 2
correctly in the editor.
The fix I targeted was expanding this behavior for deeper nesting levels.
However, the actual fix made things worse, as it does not allow using xinclude
in a convenient way.
Let me explain:
I am interested in the ability to separate child states to different files, and
still keep the ability to load each file separately in the editor. This means
that each nested level should be defined as a full state.
I tried moving the whole child state to a separate file, leaving only the
xi:include statement at the parent level. However, transitions in the child
file pointing to sibling states caused an error when trying to load the editor,
as the editor did not find these sibling states in the child file (they are
defined in the parent file).
So I kept in the parent file only a portion of the child state containing the
transitions to its siblings, and separated the rest of the child state to a
different child file. However, this created a child file which is not a
complete state, and cannot be loaded in the editor.
Then I found out that wrapping the contents of the child file with the child
state (or redefining it as you mentioned) worked with one nesting level, but
not with two levels.
I would appreciate any fix that will enable both loading the top file, and each
nested level.
Original comment by [email protected]
on 28 Jul 2010 at 7:53
from scxmlgui.
revision 62 should allows for what you are asking. Let me know if it still
doesn't.
Original comment by fmorbini
on 28 Jul 2010 at 8:14
from scxmlgui.
This fix is indeed what I was asking for. Thanks.
I noticed another exception happening when:
opening the top level, collapsing the cluster state, and selecting auto layout.
The layout is changed correctly, but a NullPointer exception is thrown (see
attached log).
Original comment by [email protected]
on 29 Jul 2010 at 5:56
Attachments:
from scxmlgui.
Related Issues (20)
- Disable grid snapping for transition event labels HOT 1
- Diagram-level color customization
- Visually differentiate conditional transitions
- Option for multiline transition events
- Keyboard nudge HOT 2
- Serialized location information subtly changing floating point value HOT 2
- History States marked as Initial don't visually indicate history type HOT 2
- Datamodel attribute to scxml root node HOT 2
- "target" transition attribute not being added HOT 3
- CDATA info is not saved HOT 1
- apostrophes showing as ' in an Executable content tab of an element editor window HOT 1
- Error while opening edge editor. when rename a source node ID HOT 4
- not graphically contained in its parent
- Building issue HOT 2
- Cannot find Symbol Type.OUTGOING_EDGE_ORDER
- Request to add version="1.0" HOT 1
- History support? HOT 1
- Outsourcing using xi:include is a one-way operation HOT 1
- Specify license of the code HOT 2
- Crashes on start HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scxmlgui.