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