Skip to content

Port PlotlyGraph from deepforge. Closes #8#9

Merged
umesh-timalsina merged 1 commit intomasterfrom
8-plotly-viz
Aug 20, 2020
Merged

Port PlotlyGraph from deepforge. Closes #8#9
umesh-timalsina merged 1 commit intomasterfrom
8-plotly-viz

Conversation

@umesh-timalsina
Copy link
Copy Markdown
Collaborator

No description provided.

@umesh-timalsina umesh-timalsina merged commit b429f07 into master Aug 20, 2020
@umesh-timalsina umesh-timalsina deleted the 8-plotly-viz branch August 20, 2020 17:16
// Add/overwrite any additional settings here
// config.server.port = 8080;
// config.mongo.uri = 'mongodb://127.0.0.1:27017/webgme_my_app';
config.seedProjects.basePaths = ['src/seeds/project'];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is "project" included here?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I mean in the PR)

this._widget = options.widget;

this._embedded = options.embedded;
this._activeNodeMetaName = options.activeNodeMetaName || GRAPH;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if we could remove this since it tightly couples the visualizer to a metamodel (and this is already implied by setting this as the visualizer for the given node).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is, it should be safe to assume that this._currentNodeId corresponds to a graph node.

'use strict';

const GRAPH = 'Graph',
DATA = 'data';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would probably rename this to DEFAULT_DATA_ATTRIBUTE to match the terminology used (ie, plotlyDataAttribute).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants