🌐 Nodes.bio Biological Network API

Enterprise-grade bio networks analysis platform with advanced layout algorithms for visualizing complex biological pathways.

API v0.2.1 - Production Ready

šŸš€ New: Advanced Layout Algorithms

Experience the power of professional graph layout algorithms including fcose, cola, dagre, and more. Optimize your biological network visualizations with industry-leading algorithms.

6
Layout Algorithms
5
Centrality Types
15+
API Endpoints
100ms
Avg Response Time

šŸŽØ Layout Algorithms

Professional graph layout algorithms for biological network visualization:

fcose

Force-Directed Compound Spring Embedder

Advanced force-directed layout optimized for compound graphs and large biological networks.

Complexity: O(n²) to O(n³)

Best for: Large networks, compound graphs, hierarchical structures

cola

Constraint-based Layout

Respects user-defined constraints for biological pathways and regulatory networks.

Complexity: O(n²)

Best for: Networks with constraints, biological pathways

dagre

Directed Graph Layout

Hierarchical layout for directed acyclic graphs and metabolic pathways.

Complexity: O(n log n)

Best for: Metabolic pathways, signaling cascades

concentric

Concentric Layout

Radial layout placing nodes in concentric circles based on centrality.

Complexity: O(n log n)

Best for: Centrality analysis, hub identification

šŸ”¬ Core Endpoints

GET
/api/v3/layout/algorithms
Get available layout algorithms with parameters and descriptions
POST
/api/v3/layout/apply
Apply a layout algorithm to a biological network graph
GET
/api/v3/layout/preview/{algorithm}
Preview how a layout algorithm positions nodes in a sample network
GET
/api/v3/network/centrality
Calculate centrality measures (degree, betweenness, closeness, eigenvector)
GET
/api/v3/graph
Retrieve all biological network graphs
POST
/api/v3/graph
Create a new biological network graph

šŸ’” Interactive Examples

Get Available Layout Algorithms

# Get all available layout algorithms
curl https://api.nodes.bio/api/v3/layout/algorithms
{ "algorithms": { "fcose": { "name": "Force-Directed Compound Spring Embedder", "description": "Advanced force-directed layout...", "parameters": ["nodeRepulsion", "idealEdgeLength", "gravity"], "best_for": ["Large biological networks", "Compound graphs"], "complexity": "O(n²) to O(n³)" } }, "total_count": 6 }

Apply fcose Layout

# Apply fcose layout with custom parameters
curl -X POST https://api.nodes.bio/api/v3/layout/apply \
-H "Content-Type: application/json" \
-d '{"algorithm": "fcose", "parameters": {"nodeRepulsion": 4500, "idealEdgeLength": 100}}'
{ "graph": { "nodes": [ {"id": "TP53", "label": "TP53", "x": 245.3, "y": 156.7}, {"id": "BRCA1", "label": "BRCA1", "x": 189.2, "y": 234.1} ], "edges": [...], "metadata": {"layout_algorithm": "fcose"} }, "layout_info": { "algorithm": "fcose", "execution_time_ms": 127, "iterations": 45 } }

Calculate Network Centrality

# Get top nodes by betweenness centrality
curl "https://api.nodes.bio/api/v3/network/centrality?centrality_type=betweenness&top_n=5"
{ "centrality_type": "betweenness", "top_nodes": [ {"id": "TP53", "label": "TP53", "betweenness": 0.85}, {"id": "BRCA1", "label": "BRCA1", "betweenness": 0.72}, {"id": "EGFR", "label": "EGFR", "betweenness": 0.68} ], "analysis_info": { "total_nodes_analyzed": 15, "calculation_method": "NetworkX betweenness centrality" } }

Preview Layout Algorithm

# Preview concentric layout with 20 nodes
curl "https://api.nodes.bio/api/v3/layout/preview/concentric?node_count=20"
{ "preview": { "nodes": [ {"id": "node_0", "label": "TP53", "x": 250, "y": 200}, {"id": "node_1", "label": "BRCA1", "x": 300, "y": 180} ], "algorithm": "concentric", "node_count": 20, "edge_count": 19 }, "visualization_url": "https://nodes.bio/network-visualization/?layout=concentric&preview=true" }

šŸ“Š Analytics & Search

GET
/api/v3/analytics/graph-stats
Comprehensive graph analytics and metrics
GET
/api/v3/search
Search nodes and edges in networks
GET
/api/v3/export/graph
Export graph data in multiple formats

šŸ”¬ Key Features

šŸŽØ Layout Algorithms

Professional graph layout algorithms including fcose, cola, dagre, concentric, breadthfirst, and grid layouts for optimal biological network visualization.

šŸ“Š Network Analytics

Advanced centrality analysis, community detection, and topological metrics for biological networks.

šŸ”¬ Graph Management

Create, read, update, and delete biological network graphs with full CRUD operations.

šŸ” Search & Export

Discover biological entities and export data in multiple formats for analysis and visualization.

šŸ” Authentication

Most endpoints require authentication. Use API keys or JWT tokens in the Authorization header.

šŸ“ž Support

For API support and documentation, contact: support@nodes.bio

🌐 Live Demo

Try our interactive network visualization with layout algorithms:

Try Live Demo →