function Process( data ) {
    if ( data === undefined )
        data = {};
    var process = {
        name: ko.observable( data[ "x" ] || "123name" ),
        lines: ko.observableArray( data[ "x" ] || [ new Line() ] )
    }
    return process;
}
// Processes have a name and an array of lines
Processes have a name and an array of lines
Processes have a name and an array of lines
function Process( data ) {
    if ( data === undefined )
        data = {};
    var process = {
        name: ko.observable( data[ "x" ] || "123name" ),
        lines: ko.observableArray( data[ "x" ] || [ new Line() ] )
    }
    return process;
}
function Process ( data ) { if ( data === undefined ) data = { } ; var process = { name : ko . observable ( data [ "x" ] || "123name" ) , lines : ko . observableArray ( data [ "x" ] || [ new Line ( ) ] ) } return process ; }
Processes have a name and an array of lines
Processes have a name and an array of lines