Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Marcelino Placeres on September 21, 2016, 05:10:59 am

Title: Text disappeared in the diagram
Post by: Marcelino Placeres on September 21, 2016, 05:10:59 am
Hi there,

I was aligning the diagram and all the text in the elements disappeared. The content is in the properties. Nothing but the visual appearance is gone. Also, all is visible when I attempt to print the diagram. We have Sparx version 12.1.

Can somebody help with this issue?


Any advise is greatly appreciated.

Thank you in advance,


Marcelino
Title: Re: Text disappeared in the diagram
Post by: qwerty on September 21, 2016, 09:52:03 am
Which elements? Which MDG? Which diagram? Which align operation on what?

q.
Title: Re: Text disappeared in the diagram
Post by: Marcelino Placeres on September 21, 2016, 10:11:54 pm
Hi qwerty, thank you for taking the time to help me.

As you can imagine, I'm a newbie using Sparx. I was working on a diagram created by another person. My task was to try to organize the Elements of the UML diagram ("boxes??") in a way that the connectors wouldn't cross over each other. I guess that accidentally press a combination of keys that hid the attributes in the tables.

Now, I have a diagram that doesn't show any text at all. The tables don't have visible attributes. However, when I print the page all the texts appear in the print preview. The content is there. Just, it is hidden in a normal view.

Any idea how to solve this?

Thank you in advance,

Marcelino



I tried to insert/ upload a couple of screenshots here but I couldn't figure out how to do it.
Title: Re: Text disappeared in the diagram
Post by: ja1234 on September 21, 2016, 10:23:49 pm
Right click on Diagram
Code: [Select]
-> Properties -> Elements and check
Code: [Select]
Attributes , Operations, Package Contents.
Title: Re: Text disappeared in the diagram
Post by: Marcelino Placeres on September 21, 2016, 10:42:56 pm
Attributes , Operations, Package Contents are all checked. Just in case, I unchecked and checked them again. Nothing changed.
Title: Re: Text disappeared in the diagram
Post by: PeterHeintz on September 21, 2016, 11:23:56 pm
You can also manipulate those things on element basis.

Select an element on your diagram then open the context menu, press Features & Properties/Feature and Compartment Visibility… or just press (Ctrl+Shift+Y).
Maybe this solves your problem.
Title: Re: Text disappeared in the diagram
Post by: Marcelino Placeres on September 21, 2016, 11:34:15 pm
Thank you Peter.

I tried it and didn't fix the issue. I opened another diagrams under the same Package and check all items related to visibility, attributes, etc. to compare with the "blind" diagram. I don't see anything different in the diagrams that show all the attributes. The same "boxes" are checked in all diagram.

Again, thank you very much.
Title: Re: Text disappeared in the diagram
Post by: qwerty on September 22, 2016, 12:28:49 am
Is it just with a single diagram? If so: try to create a copy of that:
- context of diagram in browser
- copy/copy diagram
- context of the package
- copy/paste diagram
- give it a different name
- choose shallow

q.
Title: Re: Text disappeared in the diagram
Post by: Marcelino Placeres on September 22, 2016, 02:14:20 am
It is a big Diagram linked to others diagrams and tables. That's an issue, big issue. We don't have baselines or Version control configured. Any further "mistake" can compromise the result of weeks of work. All the work is in the server. It's a dbms based repository.

This is what I did moments ago. I exported it as .XML file to my hard drive. I think I might be able to import the .xml and work to fix it outside of the server. Just working the file in a local repository environment.

IF I can fix it, I would import it back and merge it with the "screwed" file. What do you think? Any suggestion?

Title: Re: Text disappeared in the diagram
Post by: qwerty on September 22, 2016, 03:30:17 am
Without knowing details of the cause it's hard to tell. I'd try what I suggested above since it does not clobber anything. You could(/should) try things on a copy of your repost (make a project transfer to a local EAP). Once you figured out the cause or a way to fix it you can start a repair on production.

q.
Title: Re: Text disappeared in the diagram
Post by: Marcelino Placeres on September 23, 2016, 01:27:49 am
Problem solved!!

The diagram is to big. When I zoomed in too much the fonts "became" invisible. I zoomed out and problem solved!!

Thank to you all for your willingness to help!!
Title: Re: Text disappeared in the diagram
Post by: KP on September 23, 2016, 08:55:12 am
Problem solved!!

The diagram is to big. When I zoomed in too much the fonts "became" invisible. I zoomed out and problem solved!!

Thank to you all for your willingness to help!!
Just to be clear, which direction are you zooming? I can imagine text disappearing when you zoom out because the text becomes too small to display, but zooming in shouldn't be an issue.
Title: Re: Text disappeared in the diagram
Post by: PeterHeintz on September 23, 2016, 05:44:16 pm
Marcelino,
Do you feel comfortable not being able to restore after a disaster?

You should have some DB backups or e.g. copies of your DB by transferring to eap files, aren’t you?