# Get the entire output instead of wrapping it?

Posted 5 months ago
639 Views
|
8 Replies
|
5 Total Likes
|
 Hello everybody! I am new to Mathematica and I have a question, which I guess should be rather simple. In the attached file there is a script, that allows to obtain faces out of the adjacency matrix. It seem to work good. However, if the output is large enough, the program wraps the answer (the very last line of the script) instead of giving the list of vertices of faces. What is the way to make it write the whole list instead of wrapping it? Thanx in advance, Anton Attachments:
8 Replies
Sort By:
Posted 5 months ago
 You can use Short with a very large size limit: Short[FindFace[g, GraphEmbedding[g]], Infinity] Beware that formatting a very large output can crash the Front End. Save your work before doing it.
Posted 5 months ago
 Thank you, Gianluca! It looks like what I was searching for. However, it didn't work for me... Maybe this is because I use the online version of Mathematica? I also tried to enlarge the output size limit in preferences, but I still get the iconized form of the output... Any other ideas? Thanks, Anton
Posted 5 months ago
 I am not familiar with the online version. Perhaps it has stricter size limits. In the desktop version the iconized output has buttons to expand it. Are they there online too?
Posted 5 months ago
 Gianluca, this is what I get in the output:If I click on the plus sign it shows the type of the graph, but I can not find a way to display all the elements... Did it show the elements in the desktop version?
Posted 5 months ago
 I had misunderstood your question. The problem is that you apply FindFace to g, which is not a planar graph. The output is simply your input, unevaluated, because you give no instruction on what to do with a non-planar graph.
Posted 5 months ago
 OMG, thanx! I did not realize that...