hugegraph-ml/src/hugegraph_ml/utils/dgl2hugegraph_utils.py [54:71]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    dataset_name,
    ip: str = "127.0.0.1",
    port: str = "8080",
    graph: str = "hugegraph",
    user: str = "",
    pwd: str = "",
    graphspace: Optional[str] = None,
):
    dataset_name = dataset_name.upper()
    if dataset_name == "CORA":
        dataset_dgl = CoraGraphDataset(verbose=False)
    elif dataset_name == "CITESEER":
        dataset_dgl = CiteseerGraphDataset(verbose=False)
    elif dataset_name == "PUBMED":
        dataset_dgl = PubmedGraphDataset(verbose=False)
    else:
        raise ValueError("dataset not supported")
    graph_dgl = dataset_dgl[0]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



hugegraph-ml/src/hugegraph_ml/utils/dgl2hugegraph_utils.py [425:442]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    dataset_name,
    ip: str = "127.0.0.1",
    port: str = "8080",
    graph: str = "hugegraph",
    user: str = "",
    pwd: str = "",
    graphspace: Optional[str] = None,
):
    dataset_name = dataset_name.upper()
    if dataset_name == "CORA":
        dataset_dgl = CoraGraphDataset(verbose=False)
    elif dataset_name == "CITESEER":
        dataset_dgl = CiteseerGraphDataset(verbose=False)
    elif dataset_name == "PUBMED":
        dataset_dgl = PubmedGraphDataset(verbose=False)
    else:
        raise ValueError("dataset not supported")
    graph_dgl = dataset_dgl[0]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



