[SOLVED] graph export gets trimmed

Screenshots, Vectorial Preview and printable exports
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
ajegga
Posts:21
Joined:26 Apr 2010 17:26
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[SOLVED] graph export gets trimmed

Post by ajegga » 28 Mar 2012 13:48

When I try to export a network, especially an extracted subnetwork or one with fewer nodes, as pdf or png, the images are trimmed off with nodes missing or cut-off (pdf and png images attached). I tried reducing the margins (even removing them completely) but that doesn't help either.
Attachments
Untitled.png
Untitled.pdf
(22.64KiB)Downloaded 425 times

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: graph export gets trimmed

Post by admin » 28 Mar 2012 15:18

Did you try increasing the margins? It should work for PDF output.

ajegga
Posts:21
Joined:26 Apr 2010 17:26
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: graph export gets trimmed

Post by ajegga » 28 Mar 2012 16:13

Thanks. That worked!

Anil

User avatar
mbastian
Gephi Architect
Posts:728
Joined:10 Dec 2009 10:11
Location:San Francisco, CA
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: [SOLVED] graph export gets trimmed

Post by mbastian » 29 Mar 2012 16:52

We should open an issue for that on GitHub. The expected behaviour is that it fits automatically, at least for the nodes.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable