예제 #1
0
 public static function loadFile($file)
 {
     $graph = ExtendedFloGraph::loadFile($file);
     return ExtendedFloNetwork::create($graph);
 }
예제 #2
0
 /**
  * Make the graph 'live'
  * @param ExtendedFloGraph $graph
  * @return Network
  */
 public function createNetwork(ExtendedFloGraph $graph)
 {
     return ExtendedFloNetwork::create($graph);
 }