Age | Commit message (Collapse) | Author |
|
|
|
|
|
Converting NSNumber to a string raises the possibility of outputing a
number like 2.2e-8, as it essentially uses the %g format specifier.
This then cannot be parsed.
Since there is no built-in specifier for outputing floats with variable
precision (ie: removing any trailing zeros), I cooked up a function to
do just that.
Currently set the maximum precision at 4dp (our normal grid layout only
makes use of 2dp).
|
|
Shape sizes can change (if you're actively editing a shape), which can
mean that some edge properties need to be recalculated.
We do this at the graph, rather than edge, level to avoid the overhead
of installing a notification for every single edge.
|
|
Edges almost always want to be anchored to the "center" of an unstyled
(style=none) node, as otherwise edges won't join up. However, this
anchor should be discarded if a style is then set on the node, otherwise
arrowheads tend to disappear.
|
|
These are just convenience wrappers for TikzGraphAssembler. As a
result, non of the GTK code uses TikzGraphAssembler directly.
|
|
This is a string that is supposed to be used in tikz, so make that
explicit.
|
|
|
|
|
|
We were naming properties starting with new, which is Cocoa's convention
for methods that return fresh objects.
Spotted due to a Clang warning.
|
|
|
|
|
|
It turns out that applying fast enumeration directly to an NSMapTable
does something weird, and it should be applied to one of the enumerator
objects instead.
|
|
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@423 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
|
|
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@420 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
|
|
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@414 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
|
|
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@404 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
|
|
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@387 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
|
|
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@386 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
|
|
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@385 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
|
|
re-ordering the z-index of nodes and edges
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@380 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
|
|
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@375 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
|
|
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@365 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
|