Feature List
  • 8.x
    • Team Feature
      • Data-Prep Features
      • Pipeline Features
        • What's New Window Pop-up
        • Failure Db-Sync
        • Testing for Kafka 3.1.0
        • Python 3.10 R&D
        • Job History
        • SPC (Single Page for Configuration)
        • Python Jobs
        • Failure Alerts
        • Event Channel Alerts
        • Pipeline Error handling
        • Pipeline : PySpark Component (PySpark Job)
      • Dashboard Charting
        • Widget as component
        • Knowledge Graph Chart
          • Sample Library based code
        • Word Cloud
        • Tile component
        • Sankey Chart
        • Model as API Connector
        • Dataprep recipe in Dataset selection
        • Decomposition Enhancment
      • Python Upgrade
        • Core Platform : Data Services
        • Core Platform : Data Catalog
        • Core Platform : Data Center
        • Data Science Lab
      • Sonar Code Scan automation by DevOps
      • DS Lab PySpark Project.
      • Core Platform
        • Tag Feature For Data Connector , Dataset , DataStore etc..
        • DataStore & Metadatastore Migration
        • MongoDB & ClickHouse Support For DataSheet
        • Data As API WorkBench
        • Pagination in Home , DataCenter , Dataset , DataStore etc..
        • Sharing Data Connector & Data Set with View or Edit Permission.
        • Core Monitoring & Alerting
      • Data Science Lab
        • Auto Forecasting Requirements
          • User Input
          • Forecasting Method
          • Explainability
        • DSLAB Sprint May1-2023-May12-2023
        • DS LAB Sprint Apr10-Apr21
        • Provide Static Variables for DSLAB Component In AutoML
        • Scheduler For DSLAB Scripts
        • Optimisation of Model Explainability code
    • QA
    • DevOps
Powered by GitBook
On this page
  1. 8.x
  2. Team Feature
  3. Dashboard Charting
  4. Knowledge Graph Chart

Sample Library based code

// Some code
var nodes = new vis.DataSet([
    {id: 1, label: 'Entity 1', color: 'red'},
    {id: 2, label: 'Entity 2', color: 'blue'},
    {id: 3, label: 'Entity 3', color: 'green'}
]);

var edges = new vis.DataSet([
    {from: 1, to: 2, label: 'Attribute 1'},
    {from: 2, to: 3, label: 'Attribute 2'},
    {from: 3, to: 1, label: 'Attribute 3'}
]);

var container = document.getElementById('visualization');

var data = {
    nodes: nodes,
    edges: edges
};

var options = {
    nodes: {
        shape: 'dot',
        size: 20
    },
    edges: {
        font: {
            size: 10
        },
        arrowStrikethrough: false
    }
};

var network = new vis.Network(container, data, options);
PreviousKnowledge Graph ChartNextWord Cloud

Last updated 2 years ago