class
EdgeConnectCmd
: public
Command
(Return to index)
command to connect an edge to one or two nodes.
Type:
Instantiable
Base Classes:
public
Command
Derived Classes
Include file:
GraphUnidraw/graphcmds.h
Public:
EdgeComp
*
Edge
()
EdgeConnectCmd
(
Editor
* =nil,
EdgeComp
* =nil,
NodeComp
* =nil,
NodeComp
* =nil)
virtual void
Execute
()
pass to edge component to interpret.
virtual ClassId
GetClassId
()
virtual boolean
IsA
(ClassId)
NodeComp
*
Node1
()
NodeComp
*
Node2
()
virtual boolean
Reversible
()
returns true.
virtual void
Unexecute
()
pass to edge component to uninterpret.
virtual
~EdgeConnectCmd
()
Protected:
EdgeComp
*
edge
NodeComp
*
node1
NodeComp
*
node2
(more documentation)