-# $Id: editor.tcl,v 1.63 2007/05/07 08:43:19 ana Exp $
+# $Id: editor.tcl,v 1.64 2007/06/12 10:47:37 ana Exp $
#
# Copyright 2004, 2005 University of Zagreb, Croatia. All rights reserved.
#
set x [expr {[lindex $coords 0] * $zoom}]
set y [expr {[lindex $coords 1] * $zoom}]
if { [nodeType $node] != "pseudo" } {
- set label [.c create text $x $y -fill blue \
- -text "[getNodeName $node]" \
+ set labelstr1 [getNodeName $node];
+ set labelstr2 [getNodePartition $node];
+ set l [format "%s\n%s" $labelstr1 $labelstr2];
+ set label [.c create text $x $y -fill blue \
+ -text "$l" \
-tags "nodelabel $node"]
} else {
set pnode [getNodeName $node]
-# $Id: imunes.tcl,v 1.20 2007/05/07 08:43:20 ana Exp $
+# $Id: imunes.tcl,v 1.21 2007/06/12 10:47:37 ana Exp $
#
# Copyright 2004, 2005 University of Zagreb, Croatia. All rights reserved.
#
if {$execMode == "interactive"} {
source "$ROOTDIR/$LIBDIR/initgui.tcl"
source "$ROOTDIR/$LIBDIR/topogen.tcl"
+ source "$ROOTDIR/$LIBDIR/graph_partitioning.tcl"
+ source "$ROOTDIR/$LIBDIR/gpgui.tcl"
setOperMode edit
fileOpenStartUp
} else {