Skip to content

Instantly share code, notes, and snippets.

View anandrikka's full-sized avatar
🎯
Focusing

Anand Reddy Rikka anandrikka

🎯
Focusing
View GitHub Profile
import { Popup } from 'devextreme-react/popup';
import { SelectBox } from 'devextreme-react/select-box';
import ScrollView from 'devextreme-react/scroll-view';
import Button from 'devextreme-react/button';
import React from 'react';
function EditNodePopup({ visible, cancelUpdate, saveUpdate, nodeItem, regions,legalEntites, investments }) {
const [item, setItem] = React.useState(nodeItem)
export const nodeData = [
{
id: 1,
type: 'corporation_partnership',
region: 'us',
investment: 'inv1',
legalEntity: 'le1',
skip: false,
color: ''
},
import React from 'react';
import { v4 as uuid } from 'uuid';
// import ArrayStore from 'devextreme/data/array_store';
import EditNodePopup from './EditNodePopup';
import { nodeData, edgeData, legalEntites, investments, regions } from './data';
const DevExpress = window.DevExpress;
const entityShapes = [
{
type: "branch",
@anandrikka
anandrikka / capstone_project.ipynb
Created June 2, 2020 05:27
Capstone project summary
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anandrikka
anandrikka / index.html
Created March 17, 2017 14:50
React Hello World Example
<div id="app"></app>
@anandrikka
anandrikka / index.html
Last active March 7, 2017 11:43
React-Redux Project Example
<div id="app" />
@anandrikka
anandrikka / oauth_instagram.js
Last active October 8, 2016 15:31
OAuth Simple Steps for Authentication
var express = require('express');
var https= require('https');
var http= require('http');
var queryString = require('querystring');
var request = require('request');
var app = express();
var site = "https://api.instagram.com";
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style type="text/css">
.container{
width: 200px;
height: 200px;
margin:50px auto 0px;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style type="text/css">
.container{
width: 200px;
height: 200px;
margin:50px auto 0px;