added includeOffline parameter to allow to retrieve offline nodes

added includeOffline parameter to allow to retrieve offline nodes (StructureNode)