// assumes that _fn_node is not NULL
 public FlNwNodeVisualization(FlowNwGraph _parent, FlNetNode _fn_node, NodePosInFlow _pos_in_flow)
     : base(_parent, FlNwElementVisualization.NODE_WIDTH_DEFAULT, FlNwElementVisualization.NODE_HEIGHT_DEFAULT,
            _fn_node.Position.X, _fn_node.Position.Y)
 {
     this.fn_node = _fn_node;
     this.fn_node.PropertyChanged += node_PropertyChanged;
     this.PosInFlow = _pos_in_flow;
 }
Beispiel #2
0
 // assumes that _fn_nw is not NULL
 public FlNwNetworkVisualization(FlowNwGraph _parent, FlowNetwork _fn_nw, NodePosInFlow _pos_in_flow)
     : base(_parent, _fn_nw, _pos_in_flow)
 {
     this.fn_nw = _fn_nw;
 }